@everymatrix/cashier-page 1.99.19 → 1.99.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-BZ-i1EsX.js +732 -0
- package/components/CashierCarousel-CJAaHXXD.js +735 -0
- package/components/CashierCarousel-Cu_RNUHY.cjs +1 -0
- package/components/{CashierError-kl-Hjy3m.js → CashierError-4dP13hBI.js} +7 -6
- package/components/CashierError-D0mOIAnU.cjs +1 -0
- package/components/{CashierError-Dyxg1sq3.js → CashierError-GsEDSXtA.js} +7 -6
- package/components/CashierHeader-CK33wmWw.js +491 -0
- package/components/CashierHeader-DaUYq9lj.cjs +1 -0
- package/components/CashierHeader-gQMHuTqw.js +491 -0
- package/components/{CashierIframeRedirect-D5wLT4Ip.js → CashierIframeRedirect-BEsPx_Z8.js} +66 -81
- package/components/{CashierIframeRedirect-C_1-xORQ.js → CashierIframeRedirect-CKNMtdwW.js} +72 -87
- package/components/CashierIframeRedirect-D6UXTJnb.cjs +1 -0
- package/components/{CashierMethodDetails-BREpDnlu.js → CashierMethodDetails-6gecWa6-.js} +2845 -3270
- package/components/CashierMethodDetails-CSedTA6S.cjs +287 -0
- package/components/{CashierMethodDetails-Cob_AEyz.js → CashierMethodDetails-Di4M7A7s.js} +2982 -3407
- package/components/{CashierMethodsList-C1JyivW4.js → CashierMethodsList-CJqErGs4.js} +31 -31
- package/components/CashierMethodsList-Dd2UiVhS.cjs +1 -0
- package/components/{CashierMethodsList-DU64oEyD.js → CashierMethodsList-DxTcwp9y.js} +32 -32
- package/components/CashierModal-BAldCDjj.cjs +1 -0
- package/components/{CashierModal-Cpxd5bJQ.js → CashierModal-BmXXJZSw.js} +53 -52
- package/components/{CashierModal-C4PU5_PU.js → CashierModal-jptr1BjB.js} +35 -34
- package/components/CashierNotifications-BCksCjnd.cjs +1 -0
- package/components/{CashierNotifications-B-OQoaFK.js → CashierNotifications-DpUJKBKY.js} +27 -27
- package/components/{CashierNotifications-Bedwtk72.js → CashierNotifications-slqy0GL5.js} +29 -29
- package/components/CashierPage-9TlSv0Ys.js +10387 -0
- package/components/CashierPage-CRTe3srS.js +10334 -0
- package/components/CashierPage-GUVKpACj.cjs +23 -0
- package/components/{CashierReceiptPage-Bs1-A5oO.js → CashierReceiptPage-Bmki8Rgo.js} +87 -88
- package/components/{CashierReceiptPage-CKEro91e.js → CashierReceiptPage-CxEoywyO.js} +104 -105
- package/components/CashierReceiptPage-DU78zOm2.cjs +29 -0
- package/components/{CashierSessionExpirationModal-CePqbW5W.js → CashierSessionExpirationModal-0ZABOlrt.js} +82 -83
- package/components/{CashierSessionExpirationModal-CdSUe7hK.js → CashierSessionExpirationModal-DLzJHllv.js} +58 -59
- package/components/CashierSessionExpirationModal-ZVuwRFF3.cjs +2 -0
- package/components/{CashierSpinner-wvDbhkcq.js → CashierSpinner-Bic1yXPY.js} +15 -14
- package/components/CashierSpinner-D5xvgSGR.cjs +1 -0
- package/components/{CashierSpinner-D1qQLxEW.js → CashierSpinner-jlh3kLrw.js} +19 -18
- package/components/CashierStepUp-CitQkE0i.cjs +1 -0
- package/components/{CashierStepUp-8viDm0qd.js → CashierStepUp-g-G22Lc4.js} +105 -104
- package/components/{CashierStepUp-BJ3ojmDK.js → CashierStepUp-srh84KwL.js} +7 -6
- package/components/{CashierTransactionHistory-c3jwP7YJ.js → CashierTransactionHistory-CxMz_ono.js} +60 -61
- package/components/CashierTransactionHistory-CxxqOj18.cjs +1 -0
- package/components/{CashierTransactionHistory-C_HP2wr2.js → CashierTransactionHistory-yI8ncB6o.js} +60 -61
- package/components/CashierVerifications-BJloPP6f.cjs +1 -0
- package/components/{CashierVerifications-PeSLRi-g.js → CashierVerifications-CxFzWKAg.js} +137 -121
- package/components/{CashierVerifications-B8AtaT5B.js → CashierVerifications-DJsdsHJU.js} +141 -125
- package/components/{TxnStatusIcon-ipRjsjNx.js → TxnStatusIcon-B52lfQx_.js} +1 -1
- package/components/TxnStatusIcon-B_aOthN3.cjs +1 -0
- package/components/{TxnStatusIcon-CUxVvL_p.js → TxnStatusIcon-THzMx_aQ.js} +12 -12
- package/components/{TxnTypeIcons-B6Ue3pUq.js → TxnTypeIcons-BHrNWU9Q.js} +1 -1
- package/components/{TxnTypeIcons-CufWq1r7.js → TxnTypeIcons-DXAaJnwf.js} +1 -1
- package/components/TxnTypeIcons-NnRP_P64.cjs +1 -0
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierCarousel-CUtNMhZV.js +0 -5858
- package/components/CashierCarousel-MBtvTbcb.cjs +0 -23
- package/components/CashierCarousel-Tx0f5-LG.js +0 -5896
- package/components/CashierError-C7eQzwUP.cjs +0 -1
- package/components/CashierHeader-BKcZqENP.js +0 -432
- package/components/CashierHeader-ByWJ_k92.cjs +0 -1
- package/components/CashierHeader-WI5T8myo.js +0 -432
- package/components/CashierIframeRedirect-EU2aPm8u.cjs +0 -1
- package/components/CashierMethodDetails-CYwLk7rR.cjs +0 -287
- package/components/CashierMethodsList-CcO-EerQ.cjs +0 -1
- package/components/CashierModal-BHWX0DmT.cjs +0 -1
- package/components/CashierNotifications-BRQYroR0.cjs +0 -1
- package/components/CashierPage-BgoraPRn.js +0 -4853
- package/components/CashierPage-BsAuSvEP.cjs +0 -1
- package/components/CashierPage-D9Eoq0xv.js +0 -4887
- package/components/CashierReceiptPage-DJG1aNbY.cjs +0 -29
- package/components/CashierSessionExpirationModal-ChfT0Imk.cjs +0 -2
- package/components/CashierSpinner-C1fzGsEh.cjs +0 -1
- package/components/CashierStepUp-V1DZKhrx.cjs +0 -1
- package/components/CashierTransactionHistory-Blt88-F-.cjs +0 -1
- package/components/CashierVerifications-CMRN3aAD.cjs +0 -1
- package/components/TxnStatusIcon-CL30ATPa.cjs +0 -1
- package/components/TxnTypeIcons-Cksp3nqd.cjs +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as Me, i as We, $ as
|
|
2
|
-
import {
|
|
1
|
+
import { a as Me, i as We, $ as Ee, S as He, b as Ie, s as Re, f as B, d as Ue, z as $, g as q, L as _, l as T, n as P, p as l, q as ee, M as ie, N as je, r as Ne, C as Ye, y as Ke, O as N, D as re, E as Xe, w as ce, P as te, m as v, G as Ze, A as de, Q as Y, o as E, x as ue, H as Ge, c as Je, B as Qe, R as $e } from "./CashierPage-CRTe3srS.js";
|
|
2
|
+
import { s as ei, a as ii, b as ri } from "./CashierHeader-CK33wmWw.js";
|
|
3
3
|
function oe(t, i) {
|
|
4
4
|
Me(t, i);
|
|
5
5
|
}
|
|
6
6
|
function ti(t) {
|
|
7
7
|
We({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
|
-
}),
|
|
9
|
+
}), Ee.set(t);
|
|
10
10
|
}
|
|
11
11
|
const ne = {
|
|
12
12
|
en: {
|
|
@@ -194,12 +194,28 @@ const ne = {
|
|
|
194
194
|
"verification.shuftipro.validations-started": "Yoxlamanı tamamladıqdan sonra əməliyyata davam edin"
|
|
195
195
|
}
|
|
196
196
|
};
|
|
197
|
+
if (typeof window < "u") {
|
|
198
|
+
let t = function(i) {
|
|
199
|
+
return function(...r) {
|
|
200
|
+
try {
|
|
201
|
+
return i.apply(this, r);
|
|
202
|
+
} catch (o) {
|
|
203
|
+
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"))
|
|
204
|
+
return !1;
|
|
205
|
+
throw o;
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
customElements.define = t(customElements.define), import("./CashierModal-jptr1BjB.js").then(({ default: i }) => {
|
|
210
|
+
!customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
|
|
211
|
+
});
|
|
212
|
+
}
|
|
197
213
|
function oi(t) {
|
|
198
|
-
|
|
214
|
+
Ue(t, "svelte-1kmyt1l", '*,*::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:var(--verifications-list-height, 0);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)}');
|
|
199
215
|
}
|
|
200
216
|
function se(t, i, r) {
|
|
201
|
-
const
|
|
202
|
-
return
|
|
217
|
+
const o = t.slice();
|
|
218
|
+
return o[58] = i[r], o;
|
|
203
219
|
}
|
|
204
220
|
function ni(t) {
|
|
205
221
|
let i, r = (
|
|
@@ -208,17 +224,17 @@ function ni(t) {
|
|
|
208
224
|
);
|
|
209
225
|
return {
|
|
210
226
|
c() {
|
|
211
|
-
i =
|
|
227
|
+
i = P("div"), r && r.c(), l(i, "class", "CashierVerificationsWrapper");
|
|
212
228
|
},
|
|
213
|
-
m(
|
|
214
|
-
T(
|
|
229
|
+
m(o, s) {
|
|
230
|
+
T(o, i, s), r && r.m(i, null);
|
|
215
231
|
},
|
|
216
|
-
p(
|
|
232
|
+
p(o, s) {
|
|
217
233
|
/*displayMessages*/
|
|
218
|
-
|
|
234
|
+
o[3].length > 0 ? r ? r.p(o, s) : (r = ae(o), r.c(), r.m(i, null)) : r && (r.d(1), r = null);
|
|
219
235
|
},
|
|
220
|
-
d(
|
|
221
|
-
|
|
236
|
+
d(o) {
|
|
237
|
+
o && q(i), r && r.d();
|
|
222
238
|
}
|
|
223
239
|
};
|
|
224
240
|
}
|
|
@@ -226,7 +242,7 @@ function si(t) {
|
|
|
226
242
|
let i;
|
|
227
243
|
return {
|
|
228
244
|
c() {
|
|
229
|
-
i =
|
|
245
|
+
i = P("cashier-spinner"), N(
|
|
230
246
|
i,
|
|
231
247
|
"clientstylingurl",
|
|
232
248
|
/*clientstylingurl*/
|
|
@@ -238,17 +254,17 @@ function si(t) {
|
|
|
238
254
|
t[0]
|
|
239
255
|
);
|
|
240
256
|
},
|
|
241
|
-
m(r,
|
|
242
|
-
T(r, i,
|
|
257
|
+
m(r, o) {
|
|
258
|
+
T(r, i, o);
|
|
243
259
|
},
|
|
244
|
-
p(r,
|
|
245
|
-
|
|
260
|
+
p(r, o) {
|
|
261
|
+
o[0] & /*clientstylingurl*/
|
|
246
262
|
2 && N(
|
|
247
263
|
i,
|
|
248
264
|
"clientstylingurl",
|
|
249
265
|
/*clientstylingurl*/
|
|
250
266
|
r[1]
|
|
251
|
-
),
|
|
267
|
+
), o[0] & /*clientstyling*/
|
|
252
268
|
1 && N(
|
|
253
269
|
i,
|
|
254
270
|
"clientstyling",
|
|
@@ -262,11 +278,11 @@ function si(t) {
|
|
|
262
278
|
};
|
|
263
279
|
}
|
|
264
280
|
function ae(t) {
|
|
265
|
-
let i, r,
|
|
281
|
+
let i, r, o, s, a, d, p, V = (
|
|
266
282
|
/*$_*/
|
|
267
283
|
t[9]("verificationsRequired") + ""
|
|
268
|
-
), k, z,
|
|
269
|
-
t[8]}px`,
|
|
284
|
+
), k, z, S, A, y, g, O, H, W = `${/*verificationsListHeight*/
|
|
285
|
+
t[8]}px`, C, L, x = re(
|
|
270
286
|
/*displayMessages*/
|
|
271
287
|
t[3]
|
|
272
288
|
), m = [];
|
|
@@ -278,90 +294,90 @@ function ae(t) {
|
|
|
278
294
|
);
|
|
279
295
|
return {
|
|
280
296
|
c() {
|
|
281
|
-
i =
|
|
297
|
+
i = P("div"), r = Y("svg"), o = Y("path"), s = Y("path"), a = Y("path"), d = E(), p = P("p"), k = ue(V), z = E(), 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>', A = E(), y = P("div"), g = P("div");
|
|
282
298
|
for (let c = 0; c < m.length; c += 1)
|
|
283
299
|
m[c].c();
|
|
284
|
-
O =
|
|
285
|
-
|
|
300
|
+
O = E(), h && h.c(), l(o, "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"), l(o, "stroke", "#6E738F"), l(o, "stroke-width", "2"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(s, "d", "M12 8V12"), l(s, "stroke", "#6E738F"), l(s, "stroke-width", "2"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(a, "d", "M12 16H12.01"), l(a, "stroke", "#6E738F"), l(a, "stroke-width", "2"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(r, "width", "24"), l(r, "height", "24"), l(r, "viewBox", "0 0 24 24"), l(r, "fill", "none"), l(r, "xmlns", "http://www.w3.org/2000/svg"), l(S, "class", "CashierVerificationChevron"), _(
|
|
301
|
+
S,
|
|
286
302
|
"ShowVerifications",
|
|
287
303
|
/*allVerificationsVisible*/
|
|
288
304
|
t[4]
|
|
289
|
-
), l(i, "class", "VerificationsHeader"), l(g, "class", "VerificationsListInner"),
|
|
305
|
+
), l(i, "class", "VerificationsHeader"), l(g, "class", "VerificationsListInner"), Ge(() => (
|
|
290
306
|
/*div1_elementresize_handler*/
|
|
291
307
|
t[21].call(g)
|
|
292
|
-
)), l(y, "class", "VerificationsList"),
|
|
308
|
+
)), l(y, "class", "VerificationsList"), _(
|
|
293
309
|
y,
|
|
294
310
|
"ShowVerifications",
|
|
295
311
|
/*allVerificationsVisible*/
|
|
296
312
|
t[4]
|
|
297
|
-
),
|
|
313
|
+
), te(y, "--verifications-list-height", W);
|
|
298
314
|
},
|
|
299
|
-
m(c,
|
|
300
|
-
T(c, i,
|
|
315
|
+
m(c, w) {
|
|
316
|
+
T(c, i, w), v(i, r), v(r, o), v(r, s), v(r, a), v(i, d), v(i, p), v(p, k), v(i, z), v(i, S), T(c, A, w), T(c, y, w), v(y, g);
|
|
301
317
|
for (let u = 0; u < m.length; u += 1)
|
|
302
318
|
m[u] && m[u].m(g, null);
|
|
303
|
-
v(g, O), h && h.m(g, null),
|
|
319
|
+
v(g, O), h && h.m(g, null), H = Ze(
|
|
304
320
|
g,
|
|
305
321
|
/*div1_elementresize_handler*/
|
|
306
322
|
t[21].bind(g)
|
|
307
|
-
),
|
|
323
|
+
), C || (L = de(
|
|
308
324
|
i,
|
|
309
325
|
"click",
|
|
310
326
|
/*toggleVerifications*/
|
|
311
327
|
t[10]
|
|
312
|
-
),
|
|
328
|
+
), C = !0);
|
|
313
329
|
},
|
|
314
|
-
p(c,
|
|
315
|
-
if (
|
|
330
|
+
p(c, w) {
|
|
331
|
+
if (w[0] & /*$_*/
|
|
316
332
|
512 && V !== (V = /*$_*/
|
|
317
|
-
c[9]("verificationsRequired") + "") && ce(k, V),
|
|
318
|
-
16 &&
|
|
319
|
-
|
|
333
|
+
c[9]("verificationsRequired") + "") && ce(k, V), w[0] & /*allVerificationsVisible*/
|
|
334
|
+
16 && _(
|
|
335
|
+
S,
|
|
320
336
|
"ShowVerifications",
|
|
321
337
|
/*allVerificationsVisible*/
|
|
322
338
|
c[4]
|
|
323
|
-
),
|
|
339
|
+
), w[0] & /*displayMessages*/
|
|
324
340
|
8) {
|
|
325
|
-
x =
|
|
341
|
+
x = re(
|
|
326
342
|
/*displayMessages*/
|
|
327
343
|
c[3]
|
|
328
344
|
);
|
|
329
345
|
let u;
|
|
330
346
|
for (u = 0; u < x.length; u += 1) {
|
|
331
347
|
const R = se(c, x, u);
|
|
332
|
-
m[u] ? m[u].p(R,
|
|
348
|
+
m[u] ? m[u].p(R, w) : (m[u] = fe(R), m[u].c(), m[u].m(g, O));
|
|
333
349
|
}
|
|
334
350
|
for (; u < m.length; u += 1)
|
|
335
351
|
m[u].d(1);
|
|
336
352
|
m.length = x.length;
|
|
337
353
|
}
|
|
338
354
|
/*videoExists*/
|
|
339
|
-
c[6] ? h ? h.p(c,
|
|
340
|
-
16 &&
|
|
355
|
+
c[6] ? h ? h.p(c, w) : (h = le(c), h.c(), h.m(g, null)) : h && (h.d(1), h = null), w[0] & /*allVerificationsVisible*/
|
|
356
|
+
16 && _(
|
|
341
357
|
y,
|
|
342
358
|
"ShowVerifications",
|
|
343
359
|
/*allVerificationsVisible*/
|
|
344
360
|
c[4]
|
|
345
|
-
),
|
|
361
|
+
), w[0] & /*verificationsListHeight*/
|
|
346
362
|
256 && W !== (W = `${/*verificationsListHeight*/
|
|
347
|
-
c[8]}px`) &&
|
|
363
|
+
c[8]}px`) && te(y, "--verifications-list-height", W);
|
|
348
364
|
},
|
|
349
365
|
d(c) {
|
|
350
|
-
c && (q(i), q(A), q(y)),
|
|
366
|
+
c && (q(i), q(A), q(y)), Xe(m, c), h && h.d(), H(), C = !1, L();
|
|
351
367
|
}
|
|
352
368
|
};
|
|
353
369
|
}
|
|
354
370
|
function fe(t) {
|
|
355
|
-
let i, r,
|
|
371
|
+
let i, r, o, s, a = (
|
|
356
372
|
/*message*/
|
|
357
373
|
t[58] + ""
|
|
358
374
|
);
|
|
359
375
|
return {
|
|
360
376
|
c() {
|
|
361
|
-
i =
|
|
377
|
+
i = P("div"), r = P("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>', o = E(), s = P("p"), l(r, "class", "IconVerification"), l(s, "class", "text"), l(i, "class", "CashierVerificationMessage Test");
|
|
362
378
|
},
|
|
363
379
|
m(d, p) {
|
|
364
|
-
T(d, i, p), v(i, r), v(i,
|
|
380
|
+
T(d, i, p), v(i, r), v(i, o), v(i, s), s.innerHTML = a;
|
|
365
381
|
},
|
|
366
382
|
p(d, p) {
|
|
367
383
|
p[0] & /*displayMessages*/
|
|
@@ -374,13 +390,13 @@ function fe(t) {
|
|
|
374
390
|
};
|
|
375
391
|
}
|
|
376
392
|
function le(t) {
|
|
377
|
-
let i, r,
|
|
393
|
+
let i, r, o, s, a = (
|
|
378
394
|
/*$_*/
|
|
379
395
|
t[9]("verification.video.how-to") + ""
|
|
380
396
|
), d, p, V;
|
|
381
397
|
return {
|
|
382
398
|
c() {
|
|
383
|
-
i =
|
|
399
|
+
i = P("div"), r = P("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>', o = E(), s = P("div"), d = ue(a), l(r, "class", "IconVideo"), l(s, "class", "CashierVerificationVideoLink"), _(
|
|
384
400
|
s,
|
|
385
401
|
"CashierVerificationVideoLinkDesktop",
|
|
386
402
|
/*desktopView*/
|
|
@@ -388,7 +404,7 @@ function le(t) {
|
|
|
388
404
|
), l(i, "class", "CashierVerificationVideo Test");
|
|
389
405
|
},
|
|
390
406
|
m(k, z) {
|
|
391
|
-
T(k, i, z), v(i, r), v(i,
|
|
407
|
+
T(k, i, z), v(i, r), v(i, o), v(i, s), v(s, d), p || (V = de(
|
|
392
408
|
i,
|
|
393
409
|
"click",
|
|
394
410
|
/*showVideo*/
|
|
@@ -399,7 +415,7 @@ function le(t) {
|
|
|
399
415
|
z[0] & /*$_*/
|
|
400
416
|
512 && a !== (a = /*$_*/
|
|
401
417
|
k[9]("verification.video.how-to") + "") && ce(d, a), z[0] & /*desktopView*/
|
|
402
|
-
32 &&
|
|
418
|
+
32 && _(
|
|
403
419
|
s,
|
|
404
420
|
"CashierVerificationVideoLinkDesktop",
|
|
405
421
|
/*desktopView*/
|
|
@@ -425,10 +441,10 @@ function ai(t) {
|
|
|
425
441
|
)
|
|
426
442
|
return ni;
|
|
427
443
|
}
|
|
428
|
-
let
|
|
444
|
+
let o = r(t), s = o && o(t);
|
|
429
445
|
return {
|
|
430
446
|
c() {
|
|
431
|
-
i =
|
|
447
|
+
i = P("div"), s && s.c(), l(i, "class", "CashierVerifications"), _(
|
|
432
448
|
i,
|
|
433
449
|
"CashierVerificationsDesktop",
|
|
434
450
|
/*desktopView*/
|
|
@@ -439,8 +455,8 @@ function ai(t) {
|
|
|
439
455
|
T(a, i, d), s && s.m(i, null), t[22](i);
|
|
440
456
|
},
|
|
441
457
|
p(a, d) {
|
|
442
|
-
|
|
443
|
-
32 &&
|
|
458
|
+
o === (o = r(a)) && s ? s.p(a, d) : (s && s.d(1), s = o && o(a), s && (s.c(), s.m(i, null))), d[0] & /*desktopView*/
|
|
459
|
+
32 && _(
|
|
444
460
|
i,
|
|
445
461
|
"CashierVerificationsDesktop",
|
|
446
462
|
/*desktopView*/
|
|
@@ -456,13 +472,13 @@ function ai(t) {
|
|
|
456
472
|
}
|
|
457
473
|
const fi = "verification_explanation_video_widgets.MP4";
|
|
458
474
|
function li(t, i, r) {
|
|
459
|
-
let
|
|
460
|
-
ee(t,
|
|
461
|
-
let { endpoint: a } = i, { lang: d = "en" } = i, { translationurl: p = "" } = i, { clientstyling: V = "" } = i, { clientstylingurl: k = "" } = i, { session: z = "" } = i, { customerid:
|
|
462
|
-
var
|
|
475
|
+
let o, s;
|
|
476
|
+
ee(t, Qe, (e) => r(9, o = e)), ee(t, $e, (e) => r(31, s = e)), ie.extend(je);
|
|
477
|
+
let { endpoint: a } = i, { lang: d = "en" } = i, { translationurl: p = "" } = i, { clientstyling: V = "" } = i, { clientstylingurl: k = "" } = i, { session: z = "" } = i, { customerid: S = "" } = i, { playersession: A = "" } = i, { userroles: y = "" } = i, { mbsource: g = "" } = i, O, H = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Set(), C, L, x, m = !1, h = !0, c = !1, w = "", u = !1, R, U = [], K = 0, me = window.navigator.userAgent;
|
|
478
|
+
var I;
|
|
463
479
|
(function(e) {
|
|
464
480
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
465
|
-
})(
|
|
481
|
+
})(I || (I = {}));
|
|
466
482
|
var X;
|
|
467
483
|
(function(e) {
|
|
468
484
|
e.Requested = "Requested";
|
|
@@ -478,7 +494,7 @@ function li(t, i, r) {
|
|
|
478
494
|
const G = (e) => {
|
|
479
495
|
e.data && e.data.type;
|
|
480
496
|
};
|
|
481
|
-
|
|
497
|
+
Ne(() => (window.addEventListener("message", G), Ce(), () => {
|
|
482
498
|
window.removeEventListener("message", G);
|
|
483
499
|
}));
|
|
484
500
|
const ve = [
|
|
@@ -488,12 +504,12 @@ function li(t, i, r) {
|
|
|
488
504
|
], he = () => {
|
|
489
505
|
let e = p;
|
|
490
506
|
if (e)
|
|
491
|
-
return fetch(e).then((
|
|
492
|
-
Object.keys(
|
|
493
|
-
oe(f,
|
|
507
|
+
return fetch(e).then((n) => n.json()).then((n) => {
|
|
508
|
+
Object.keys(n).forEach((f) => {
|
|
509
|
+
oe(f, n[f]);
|
|
494
510
|
});
|
|
495
|
-
}).catch((
|
|
496
|
-
console.log(
|
|
511
|
+
}).catch((n) => {
|
|
512
|
+
console.log(n);
|
|
497
513
|
});
|
|
498
514
|
};
|
|
499
515
|
Object.keys(ne).forEach((e) => {
|
|
@@ -503,83 +519,83 @@ function li(t, i, r) {
|
|
|
503
519
|
ti(d);
|
|
504
520
|
}, J = () => {
|
|
505
521
|
r(20, L = ye());
|
|
506
|
-
const e = new URL(`${a}/v1/player/${
|
|
507
|
-
|
|
522
|
+
const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${d}`), n = new Headers();
|
|
523
|
+
n.append("accept", "application/json"), n.append("Content-Type", "application/json"), n.append("x-sessionid", `${A}`), n.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(U) && U.length > 0 && U.indexOf("MM_CHANNEL_BETA") != -1 && n.append("MM_CHANNEL", "BETA");
|
|
508
524
|
const f = {
|
|
509
525
|
method: "POST",
|
|
510
|
-
headers:
|
|
526
|
+
headers: n,
|
|
511
527
|
body: JSON.stringify({})
|
|
512
528
|
};
|
|
513
|
-
r(7, u = !0), fetch(e, f).then((
|
|
514
|
-
const Z = ge(
|
|
515
|
-
|
|
516
|
-
j.VerificationUrlType !== "Widget" &&
|
|
529
|
+
r(7, u = !0), fetch(e, f).then((D) => D.json()).then((D) => {
|
|
530
|
+
const Z = ge(D?.Verifications);
|
|
531
|
+
C = we(Z), C.VerificationStatuses.forEach((j) => {
|
|
532
|
+
j.VerificationUrlType !== "Widget" && H.add(j.Vendor);
|
|
517
533
|
}), r(3, x = Ve());
|
|
518
534
|
}).finally(() => r(7, u = !1));
|
|
519
|
-
}, ge = (e) => e ? e.sort((
|
|
535
|
+
}, ge = (e) => e ? e.sort((n, f) => new Date(f.Created).getTime() - new Date(n.Created).getTime()) : [], ke = () => {
|
|
520
536
|
s && J();
|
|
521
537
|
}, ye = () => {
|
|
522
538
|
let e = (z || s).split(".")[1];
|
|
523
539
|
if (e) {
|
|
524
|
-
let
|
|
525
|
-
return
|
|
540
|
+
let n = JSON.parse(atob(e));
|
|
541
|
+
return n.cdn + "/cashier/operator-assets/" + n?.mid;
|
|
526
542
|
}
|
|
527
543
|
return "";
|
|
528
|
-
},
|
|
544
|
+
}, we = (e) => {
|
|
529
545
|
if (!e || !e.length)
|
|
530
546
|
return {
|
|
531
547
|
VerificationSummaryStatus: b.Unverified,
|
|
532
548
|
VerificationStatuses: []
|
|
533
549
|
};
|
|
534
|
-
const
|
|
535
|
-
if (
|
|
536
|
-
const f = be(
|
|
550
|
+
const n = Pe(e);
|
|
551
|
+
if (n && n.length) {
|
|
552
|
+
const f = be(n);
|
|
537
553
|
return {
|
|
538
554
|
VerificationSummaryStatus: f.Status,
|
|
539
555
|
VerificationUrl: f.Flags?.DeferredUrlKey,
|
|
540
|
-
VerificationStatuses: Q(
|
|
556
|
+
VerificationStatuses: Q(n, f.Status)
|
|
541
557
|
};
|
|
542
558
|
} else
|
|
543
559
|
return {
|
|
544
|
-
VerificationSummaryStatus: e.some((
|
|
560
|
+
VerificationSummaryStatus: e.some((D) => D.Status === b.Failed) ? b.Failed : b.Verified,
|
|
545
561
|
VerificationStatuses: Q(e, [b.Failed])
|
|
546
562
|
};
|
|
547
563
|
}, be = (e) => e.reduce(
|
|
548
|
-
(
|
|
564
|
+
(n, f) => n ? new Date(n) < new Date(f) ? f : n : f,
|
|
549
565
|
0
|
|
550
|
-
), Q = (e,
|
|
566
|
+
), Q = (e, n) => e.filter((f) => n.includes(f.Status)).map((f) => ({
|
|
551
567
|
Type: f.Type,
|
|
552
568
|
Vendor: f.VendorName,
|
|
553
569
|
VerificationDocuments: f.Documents ? [...f.Documents] : [],
|
|
554
570
|
VerificationUrlType: f.FlowInfo?.Type,
|
|
555
571
|
VerificationUrl: f.FlowInfo?.Url
|
|
556
|
-
})),
|
|
557
|
-
const
|
|
558
|
-
return
|
|
559
|
-
}, Oe = (e) => e.VendorName ===
|
|
560
|
-
switch (
|
|
572
|
+
})), Pe = (e) => e.filter((n) => ve.includes(n.Status) ? n.FlowInfo && n.FlowInfo.Url || ze(n) || Oe(n) : !1), ze = (e) => {
|
|
573
|
+
const n = e.Documents && e.VendorName === I.Manual, f = e.Documents && e.Documents.some((D) => D.Status === X.Requested);
|
|
574
|
+
return n && f;
|
|
575
|
+
}, Oe = (e) => e.VendorName === I.ShuftiPro && e.Status === b.Referred, Ve = () => {
|
|
576
|
+
switch (C.VerificationSummaryStatus) {
|
|
561
577
|
case b.InProgress:
|
|
562
578
|
const e = [];
|
|
563
|
-
return
|
|
564
|
-
e.push(
|
|
579
|
+
return H.forEach((n) => {
|
|
580
|
+
e.push(De(n));
|
|
565
581
|
}), e;
|
|
566
582
|
case b.Referred:
|
|
567
|
-
return [
|
|
583
|
+
return [o("verification.idenfy.referred-awaiting")];
|
|
568
584
|
case b.Failed:
|
|
569
|
-
return [
|
|
585
|
+
return [o("verification.message.failed")];
|
|
570
586
|
}
|
|
571
|
-
},
|
|
572
|
-
const
|
|
573
|
-
if (e ===
|
|
574
|
-
return
|
|
587
|
+
}, De = (e) => {
|
|
588
|
+
const n = C.VerificationStatuses.filter((f) => f.Vendor === e);
|
|
589
|
+
if (e === I.ShuftiPro)
|
|
590
|
+
return Se(n);
|
|
575
591
|
{
|
|
576
|
-
const f =
|
|
577
|
-
link: `<a href="${
|
|
592
|
+
const f = o("verification.idenfy.link-name"), D = {
|
|
593
|
+
link: `<a href="${n[0].VerificationUrl}" target="_blank">${f}</a>`
|
|
578
594
|
};
|
|
579
|
-
return
|
|
595
|
+
return o("verification.idenfy.in-progress", { values: D });
|
|
580
596
|
}
|
|
581
|
-
},
|
|
582
|
-
const
|
|
597
|
+
}, Se = (e) => {
|
|
598
|
+
const n = [], f = {}, D = [
|
|
583
599
|
F.Biometric,
|
|
584
600
|
F.Documents,
|
|
585
601
|
F.ProofOfAddress,
|
|
@@ -587,30 +603,30 @@ function li(t, i, r) {
|
|
|
587
603
|
F.SourceOfWealth
|
|
588
604
|
];
|
|
589
605
|
e.forEach((M) => {
|
|
590
|
-
|
|
606
|
+
D.includes(M.Type) && (n.push(M.Type), f[M.Type] = Be(M, Ae(M.Type)));
|
|
591
607
|
});
|
|
592
|
-
let Z =
|
|
593
|
-
return Z ?
|
|
594
|
-
}, Be = (e,
|
|
608
|
+
let Z = n.every((M) => W.has(M)), j = `verification.shuftipro.in-progress.${n.sort().join(".")}`;
|
|
609
|
+
return Z ? o("verification.shuftipro.validations-started") : o(j, { values: f });
|
|
610
|
+
}, Be = (e, n) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${n}</a>`, Ae = (e) => o(`verification.shuftipro.link-name.${e}`), xe = () => {
|
|
595
611
|
r(4, m = !m);
|
|
596
|
-
}, _e = () => {
|
|
597
|
-
r(5, h = !Ne(me));
|
|
598
612
|
}, Ce = () => {
|
|
599
|
-
|
|
613
|
+
r(5, h = !Ye(me));
|
|
614
|
+
}, _e = () => {
|
|
615
|
+
w = L + "/" + d + "/" + fi;
|
|
600
616
|
try {
|
|
601
|
-
fetch(
|
|
617
|
+
fetch(w, { method: "HEAD" }).then((e) => {
|
|
602
618
|
r(6, c = e.ok);
|
|
603
619
|
});
|
|
604
620
|
} catch {
|
|
605
621
|
r(6, c = !1);
|
|
606
622
|
}
|
|
607
623
|
}, qe = () => {
|
|
608
|
-
y.length > 0 && (
|
|
624
|
+
y.length > 0 && (U = y.split(","));
|
|
609
625
|
}, Te = () => {
|
|
610
626
|
window.dispatchEvent(new CustomEvent(
|
|
611
627
|
"modal-update",
|
|
612
628
|
{
|
|
613
|
-
detail: { type: "video", data: { videoSrc:
|
|
629
|
+
detail: { type: "video", data: { videoSrc: w } }
|
|
614
630
|
}
|
|
615
631
|
));
|
|
616
632
|
};
|
|
@@ -618,12 +634,12 @@ function li(t, i, r) {
|
|
|
618
634
|
K = this.clientHeight, r(8, K);
|
|
619
635
|
}
|
|
620
636
|
function Fe(e) {
|
|
621
|
-
|
|
637
|
+
Ke[e ? "unshift" : "push"](() => {
|
|
622
638
|
O = e, r(2, O);
|
|
623
639
|
});
|
|
624
640
|
}
|
|
625
641
|
return t.$$set = (e) => {
|
|
626
|
-
"endpoint" in e && r(12, a = e.endpoint), "lang" in e && r(13, d = e.lang), "translationurl" in e && r(14, p = e.translationurl), "clientstyling" in e && r(0, V = e.clientstyling), "clientstylingurl" in e && r(1, k = e.clientstylingurl), "session" in e && r(15, z = e.session), "customerid" in e && r(16,
|
|
642
|
+
"endpoint" in e && r(12, a = e.endpoint), "lang" in e && r(13, d = e.lang), "translationurl" in e && r(14, p = e.translationurl), "clientstyling" in e && r(0, V = e.clientstyling), "clientstylingurl" in e && r(1, k = e.clientstylingurl), "session" in e && r(15, z = e.session), "customerid" in e && r(16, S = e.customerid), "playersession" in e && r(17, A = e.playersession), "userroles" in e && r(18, y = e.userroles), "mbsource" in e && r(19, g = e.mbsource);
|
|
627
643
|
}, t.$$.update = () => {
|
|
628
644
|
t.$$.dirty[0] & /*userroles*/
|
|
629
645
|
262144 && y && qe(), t.$$.dirty[0] & /*lang*/
|
|
@@ -631,10 +647,10 @@ function li(t, i, r) {
|
|
|
631
647
|
167936 && a && z && A && J(), t.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
632
648
|
167936 && a && !z && A && ke(), t.$$.dirty[0] & /*translationurl*/
|
|
633
649
|
16384 && p && he(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
634
|
-
5 && V && O &&
|
|
635
|
-
6 && k && O &&
|
|
636
|
-
1048576 && L &&
|
|
637
|
-
524292 && g && O &&
|
|
650
|
+
5 && V && O && ei(O, V), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
651
|
+
6 && k && O && ii(O, k), t.$$.dirty[0] & /*staticCdnUrl*/
|
|
652
|
+
1048576 && L && _e(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
653
|
+
524292 && g && O && ri(O, `${g}.Style`, R);
|
|
638
654
|
}, [
|
|
639
655
|
V,
|
|
640
656
|
k,
|
|
@@ -645,14 +661,14 @@ function li(t, i, r) {
|
|
|
645
661
|
c,
|
|
646
662
|
u,
|
|
647
663
|
K,
|
|
648
|
-
|
|
664
|
+
o,
|
|
649
665
|
xe,
|
|
650
666
|
Te,
|
|
651
667
|
a,
|
|
652
668
|
d,
|
|
653
669
|
p,
|
|
654
670
|
z,
|
|
655
|
-
|
|
671
|
+
S,
|
|
656
672
|
A,
|
|
657
673
|
y,
|
|
658
674
|
g,
|
|
@@ -661,9 +677,9 @@ function li(t, i, r) {
|
|
|
661
677
|
Fe
|
|
662
678
|
];
|
|
663
679
|
}
|
|
664
|
-
class ci extends
|
|
680
|
+
class ci extends He {
|
|
665
681
|
constructor(i) {
|
|
666
|
-
super(),
|
|
682
|
+
super(), Ie(
|
|
667
683
|
this,
|
|
668
684
|
i,
|
|
669
685
|
li,
|
|
@@ -746,7 +762,7 @@ class ci extends Ie {
|
|
|
746
762
|
this.$$set({ mbsource: i }), B();
|
|
747
763
|
}
|
|
748
764
|
}
|
|
749
|
-
|
|
765
|
+
Je(ci, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
|
|
750
766
|
export {
|
|
751
767
|
ci as default
|
|
752
768
|
};
|
|
@@ -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, d as v, z as d, g as a, l as h, v as g, m as o, Q as r, p as t, c as k } from "./CashierPage-CRTe3srS.js";
|
|
2
2
|
function _(n) {
|
|
3
3
|
v(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
|
|
4
4
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("./CashierPage-GUVKpACj.cjs");function o(l){t.append_styles(l,"svelte-17lvd7j","svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}")}function c(l){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,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function d(l){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,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function h(l){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(i,s){t.insert(i,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(i){i&&t.detach(e)}}}function p(l){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(i,s){t.insert(i,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(i){i&&t.detach(e)}}}function f(l){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,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function u(l){let e;function a(i,s){if(i[0]==="Authorized")return f;if(i[0]==="Failed")return p;if(i[0]==="Pending")return h;if(i[0]==="Rejected")return d;if(i[0]==="Success")return c}let r=a(l),n=r&&r(l);return{c(){n&&n.c(),e=t.empty()},m(i,s){n&&n.m(i,s),t.insert(i,e,s)},p(i,[s]){r!==(r=a(i))&&(n&&n.d(1),n=r&&r(i),n&&(n.c(),n.m(e.parentNode,e)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),n&&n.d(i)}}}function v(l,e,a){let{status:r=""}=e;return l.$$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;
|