@everymatrix/cashier-page 1.92.8 → 1.92.21
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-B-cM-nlR.js +5797 -0
- package/components/CashierCarousel-CXoovlrR.js +5835 -0
- package/components/CashierCarousel-DMrMmClP.cjs +23 -0
- package/components/{CashierError-C854_1dB.js → CashierError-66WHxjwV.js} +45 -44
- package/components/{CashierError-D638x9x-.js → CashierError-BCtelxyY.js} +46 -45
- package/components/CashierError-BL_rmfvV.cjs +1 -0
- package/components/CashierHeader-B7FnLv3f.js +397 -0
- package/components/CashierHeader-BbP0idUh.js +397 -0
- package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
- package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
- package/components/{CashierIframeRedirect-BUcU3T5U.js → CashierIframeRedirect-C3muwYdO.js} +106 -91
- package/components/{CashierIframeRedirect-BhmYmTKc.js → CashierIframeRedirect-Ti9O6xV-.js} +108 -93
- package/components/{CashierMethodDetails-iZTHVxaU.js → CashierMethodDetails-C7odWYEI.js} +3987 -3408
- package/components/CashierMethodDetails-DjLhLSey.cjs +85 -0
- package/components/{CashierMethodDetails-BOhUmKCH.js → CashierMethodDetails-JQOw_ppF.js} +4016 -3438
- package/components/{CashierMethodsList-B97v3Xuh.js → CashierMethodsList-C-7-CmRx.js} +65 -65
- package/components/CashierMethodsList-CNxb5rVf.cjs +1 -0
- package/components/{CashierMethodsList-eUczF6XC.js → CashierMethodsList-CZxMoF32.js} +56 -56
- package/components/{CashierModal-C4MoXHG7.js → CashierModal-B1pfSpCs.js} +36 -37
- package/components/{CashierModal-BUkNhHpl.js → CashierModal-BsrmgnKi.js} +32 -33
- package/components/CashierModal-DF8meLAZ.cjs +1 -0
- package/components/CashierNotifications-B8bRZMac.cjs +1 -0
- package/components/{CashierNotifications-BatwRhbq.js → CashierNotifications-BXxNDzMM.js} +3 -3
- package/components/{CashierNotifications-C0NjswTn.js → CashierNotifications-DbJuswYZ.js} +5 -5
- package/components/CashierPage-Bhgj76MY.js +4490 -0
- package/components/CashierPage-CIxAkXYb.js +4460 -0
- package/components/CashierPage-iIGUB5g4.cjs +1 -0
- package/components/CashierReceiptPage-B530KWIS.cjs +26 -0
- package/components/{CashierReceiptPage-CdqmVXe9.js → CashierReceiptPage-DGZSqJFO.js} +169 -156
- package/components/{CashierReceiptPage-2rVfG2fm.js → CashierReceiptPage-DjfCUH2F.js} +177 -164
- package/components/{CashierSessionExpirationModal-CK0YLZbU.js → CashierSessionExpirationModal-BKxhGCj9.js} +254 -267
- package/components/CashierSessionExpirationModal-C6owPr_u.cjs +2 -0
- package/components/{CashierSessionExpirationModal-0EbJrsdx.js → CashierSessionExpirationModal-CU8HtTwA.js} +267 -280
- package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
- package/components/{CashierSpinner-hEROg29-.js → CashierSpinner-DMrM0bGx.js} +10 -11
- package/components/{CashierSpinner-DGz_dycp.js → CashierSpinner-gJqeYU1n.js} +12 -13
- package/components/{CashierStepUp-CrJocLXp.js → CashierStepUp-B530YrSp.js} +168 -169
- package/components/{CashierStepUp-q7iSJelQ.js → CashierStepUp-BtmD9q4i.js} +245 -246
- package/components/CashierStepUp-DKytvkqu.cjs +1 -0
- package/components/{CashierTransactionHistory-sGV35WcB.js → CashierTransactionHistory-CWxjn4dO.js} +71 -71
- package/components/CashierTransactionHistory-CYaB1hEN.cjs +1 -0
- package/components/{CashierTransactionHistory-BrgrDNsw.js → CashierTransactionHistory-D1hopcmz.js} +66 -66
- package/components/{CashierVerifications-yC2Ur1H-.js → CashierVerifications-B3UcXWeI.js} +142 -158
- package/components/{CashierVerifications-DnM9z8za.js → CashierVerifications-CWsTc0hE.js} +102 -118
- package/components/CashierVerifications-D3X4oFbB.cjs +1 -0
- package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
- package/components/{TxnStatusIcon-BduMMfo6.js → TxnStatusIcon-DCSCOAn2.js} +1 -1
- package/components/{TxnStatusIcon-rwPr0B_L.js → TxnStatusIcon-DRFHs_0F.js} +8 -8
- package/components/{TxnTypeIcons-ByJ8NlBp.js → TxnTypeIcons-Bg7QJKuH.js} +1 -1
- package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
- package/components/{TxnTypeIcons-DQrCawdt.js → TxnTypeIcons-D37zQDwq.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +7 -7
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-CFDrfBto.cjs +0 -1
- package/components/CashierCarousel-JhSTmzvt.js +0 -672
- package/components/CashierCarousel-PsCjjLe2.js +0 -675
- package/components/CashierError-zeIQl4g_.cjs +0 -1
- package/components/CashierHeader-Bp8vaWrp.cjs +0 -1
- package/components/CashierHeader-D-mMGt-Y.js +0 -456
- package/components/CashierHeader-il09PBLP.js +0 -456
- package/components/CashierIframeRedirect-CMcw96Fv.cjs +0 -1
- package/components/CashierMethodDetails-DnbNzQW6.cjs +0 -85
- package/components/CashierMethodsList-B_9i2Q2s.cjs +0 -1
- package/components/CashierModal-Dq36GGc7.cjs +0 -1
- package/components/CashierNotifications-BB8FN1j_.cjs +0 -1
- package/components/CashierPage-Cc-WWhS2.cjs +0 -23
- package/components/CashierPage-DRWrUyaV.js +0 -9936
- package/components/CashierPage-HxKce2E6.js +0 -9989
- package/components/CashierReceiptPage-CF7knTfT.cjs +0 -26
- package/components/CashierSessionExpirationModal-Dht4fdo7.cjs +0 -2
- package/components/CashierSpinner-D78lroyw.cjs +0 -1
- package/components/CashierStepUp-Dr4sPwOr.cjs +0 -1
- package/components/CashierTransactionHistory-sQ3KzTVb.cjs +0 -1
- package/components/CashierVerifications-t7V-5Qq2.cjs +0 -1
- package/components/TxnStatusIcon-DwP4kCaz.cjs +0 -1
- package/components/TxnTypeIcons-DwmzII52.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Te, i as Le, $ as qe, S as
|
|
2
|
-
import {
|
|
1
|
+
import { a as Te, i as Le, $ as qe, S as Fe, b as Ee, s as Re, f as _, c as He, G as J, e as B, W as M, k as O, m as P, o as c, p as Q, q as Ie, N as Ue, y as je, A as U, Z as $, a4 as Ne, v as ae, l as v, x as le, X as j, n as q, w as ce, B as We, C as Xe, D as Ye, E as Ke, F as Ze } from "./CashierCarousel-B-cM-nlR.js";
|
|
2
|
+
import { d as ee, u as Ge, x as Je } from "./CashierMethodDetails-JQOw_ppF.js";
|
|
3
3
|
function ie(r, i) {
|
|
4
4
|
Te(r, i);
|
|
5
5
|
}
|
|
@@ -67,28 +67,12 @@ const te = {
|
|
|
67
67
|
"verification.shuftipro.validations-started": "Après avoir terminé la vérification, veuillez procéder à la transaction."
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
|
-
if (typeof window < "u") {
|
|
71
|
-
let r = function(i) {
|
|
72
|
-
return function(...t) {
|
|
73
|
-
try {
|
|
74
|
-
return i.apply(this, t);
|
|
75
|
-
} catch (o) {
|
|
76
|
-
if (o instanceof DOMException && o.message.includes("has already been used with this registry") || o.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
77
|
-
return !1;
|
|
78
|
-
throw o;
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
customElements.define = r(customElements.define), import("./CashierModal-BUkNhHpl.js").then(({ default: i }) => {
|
|
83
|
-
!customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
70
|
function $e(r) {
|
|
87
71
|
He(r, "svelte-xrv2v8", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
|
|
88
72
|
}
|
|
89
73
|
function re(r, i, t) {
|
|
90
|
-
const
|
|
91
|
-
return
|
|
74
|
+
const s = r.slice();
|
|
75
|
+
return s[56] = i[t], s;
|
|
92
76
|
}
|
|
93
77
|
function ei(r) {
|
|
94
78
|
let i, t = (
|
|
@@ -99,15 +83,15 @@ function ei(r) {
|
|
|
99
83
|
c() {
|
|
100
84
|
i = P("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
|
|
101
85
|
},
|
|
102
|
-
m(
|
|
103
|
-
|
|
86
|
+
m(s, n) {
|
|
87
|
+
O(s, i, n), t && t.m(i, null);
|
|
104
88
|
},
|
|
105
|
-
p(
|
|
89
|
+
p(s, n) {
|
|
106
90
|
/*displayMessages*/
|
|
107
|
-
|
|
91
|
+
s[3].length > 0 ? t ? t.p(s, n) : (t = oe(s), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
|
|
108
92
|
},
|
|
109
|
-
d(
|
|
110
|
-
|
|
93
|
+
d(s) {
|
|
94
|
+
s && B(i), t && t.d();
|
|
111
95
|
}
|
|
112
96
|
};
|
|
113
97
|
}
|
|
@@ -127,17 +111,17 @@ function ii(r) {
|
|
|
127
111
|
r[0]
|
|
128
112
|
);
|
|
129
113
|
},
|
|
130
|
-
m(t,
|
|
131
|
-
|
|
114
|
+
m(t, s) {
|
|
115
|
+
O(t, i, s);
|
|
132
116
|
},
|
|
133
|
-
p(t,
|
|
134
|
-
|
|
117
|
+
p(t, s) {
|
|
118
|
+
s[0] & /*clientstylingurl*/
|
|
135
119
|
2 && U(
|
|
136
120
|
i,
|
|
137
121
|
"clientstylingurl",
|
|
138
122
|
/*clientstylingurl*/
|
|
139
123
|
t[1]
|
|
140
|
-
),
|
|
124
|
+
), s[0] & /*clientstyling*/
|
|
141
125
|
1 && U(
|
|
142
126
|
i,
|
|
143
127
|
"clientstyling",
|
|
@@ -146,15 +130,15 @@ function ii(r) {
|
|
|
146
130
|
);
|
|
147
131
|
},
|
|
148
132
|
d(t) {
|
|
149
|
-
t &&
|
|
133
|
+
t && B(i);
|
|
150
134
|
}
|
|
151
135
|
};
|
|
152
136
|
}
|
|
153
137
|
function oe(r) {
|
|
154
|
-
let i, t,
|
|
138
|
+
let i, t, s, n, a, u, g, C = (
|
|
155
139
|
/*$_*/
|
|
156
140
|
r[8]("verificationsRequired") + ""
|
|
157
|
-
), w, V, S, x, p, A, b,
|
|
141
|
+
), w, V, S, x, p, A, b, F, z = $(
|
|
158
142
|
/*displayMessages*/
|
|
159
143
|
r[3]
|
|
160
144
|
), d = [];
|
|
@@ -166,10 +150,10 @@ function oe(r) {
|
|
|
166
150
|
);
|
|
167
151
|
return {
|
|
168
152
|
c() {
|
|
169
|
-
i = P("div"), t = j("svg"),
|
|
153
|
+
i = P("div"), t = j("svg"), s = j("path"), n = j("path"), a = j("path"), u = q(), g = P("p"), w = ce(C), V = q(), S = P("span"), S.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', x = q(), p = P("div");
|
|
170
154
|
for (let f = 0; f < d.length; f += 1)
|
|
171
155
|
d[f].c();
|
|
172
|
-
A = q(), h && h.c(), c(
|
|
156
|
+
A = q(), h && h.c(), c(s, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), c(s, "stroke", "#6E738F"), c(s, "stroke-width", "2"), c(s, "stroke-linecap", "round"), c(s, "stroke-linejoin", "round"), c(n, "d", "M12 8V12"), c(n, "stroke", "#6E738F"), c(n, "stroke-width", "2"), c(n, "stroke-linecap", "round"), c(n, "stroke-linejoin", "round"), c(a, "d", "M12 16H12.01"), c(a, "stroke", "#6E738F"), c(a, "stroke-width", "2"), c(a, "stroke-linecap", "round"), c(a, "stroke-linejoin", "round"), c(t, "width", "24"), c(t, "height", "24"), c(t, "viewBox", "0 0 24 24"), c(t, "fill", "none"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(S, "class", "CashierVerificationChevron"), M(
|
|
173
157
|
S,
|
|
174
158
|
"ShowVerifications",
|
|
175
159
|
/*allVerificationsVisible*/
|
|
@@ -182,10 +166,10 @@ function oe(r) {
|
|
|
182
166
|
);
|
|
183
167
|
},
|
|
184
168
|
m(f, k) {
|
|
185
|
-
|
|
169
|
+
O(f, i, k), v(i, t), v(t, s), v(t, n), v(t, a), v(i, u), v(i, g), v(g, w), v(i, V), v(i, S), O(f, x, k), O(f, p, k);
|
|
186
170
|
for (let m = 0; m < d.length; m += 1)
|
|
187
171
|
d[m] && d[m].m(p, null);
|
|
188
|
-
v(p, A), h && h.m(p, null), b || (
|
|
172
|
+
v(p, A), h && h.m(p, null), b || (F = le(
|
|
189
173
|
i,
|
|
190
174
|
"click",
|
|
191
175
|
/*toggleVerifications*/
|
|
@@ -203,7 +187,7 @@ function oe(r) {
|
|
|
203
187
|
f[4]
|
|
204
188
|
), k[0] & /*displayMessages*/
|
|
205
189
|
8) {
|
|
206
|
-
z =
|
|
190
|
+
z = $(
|
|
207
191
|
/*displayMessages*/
|
|
208
192
|
f[3]
|
|
209
193
|
);
|
|
@@ -226,21 +210,21 @@ function oe(r) {
|
|
|
226
210
|
);
|
|
227
211
|
},
|
|
228
212
|
d(f) {
|
|
229
|
-
f && (
|
|
213
|
+
f && (B(i), B(x), B(p)), Ne(d, f), h && h.d(), b = !1, F();
|
|
230
214
|
}
|
|
231
215
|
};
|
|
232
216
|
}
|
|
233
217
|
function se(r) {
|
|
234
|
-
let i, t,
|
|
218
|
+
let i, t, s, n, a = (
|
|
235
219
|
/*message*/
|
|
236
220
|
r[56] + ""
|
|
237
221
|
);
|
|
238
222
|
return {
|
|
239
223
|
c() {
|
|
240
|
-
i = P("div"), t = P("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',
|
|
224
|
+
i = P("div"), t = P("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', s = q(), n = P("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
|
|
241
225
|
},
|
|
242
226
|
m(u, g) {
|
|
243
|
-
|
|
227
|
+
O(u, i, g), v(i, t), v(i, s), v(i, n), n.innerHTML = a;
|
|
244
228
|
},
|
|
245
229
|
p(u, g) {
|
|
246
230
|
g[0] & /*displayMessages*/
|
|
@@ -248,18 +232,18 @@ function se(r) {
|
|
|
248
232
|
u[56] + "") && (n.innerHTML = a);
|
|
249
233
|
},
|
|
250
234
|
d(u) {
|
|
251
|
-
u &&
|
|
235
|
+
u && B(i);
|
|
252
236
|
}
|
|
253
237
|
};
|
|
254
238
|
}
|
|
255
239
|
function ne(r) {
|
|
256
|
-
let i, t,
|
|
240
|
+
let i, t, s, n, a = (
|
|
257
241
|
/*$_*/
|
|
258
242
|
r[8]("verification.video.how-to") + ""
|
|
259
243
|
), u, g, C;
|
|
260
244
|
return {
|
|
261
245
|
c() {
|
|
262
|
-
i = P("div"), t = P("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',
|
|
246
|
+
i = P("div"), t = P("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', s = q(), n = P("div"), u = ce(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), M(
|
|
263
247
|
n,
|
|
264
248
|
"CashierVerificationVideoLinkDesktop",
|
|
265
249
|
/*desktopView*/
|
|
@@ -267,7 +251,7 @@ function ne(r) {
|
|
|
267
251
|
), c(i, "class", "CashierVerificationVideo Test");
|
|
268
252
|
},
|
|
269
253
|
m(w, V) {
|
|
270
|
-
|
|
254
|
+
O(w, i, V), v(i, t), v(i, s), v(i, n), v(n, u), g || (C = le(
|
|
271
255
|
i,
|
|
272
256
|
"click",
|
|
273
257
|
/*showVideo*/
|
|
@@ -286,7 +270,7 @@ function ne(r) {
|
|
|
286
270
|
);
|
|
287
271
|
},
|
|
288
272
|
d(w) {
|
|
289
|
-
w &&
|
|
273
|
+
w && B(i), g = !1, C();
|
|
290
274
|
}
|
|
291
275
|
};
|
|
292
276
|
}
|
|
@@ -304,7 +288,7 @@ function ti(r) {
|
|
|
304
288
|
)
|
|
305
289
|
return ei;
|
|
306
290
|
}
|
|
307
|
-
let
|
|
291
|
+
let s = t(r), n = s && s(r);
|
|
308
292
|
return {
|
|
309
293
|
c() {
|
|
310
294
|
i = P("div"), n && n.c(), c(i, "class", "CashierVerifications"), M(
|
|
@@ -315,10 +299,10 @@ function ti(r) {
|
|
|
315
299
|
);
|
|
316
300
|
},
|
|
317
301
|
m(a, u) {
|
|
318
|
-
|
|
302
|
+
O(a, i, u), n && n.m(i, null), r[20](i);
|
|
319
303
|
},
|
|
320
304
|
p(a, u) {
|
|
321
|
-
|
|
305
|
+
s === (s = t(a)) && n ? n.p(a, u) : (n && n.d(1), n = s && s(a), n && (n.c(), n.m(i, null))), u[0] & /*desktopView*/
|
|
322
306
|
32 && M(
|
|
323
307
|
i,
|
|
324
308
|
"CashierVerificationsDesktop",
|
|
@@ -326,26 +310,26 @@ function ti(r) {
|
|
|
326
310
|
a[5]
|
|
327
311
|
);
|
|
328
312
|
},
|
|
329
|
-
i:
|
|
330
|
-
o:
|
|
313
|
+
i: J,
|
|
314
|
+
o: J,
|
|
331
315
|
d(a) {
|
|
332
|
-
a &&
|
|
316
|
+
a && B(i), n && n.d(), r[20](null);
|
|
333
317
|
}
|
|
334
318
|
};
|
|
335
319
|
}
|
|
336
320
|
const ri = "verification_explanation_video_widgets.MP4";
|
|
337
321
|
function oi(r, i, t) {
|
|
338
|
-
let
|
|
339
|
-
Q(r,
|
|
340
|
-
let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: C = "" } = i, { clientstylingurl: w = "" } = i, { session: V = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: p = "" } = i, { mbsource: A = "" } = i, b,
|
|
341
|
-
var
|
|
322
|
+
let s, n;
|
|
323
|
+
Q(r, Ze, (e) => t(8, s = e)), Q(r, Je, (e) => t(29, n = e)), ee.extend(Ge);
|
|
324
|
+
let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: C = "" } = i, { clientstylingurl: w = "" } = i, { session: V = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: p = "" } = i, { mbsource: A = "" } = i, b, F = /* @__PURE__ */ new Set(), z = /* @__PURE__ */ new Set(), d, h, f, k = !1, m = !0, L = !1, N = "", W = !1, fe, H = [], ue = window.navigator.userAgent;
|
|
325
|
+
var E;
|
|
342
326
|
(function(e) {
|
|
343
327
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
344
|
-
})(
|
|
345
|
-
var
|
|
328
|
+
})(E || (E = {}));
|
|
329
|
+
var X;
|
|
346
330
|
(function(e) {
|
|
347
331
|
e.Requested = "Requested";
|
|
348
|
-
})(
|
|
332
|
+
})(X || (X = {}));
|
|
349
333
|
var y;
|
|
350
334
|
(function(e) {
|
|
351
335
|
e.Unknown = "Unknown", e.Unverified = "Unverified", e.InProgress = "InProgress", e.Failed = "Failed", e.Verified = "Verified", e.Referred = "Referred", e.True = "True", e.False = "False", e.AwaitingForResponse = "AwaitingForResponse";
|
|
@@ -357,7 +341,7 @@ function oi(r, i, t) {
|
|
|
357
341
|
const K = (e) => {
|
|
358
342
|
e.data && e.data.type;
|
|
359
343
|
};
|
|
360
|
-
|
|
344
|
+
Ie(() => (window.addEventListener("message", K), Ae(), () => {
|
|
361
345
|
window.removeEventListener("message", K);
|
|
362
346
|
}));
|
|
363
347
|
const de = [
|
|
@@ -367,12 +351,12 @@ function oi(r, i, t) {
|
|
|
367
351
|
], me = () => {
|
|
368
352
|
let e = g;
|
|
369
353
|
if (e)
|
|
370
|
-
return fetch(e).then((
|
|
371
|
-
Object.keys(
|
|
372
|
-
ie(l,
|
|
354
|
+
return fetch(e).then((o) => o.json()).then((o) => {
|
|
355
|
+
Object.keys(o).forEach((l) => {
|
|
356
|
+
ie(l, o[l]);
|
|
373
357
|
});
|
|
374
|
-
}).catch((
|
|
375
|
-
console.log(
|
|
358
|
+
}).catch((o) => {
|
|
359
|
+
console.log(o);
|
|
376
360
|
});
|
|
377
361
|
};
|
|
378
362
|
Object.keys(te).forEach((e) => {
|
|
@@ -380,28 +364,28 @@ function oi(r, i, t) {
|
|
|
380
364
|
});
|
|
381
365
|
const he = () => {
|
|
382
366
|
Qe(u);
|
|
383
|
-
},
|
|
367
|
+
}, Z = () => {
|
|
384
368
|
t(19, h = ge());
|
|
385
|
-
const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`),
|
|
386
|
-
|
|
369
|
+
const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), o = new Headers();
|
|
370
|
+
o.append("accept", "application/json"), o.append("Content-Type", "application/json"), o.append("x-sessionid", `${x}`), o.append("X-Client-Request-Timestamp", ee.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(H) && H.length > 0 && H.indexOf("MM_CHANNEL_BETA") != -1 && o.append("MM_CHANNEL", "BETA");
|
|
387
371
|
const l = {
|
|
388
372
|
method: "POST",
|
|
389
|
-
headers:
|
|
373
|
+
headers: o,
|
|
390
374
|
body: JSON.stringify({})
|
|
391
375
|
};
|
|
392
376
|
t(7, W = !0), fetch(e, l).then((D) => D.json()).then((D) => {
|
|
393
|
-
const
|
|
394
|
-
d = we(
|
|
395
|
-
I.VerificationUrlType !== "Widget" &&
|
|
377
|
+
const Y = pe(D?.Verifications);
|
|
378
|
+
d = we(Y), d.VerificationStatuses.forEach((I) => {
|
|
379
|
+
I.VerificationUrlType !== "Widget" && F.add(I.Vendor);
|
|
396
380
|
}), t(3, f = Pe());
|
|
397
381
|
}).finally(() => t(7, W = !1));
|
|
398
|
-
}, pe = (e) => e ? e.sort((
|
|
399
|
-
n &&
|
|
382
|
+
}, pe = (e) => e ? e.sort((o, l) => new Date(l.Created).getTime() - new Date(o.Created).getTime()) : [], ve = () => {
|
|
383
|
+
n && Z();
|
|
400
384
|
}, ge = () => {
|
|
401
385
|
let e = (V || n).split(".")[1];
|
|
402
386
|
if (e) {
|
|
403
|
-
let
|
|
404
|
-
return
|
|
387
|
+
let o = JSON.parse(atob(e));
|
|
388
|
+
return o.cdn + "/cashier/operator-assets/" + o?.mid;
|
|
405
389
|
}
|
|
406
390
|
return "";
|
|
407
391
|
}, we = (e) => {
|
|
@@ -410,68 +394,68 @@ function oi(r, i, t) {
|
|
|
410
394
|
VerificationSummaryStatus: y.Unverified,
|
|
411
395
|
VerificationStatuses: []
|
|
412
396
|
};
|
|
413
|
-
const
|
|
414
|
-
if (
|
|
415
|
-
const l = ke(
|
|
397
|
+
const o = ye(e);
|
|
398
|
+
if (o && o.length) {
|
|
399
|
+
const l = ke(o);
|
|
416
400
|
return {
|
|
417
401
|
VerificationSummaryStatus: l.Status,
|
|
418
402
|
VerificationUrl: l.Flags?.DeferredUrlKey,
|
|
419
|
-
VerificationStatuses:
|
|
403
|
+
VerificationStatuses: G(o, l.Status)
|
|
420
404
|
};
|
|
421
405
|
} else
|
|
422
406
|
return {
|
|
423
407
|
VerificationSummaryStatus: e.some((D) => D.Status === y.Failed) ? y.Failed : y.Verified,
|
|
424
|
-
VerificationStatuses:
|
|
408
|
+
VerificationStatuses: G(e, [y.Failed])
|
|
425
409
|
};
|
|
426
410
|
}, ke = (e) => e.reduce(
|
|
427
|
-
(
|
|
411
|
+
(o, l) => o ? new Date(o) < new Date(l) ? l : o : l,
|
|
428
412
|
0
|
|
429
|
-
),
|
|
413
|
+
), G = (e, o) => e.filter((l) => o.includes(l.Status)).map((l) => ({
|
|
430
414
|
Type: l.Type,
|
|
431
415
|
Vendor: l.VendorName,
|
|
432
416
|
VerificationDocuments: l.Documents ? [...l.Documents] : [],
|
|
433
417
|
VerificationUrlType: l.FlowInfo?.Type,
|
|
434
418
|
VerificationUrl: l.FlowInfo?.Url
|
|
435
|
-
})), ye = (e) => e.filter((
|
|
436
|
-
const
|
|
437
|
-
return
|
|
438
|
-
}, be = (e) => e.VendorName ===
|
|
419
|
+
})), ye = (e) => e.filter((o) => de.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || Ve(o) || be(o) : !1), Ve = (e) => {
|
|
420
|
+
const o = e.Documents && e.VendorName === E.Manual, l = e.Documents && e.Documents.some((D) => D.Status === X.Requested);
|
|
421
|
+
return o && l;
|
|
422
|
+
}, be = (e) => e.VendorName === E.ShuftiPro && e.Status === y.Referred, Pe = () => {
|
|
439
423
|
switch (d.VerificationSummaryStatus) {
|
|
440
424
|
case y.InProgress:
|
|
441
425
|
const e = [];
|
|
442
|
-
return
|
|
443
|
-
e.push(Ce(
|
|
426
|
+
return F.forEach((o) => {
|
|
427
|
+
e.push(Ce(o));
|
|
444
428
|
}), e;
|
|
445
429
|
case y.Referred:
|
|
446
|
-
return [
|
|
430
|
+
return [s("verification.idenfy.referred-awaiting")];
|
|
447
431
|
case y.Failed:
|
|
448
|
-
return [
|
|
432
|
+
return [s("verification.message.failed")];
|
|
449
433
|
}
|
|
450
434
|
}, Ce = (e) => {
|
|
451
|
-
const
|
|
452
|
-
if (e ===
|
|
453
|
-
return De(
|
|
435
|
+
const o = d.VerificationStatuses.filter((l) => l.Vendor === e);
|
|
436
|
+
if (e === E.ShuftiPro)
|
|
437
|
+
return De(o);
|
|
454
438
|
{
|
|
455
|
-
const l =
|
|
456
|
-
link: `<a href="${
|
|
439
|
+
const l = s("verification.idenfy.link-name"), D = {
|
|
440
|
+
link: `<a href="${o[0].VerificationUrl}" target="_blank">${l}</a>`
|
|
457
441
|
};
|
|
458
|
-
return
|
|
442
|
+
return s("verification.idenfy.in-progress", { values: D });
|
|
459
443
|
}
|
|
460
444
|
}, De = (e) => {
|
|
461
|
-
const
|
|
445
|
+
const o = [], l = {}, D = [
|
|
462
446
|
R.Biometric,
|
|
463
447
|
R.Documents,
|
|
464
448
|
R.ProofOfAddress
|
|
465
449
|
];
|
|
466
450
|
e.forEach((T) => {
|
|
467
|
-
D.includes(T.Type) && (
|
|
451
|
+
D.includes(T.Type) && (o.push(T.Type), l[T.Type] = Se(T, _e(T.Type)));
|
|
468
452
|
});
|
|
469
|
-
let
|
|
470
|
-
return
|
|
471
|
-
}, Se = (e,
|
|
453
|
+
let Y = o.every((T) => z.has(T)), I = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
|
|
454
|
+
return Y ? s("verification.shuftipro.validations-started") : s(I, { values: l });
|
|
455
|
+
}, Se = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, _e = (e) => s(`verification.shuftipro.link-name.${e}`), xe = () => {
|
|
472
456
|
t(4, k = !k);
|
|
473
457
|
}, Ae = () => {
|
|
474
|
-
t(5, m = !
|
|
458
|
+
t(5, m = !Ue(ue));
|
|
475
459
|
}, ze = () => {
|
|
476
460
|
N = h + "/" + u + "/" + ri;
|
|
477
461
|
try {
|
|
@@ -483,7 +467,7 @@ function oi(r, i, t) {
|
|
|
483
467
|
}
|
|
484
468
|
}, Me = () => {
|
|
485
469
|
p.length > 0 && (H = p.split(","));
|
|
486
|
-
},
|
|
470
|
+
}, Be = () => {
|
|
487
471
|
window.dispatchEvent(new CustomEvent(
|
|
488
472
|
"modal-update",
|
|
489
473
|
{
|
|
@@ -491,8 +475,8 @@ function oi(r, i, t) {
|
|
|
491
475
|
}
|
|
492
476
|
));
|
|
493
477
|
};
|
|
494
|
-
function
|
|
495
|
-
|
|
478
|
+
function Oe(e) {
|
|
479
|
+
je[e ? "unshift" : "push"](() => {
|
|
496
480
|
b = e, t(2, b);
|
|
497
481
|
});
|
|
498
482
|
}
|
|
@@ -502,13 +486,13 @@ function oi(r, i, t) {
|
|
|
502
486
|
r.$$.dirty[0] & /*userroles*/
|
|
503
487
|
131072 && p && Me(), r.$$.dirty[0] & /*lang*/
|
|
504
488
|
4096 && u && he(), r.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
505
|
-
83968 && a && V && x &&
|
|
489
|
+
83968 && a && V && x && Z(), r.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
506
490
|
83968 && a && !V && x && ve(), r.$$.dirty[0] & /*translationurl*/
|
|
507
491
|
8192 && g && me(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
508
|
-
5 && C && b &&
|
|
509
|
-
6 && w && b &&
|
|
492
|
+
5 && C && b && We(b, C), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
493
|
+
6 && w && b && Xe(b, w), r.$$.dirty[0] & /*staticCdnUrl*/
|
|
510
494
|
524288 && h && ze(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
511
|
-
262148 && A && b &&
|
|
495
|
+
262148 && A && b && Ye(b, `${A}.Style`, fe);
|
|
512
496
|
}, [
|
|
513
497
|
C,
|
|
514
498
|
w,
|
|
@@ -518,9 +502,9 @@ function oi(r, i, t) {
|
|
|
518
502
|
m,
|
|
519
503
|
L,
|
|
520
504
|
W,
|
|
521
|
-
|
|
505
|
+
s,
|
|
522
506
|
xe,
|
|
523
|
-
|
|
507
|
+
Be,
|
|
524
508
|
a,
|
|
525
509
|
u,
|
|
526
510
|
g,
|
|
@@ -530,12 +514,12 @@ function oi(r, i, t) {
|
|
|
530
514
|
p,
|
|
531
515
|
A,
|
|
532
516
|
h,
|
|
533
|
-
|
|
517
|
+
Oe
|
|
534
518
|
];
|
|
535
519
|
}
|
|
536
|
-
class si extends
|
|
520
|
+
class si extends Fe {
|
|
537
521
|
constructor(i) {
|
|
538
|
-
super(),
|
|
522
|
+
super(), Ee(
|
|
539
523
|
this,
|
|
540
524
|
i,
|
|
541
525
|
oi,
|
|
@@ -618,7 +602,7 @@ class si extends Ee {
|
|
|
618
602
|
this.$$set({ mbsource: i }), _();
|
|
619
603
|
}
|
|
620
604
|
}
|
|
621
|
-
|
|
605
|
+
Ke(si, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
|
|
622
606
|
export {
|
|
623
607
|
si as default
|
|
624
608
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DMrMmClP.cjs"),q=require("./CashierMethodDetails-DjLhLSey.cjs");function j(n,t){e.addMessages(n,t)}function ye(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const N={en:{verificationsRequired:"Verifications Required","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{verificationsRequired:"Doğrulamalar Gerekli","verification.video.how-to":"Kimlik doğrulama nasıl yapılır?","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},fr:{verificationsRequired:"Vérifications requises","verification.video.how-to":"Comment vérifier votre identité ?","verification.idenfy.referred-awaiting":"La vérification d’identité est en cours. Nous vous informerons dès que la vérification sera terminée et que vous pourrez retirer vos fonds.","verification.message.failed":"Nous sommes désolés, mais nous n’avons pas pu vérifier votre compte. Veuillez contacter l’équipe d’assistance.","verification.idenfy.link-name":"lien","verification.idenfy.in-progress":"Pour retirer des fonds vers votre compte, vous devez effectuer la vérification de l’utilisateur. Veuillez préparer votre pièce d’identité et suivre le {link} pour commencer la vérification.","verification.shuftipro.in-progress.Biometric":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}.","verification.shuftipro.in-progress.Biometric.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {Documents}.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric}, la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Biometric} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.Documents":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents}.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {Documents} et la vérification {ProofOfAddress}.","verification.shuftipro.in-progress.ProofOfAddress":"Pour poursuivre la transaction, vous devez effectuer la vérification de l’utilisateur. Veuillez suivre le lien pour commencer la vérification {ProofOfAddress}.","verification.shuftipro.link-name.Biometric":"Biométrique","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Justificatif de domicile","verification.shuftipro.validations-started":"Après avoir terminé la vérification, veuillez procéder à la transaction."}};function Ve(n){e.append_styles(n,"svelte-xrv2v8",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}')}function W(n,t,r){const s=n.slice();return s[56]=t[r],s}function be(n){let t,r=n[3].length>0&&Y(n);return{c(){t=e.element("div"),r&&r.c(),e.attr(t,"class","CashierVerificationsWrapper")},m(s,a){e.insert(s,t,a),r&&r.m(t,null)},p(s,a){s[3].length>0?r?r.p(s,a):(r=Y(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(s){s&&e.detach(t),r&&r.d()}}}function _e(n){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",n[1]),e.set_custom_element_data(t,"clientstyling",n[0])},m(r,s){e.insert(r,t,s)},p(r,s){s[0]&2&&e.set_custom_element_data(t,"clientstylingurl",r[1]),s[0]&1&&e.set_custom_element_data(t,"clientstyling",r[0])},d(r){r&&e.detach(t)}}}function Y(n){let t,r,s,a,l,u,g,_=n[8]("verificationsRequired")+"",w,V,P,C,v,D,b,M,S=e.ensure_array_like(n[3]),d=[];for(let f=0;f<S.length;f+=1)d[f]=X(W(n,S,f));let m=n[6]&&K(n);return{c(){t=e.element("div"),r=e.svg_element("svg"),s=e.svg_element("path"),a=e.svg_element("path"),l=e.svg_element("path"),u=e.space(),g=e.element("p"),w=e.text(_),V=e.space(),P=e.element("span"),P.innerHTML='<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>',C=e.space(),v=e.element("div");for(let f=0;f<d.length;f+=1)d[f].c();D=e.space(),m&&m.c(),e.attr(s,"d","M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"),e.attr(s,"stroke","#6E738F"),e.attr(s,"stroke-width","2"),e.attr(s,"stroke-linecap","round"),e.attr(s,"stroke-linejoin","round"),e.attr(a,"d","M12 8V12"),e.attr(a,"stroke","#6E738F"),e.attr(a,"stroke-width","2"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(l,"d","M12 16H12.01"),e.attr(l,"stroke","#6E738F"),e.attr(l,"stroke-width","2"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(r,"width","24"),e.attr(r,"height","24"),e.attr(r,"viewBox","0 0 24 24"),e.attr(r,"fill","none"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(P,"class","CashierVerificationChevron"),e.toggle_class(P,"ShowVerifications",n[4]),e.attr(t,"class","VerificationsHeader"),e.attr(v,"class","VerificationsList"),e.toggle_class(v,"ShowVerifications",n[4])},m(f,k){e.insert(f,t,k),e.append(t,r),e.append(r,s),e.append(r,a),e.append(r,l),e.append(t,u),e.append(t,g),e.append(g,w),e.append(t,V),e.append(t,P),e.insert(f,C,k),e.insert(f,v,k);for(let p=0;p<d.length;p+=1)d[p]&&d[p].m(v,null);e.append(v,D),m&&m.m(v,null),b||(M=e.listen(t,"click",n[9]),b=!0)},p(f,k){if(k[0]&256&&_!==(_=f[8]("verificationsRequired")+"")&&e.set_data(w,_),k[0]&16&&e.toggle_class(P,"ShowVerifications",f[4]),k[0]&8){S=e.ensure_array_like(f[3]);let p;for(p=0;p<S.length;p+=1){const z=W(f,S,p);d[p]?d[p].p(z,k):(d[p]=X(z),d[p].c(),d[p].m(v,D))}for(;p<d.length;p+=1)d[p].d(1);d.length=S.length}f[6]?m?m.p(f,k):(m=K(f),m.c(),m.m(v,null)):m&&(m.d(1),m=null),k[0]&16&&e.toggle_class(v,"ShowVerifications",f[4])},d(f){f&&(e.detach(t),e.detach(C),e.detach(v)),e.destroy_each(d,f),m&&m.d(),b=!1,M()}}}function X(n){let t,r,s,a,l=n[56]+"";return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',s=e.space(),a=e.element("p"),e.attr(r,"class","IconVerification"),e.attr(a,"class","text"),e.attr(t,"class","CashierVerificationMessage Test")},m(u,g){e.insert(u,t,g),e.append(t,r),e.append(t,s),e.append(t,a),a.innerHTML=l},p(u,g){g[0]&8&&l!==(l=u[56]+"")&&(a.innerHTML=l)},d(u){u&&e.detach(t)}}}function K(n){let t,r,s,a,l=n[8]("verification.video.how-to")+"",u,g,_;return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',s=e.space(),a=e.element("div"),u=e.text(l),e.attr(r,"class","IconVideo"),e.attr(a,"class","CashierVerificationVideoLink"),e.toggle_class(a,"CashierVerificationVideoLinkDesktop",n[5]),e.attr(t,"class","CashierVerificationVideo Test")},m(w,V){e.insert(w,t,V),e.append(t,r),e.append(t,s),e.append(t,a),e.append(a,u),g||(_=e.listen(t,"click",n[10]),g=!0)},p(w,V){V[0]&256&&l!==(l=w[8]("verification.video.how-to")+"")&&e.set_data(u,l),V[0]&32&&e.toggle_class(a,"CashierVerificationVideoLinkDesktop",w[5])},d(w){w&&e.detach(t),g=!1,_()}}}function Pe(n){let t;function r(l,u){if(l[7])return _e;if(l[3])return be}let s=r(n),a=s&&s(n);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","CashierVerifications"),e.toggle_class(t,"CashierVerificationsDesktop",n[5])},m(l,u){e.insert(l,t,u),a&&a.m(t,null),n[20](t)},p(l,u){s===(s=r(l))&&a?a.p(l,u):(a&&a.d(1),a=s&&s(l),a&&(a.c(),a.m(t,null))),u[0]&32&&e.toggle_class(t,"CashierVerificationsDesktop",l[5])},i:e.noop,o:e.noop,d(l){l&&e.detach(t),a&&a.d(),n[20](null)}}}const Ce="verification_explanation_video_widgets.MP4";function De(n,t,r){let s,a;e.component_subscribe(n,e.$format,i=>r(8,s=i)),e.component_subscribe(n,q.xPaymentSessionToken,i=>r(29,a=i)),q.dayjs.extend(q.utc);let{endpoint:l}=t,{lang:u="en"}=t,{translationurl:g=""}=t,{clientstyling:_=""}=t,{clientstylingurl:w=""}=t,{session:V=""}=t,{customerid:P=""}=t,{playersession:C=""}=t,{userroles:v=""}=t,{mbsource:D=""}=t,b,M=new Set,S=new Set,d,m,f,k=!1,p=!0,z=!1,F="",E=!1,Z,T=[],G=window.navigator.userAgent;var O;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(O||(O={}));var R;(function(i){i.Requested="Requested"})(R||(R={}));var y;(function(i){i.Unknown="Unknown",i.Unverified="Unverified",i.InProgress="InProgress",i.Failed="Failed",i.Verified="Verified",i.Referred="Referred",i.True="True",i.False="False",i.AwaitingForResponse="AwaitingForResponse"})(y||(y={}));var B;(function(i){i.Unknown="Unknown",i.Documents="Documents",i.Age="Age",i.Pep="Pep",i.Sanction="Sanction",i.Aml="Aml",i.ProofOfAddress="ProofOfAddress",i.SourceOfWealth="SourceOfWealth",i.SocialMedia="SocialMedia",i.Biometric="Biometric"})(B||(B={}));const H=i=>{i.data&&i.data.type};e.onMount(()=>(window.addEventListener("message",H),he(),()=>{window.removeEventListener("message",H)}));const Q=[y.InProgress,y.Referred,y.AwaitingForResponse],$=()=>{let i=g;if(i)return fetch(i).then(o=>o.json()).then(o=>{Object.keys(o).forEach(c=>{j(c,o[c])})}).catch(o=>{console.log(o)})};Object.keys(N).forEach(i=>{j(i,N[i])});const ee=()=>{ye(u)},I=()=>{r(19,m=re());const i=new URL(`${l}/v1/player/${P}/verification/GetKYCCustomerStatus?language=${u}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${C}`),o.append("X-Client-Request-Timestamp",q.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),Array.isArray(T)&&T.length>0&&T.indexOf("MM_CHANNEL_BETA")!=-1&&o.append("MM_CHANNEL","BETA");const c={method:"POST",headers:o,body:JSON.stringify({})};r(7,E=!0),fetch(i,c).then(h=>h.json()).then(h=>{const x=ie(h==null?void 0:h.Verifications);d=oe(x),d.VerificationStatuses.forEach(L=>{L.VerificationUrlType!=="Widget"&&M.add(L.Vendor)}),r(3,f=ce())}).finally(()=>r(7,E=!1))},ie=i=>i?i.sort((o,c)=>new Date(c.Created).getTime()-new Date(o.Created).getTime()):[],te=()=>{a&&I()},re=()=>{let i=(V||a).split(".")[1];if(i){let o=JSON.parse(atob(i));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},oe=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:y.Unverified,VerificationStatuses:[]};const o=se(i);if(o&&o.length){const h=ne(o);return{VerificationSummaryStatus:h.Status,VerificationUrl:(c=h.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:U(o,h.Status)}}else return{VerificationSummaryStatus:i.some(x=>x.Status===y.Failed)?y.Failed:y.Verified,VerificationStatuses:U(i,[y.Failed])}},ne=i=>i.reduce((o,c)=>o?new Date(o)<new Date(c)?c:o:c,0),U=(i,o)=>i.filter(c=>o.includes(c.Status)).map(c=>{var h,x;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(h=c.FlowInfo)==null?void 0:h.Type,VerificationUrl:(x=c.FlowInfo)==null?void 0:x.Url}}),se=i=>i.filter(o=>Q.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||ae(o)||le(o):!1),ae=i=>{const o=i.Documents&&i.VendorName===O.Manual,c=i.Documents&&i.Documents.some(h=>h.Status===R.Requested);return o&&c},le=i=>i.VendorName===O.ShuftiPro&&i.Status===y.Referred,ce=()=>{switch(d.VerificationSummaryStatus){case y.InProgress:const i=[];return M.forEach(o=>{i.push(fe(o))}),i;case y.Referred:return[s("verification.idenfy.referred-awaiting")];case y.Failed:return[s("verification.message.failed")]}},fe=i=>{const o=d.VerificationStatuses.filter(c=>c.Vendor===i);if(i===O.ShuftiPro)return ue(o);{const c=s("verification.idenfy.link-name"),h={link:`<a href="${o[0].VerificationUrl}" target="_blank">${c}</a>`};return s("verification.idenfy.in-progress",{values:h})}},ue=i=>{const o=[],c={},h=[B.Biometric,B.Documents,B.ProofOfAddress];i.forEach(A=>{h.includes(A.Type)&&(o.push(A.Type),c[A.Type]=de(A,pe(A.Type)))});let x=o.every(A=>S.has(A)),L=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return x?s("verification.shuftipro.validations-started"):s(L,{values:c})},de=(i,o)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${o}</a>`,pe=i=>s(`verification.shuftipro.link-name.${i}`),me=()=>{r(4,k=!k)},he=()=>{r(5,p=!e.isMobile(G))},ve=()=>{F=m+"/"+u+"/"+Ce;try{fetch(F,{method:"HEAD"}).then(i=>{r(6,z=i.ok)})}catch(i){r(6,z=!1)}},ge=()=>{v.length>0&&(T=v.split(","))},we=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:F}}}))};function ke(i){e.binding_callbacks[i?"unshift":"push"](()=>{b=i,r(2,b)})}return n.$$set=i=>{"endpoint"in i&&r(11,l=i.endpoint),"lang"in i&&r(12,u=i.lang),"translationurl"in i&&r(13,g=i.translationurl),"clientstyling"in i&&r(0,_=i.clientstyling),"clientstylingurl"in i&&r(1,w=i.clientstylingurl),"session"in i&&r(14,V=i.session),"customerid"in i&&r(15,P=i.customerid),"playersession"in i&&r(16,C=i.playersession),"userroles"in i&&r(17,v=i.userroles),"mbsource"in i&&r(18,D=i.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&131072&&v&&ge(),n.$$.dirty[0]&4096&&u&&ee(),n.$$.dirty[0]&83968&&l&&V&&C&&I(),n.$$.dirty[0]&83968&&l&&!V&&C&&te(),n.$$.dirty[0]&8192&&g&&$(),n.$$.dirty[0]&5&&_&&b&&e.setClientStyling(b,_),n.$$.dirty[0]&6&&w&&b&&e.setClientStylingURL(b,w),n.$$.dirty[0]&524288&&m&&ve(),n.$$.dirty[0]&262148&&D&&b&&e.setStreamStyling(b,`${D}.Style`,Z)},[_,w,b,f,k,p,z,E,s,me,we,l,u,g,V,P,C,v,D,m,ke]}class J extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,De,Pe,e.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,userroles:17,mbsource:18},Ve,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),e.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),e.flush()}get userroles(){return this.$$.ctx[17]}set userroles(t){this.$$set({userroles:t}),e.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},userroles:{},mbsource:{}},[],[],!0);exports.default=J;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("./CashierCarousel-DMrMmClP.cjs");function o(i){t.append_styles(i,"svelte-17lvd7j","svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}")}function c(i){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#4A975C"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12.5 7L8.11111 12L5 8.5"),t.attr(r,"stroke","#4A975C"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,l){t.insert(n,e,l),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function d(i){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#DD6617"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M9.02911 10.048C8.91711 10.056 8.80111 10.064 8.68111 10.072C8.56911 10.072 8.45311 10.072 8.33311 10.072C8.19711 10.072 8.06111 10.072 7.92511 10.072C7.78911 10.072 7.63711 10.064 7.46911 10.048V12.484C7.46911 12.74 7.40511 12.9 7.27711 12.964C7.15711 13.02 7.00511 13.048 6.82111 13.048C6.72511 13.048 6.64911 13.04 6.59311 13.024C6.53711 13.016 6.48911 12.996 6.44911 12.964C6.41711 12.924 6.38911 12.868 6.36511 12.796C6.34911 12.724 6.33711 12.624 6.32911 12.496C6.31311 12.352 6.30111 12.144 6.29311 11.872C6.28511 11.592 6.27711 11.232 6.26911 10.792C6.26911 10.352 6.26511 9.82 6.25711 9.196C6.25711 8.564 6.25711 7.824 6.25711 6.976C6.25711 6.648 6.29711 6.332 6.37711 6.028C6.45711 5.716 6.60111 5.444 6.80911 5.212C7.01711 4.972 7.29711 4.78 7.64911 4.636C8.00911 4.492 8.46511 4.42 9.01711 4.42C9.40911 4.42 9.78911 4.464 10.1571 4.552C10.5331 4.64 10.8651 4.792 11.1531 5.008C11.4411 5.224 11.6731 5.516 11.8491 5.884C12.0251 6.252 12.1131 6.712 12.1131 7.264C12.1131 8 11.9531 8.572 11.6331 8.98C11.3211 9.38 10.8891 9.664 10.3371 9.832L11.9451 12.04C12.0891 12.232 12.1611 12.428 12.1611 12.628C12.1611 12.788 12.1051 12.912 11.9931 13C11.8891 13.096 11.7571 13.144 11.5971 13.144C11.4211 13.144 11.2691 13.096 11.1411 13C11.0131 12.896 10.8931 12.764 10.7811 12.604L9.02911 10.048ZM10.9131 7.252C10.9131 6.7 10.7451 6.292 10.4091 6.028C10.0811 5.756 9.55711 5.62 8.83711 5.62C8.57311 5.62 8.35311 5.644 8.17711 5.692C8.00111 5.732 7.86111 5.812 7.75711 5.932C7.65311 6.052 7.57711 6.22 7.52911 6.436C7.48911 6.644 7.46911 6.912 7.46911 7.24C7.46911 7.472 7.46911 7.744 7.46911 8.056C7.46911 8.368 7.47311 8.652 7.48111 8.908C7.66511 8.916 7.86911 8.92 8.09311 8.92C8.32511 8.92 8.54111 8.92 8.74111 8.92C8.96511 8.92 9.20111 8.908 9.44911 8.884C9.70511 8.852 9.94111 8.78 10.1571 8.668C10.3731 8.548 10.5531 8.38 10.6971 8.164C10.8411 7.94 10.9131 7.636 10.9131 7.252Z"),t.attr(r,"fill","#DD6617"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,l){t.insert(n,e,l),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function h(i){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F0A85F"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M8.99967 14.6666C12.1293 14.6666 14.6663 12.1296 14.6663 8.99998C14.6663 5.87037 12.1293 3.33331 8.99967 3.33331C5.87006 3.33331 3.33301 5.87037 3.33301 8.99998C3.33301 12.1296 5.87006 14.6666 8.99967 14.6666Z"),t.attr(r,"stroke","#F0A85F"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M9 6V9L11 10"),t.attr(n,"stroke","#F0A85F"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(l,s){t.insert(l,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(l){l&&t.detach(e)}}}function p(i){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F35A23"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12 6L6 12"),t.attr(r,"stroke","#F35A23"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M6 6L12 12"),t.attr(n,"stroke","#F35A23"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(l,s){t.insert(l,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(l){l&&t.detach(e)}}}function f(i){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#32B398"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M11.1679 12.388C11.0879 12.196 10.9999 11.976 10.9039 11.728C10.8159 11.472 10.7199 11.204 10.6159 10.924C10.3759 10.932 10.1239 10.94 9.85992 10.948C9.59592 10.948 9.32792 10.948 9.05592 10.948C8.71192 10.948 8.39992 10.948 8.11992 10.948C7.83992 10.948 7.58392 10.944 7.35192 10.936C7.25592 11.216 7.16392 11.48 7.07592 11.728C6.98792 11.976 6.90392 12.196 6.82392 12.388C6.66392 12.796 6.43192 13 6.12792 13C6.01592 13 5.90792 12.964 5.80392 12.892C5.70792 12.82 5.65992 12.716 5.65992 12.58C5.65992 12.444 5.68392 12.268 5.73192 12.052C5.77992 11.828 5.83992 11.592 5.91192 11.344C5.99192 11.088 6.07592 10.828 6.16392 10.564C6.25192 10.292 6.33592 10.04 6.41592 9.808C6.49592 9.552 6.60792 9.228 6.75192 8.836C6.90392 8.436 7.06392 8.02 7.23192 7.588C7.39992 7.156 7.56792 6.732 7.73592 6.316C7.90392 5.892 8.05592 5.524 8.19192 5.212C8.22392 5.132 8.26392 5.044 8.31192 4.948C8.35992 4.844 8.41592 4.748 8.47992 4.66C8.55192 4.572 8.62792 4.496 8.70792 4.432C8.79592 4.368 8.89192 4.336 8.99592 4.336C9.09992 4.336 9.19592 4.372 9.28392 4.444C9.37192 4.508 9.44792 4.588 9.51192 4.684C9.58392 4.78 9.64392 4.88 9.69192 4.984C9.74792 5.088 9.79192 5.18 9.82392 5.26C9.95192 5.58 10.0959 5.948 10.2559 6.364C10.4239 6.78 10.5879 7.2 10.7479 7.624C10.9159 8.048 11.0719 8.452 11.2159 8.836C11.3599 9.22 11.4759 9.544 11.5639 9.808C11.6359 10.04 11.7159 10.288 11.8039 10.552C11.8999 10.816 11.9879 11.076 12.0679 11.332C12.1479 11.588 12.2119 11.828 12.2599 12.052C12.3159 12.268 12.3439 12.444 12.3439 12.58C12.3439 12.716 12.2919 12.82 12.1879 12.892C12.0919 12.964 11.9879 13 11.8759 13C11.7319 13 11.5999 12.952 11.4799 12.856C11.3599 12.752 11.2559 12.596 11.1679 12.388ZM9.04392 9.748C9.23592 9.748 9.42792 9.752 9.61992 9.76C9.81192 9.76 10.0039 9.764 10.1959 9.772C10.0999 9.492 10.0039 9.212 9.90792 8.932C9.81192 8.652 9.71992 8.384 9.63192 8.128C9.55192 7.872 9.47592 7.636 9.40392 7.42C9.33992 7.196 9.28392 7 9.23592 6.832C9.20392 6.728 9.16792 6.644 9.12792 6.58C9.08792 6.516 9.03592 6.484 8.97192 6.484C8.90792 6.484 8.85592 6.52 8.81592 6.592C8.77592 6.656 8.73992 6.74 8.70792 6.844C8.61192 7.172 8.47592 7.6 8.29992 8.128C8.13192 8.648 7.95192 9.196 7.75992 9.772C7.97592 9.764 8.19192 9.76 8.40792 9.76C8.62392 9.752 8.83592 9.748 9.04392 9.748Z"),t.attr(r,"fill","#32B398"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,l){t.insert(n,e,l),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function u(i){let e;function a(l,s){if(l[0]==="Authorized")return f;if(l[0]==="Failed")return p;if(l[0]==="Pending")return h;if(l[0]==="Rejected")return d;if(l[0]==="Success")return c}let r=a(i),n=r&&r(i);return{c(){n&&n.c(),e=t.empty()},m(l,s){n&&n.m(l,s),t.insert(l,e,s)},p(l,[s]){r!==(r=a(l))&&(n&&n.d(1),n=r&&r(l),n&&(n.c(),n.m(e.parentNode,e)))},i:t.noop,o:t.noop,d(l){l&&t.detach(e),n&&n.d(l)}}}function v(i,e,a){let{status:r=""}=e;return i.$$set=n=>{"status"in n&&a(0,r=n.status)},[r]}class C extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,v,u,t.safe_not_equal,{status:0},o)}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),t.flush()}}t.create_custom_element(C,{status:{}},[],[],!0);exports.TxnStatusIcon=C;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as f, b as u, s as p, f as w,
|
|
1
|
+
import { S as f, b as u, s as p, f as w, c as v, G as d, e as a, k as h, r as g, l as o, X as r, o as t, E as k } from "./CashierCarousel-CXoovlrR.js";
|
|
2
2
|
function _(n) {
|
|
3
3
|
v(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
|
|
4
4
|
}
|