@everymatrix/cashier-page 1.69.69 → 1.69.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/components/{CashierCarousel-dZ9EcCOe.js → CashierCarousel-CBJt8F6x.js} +4 -4
  2. package/components/{CashierCarousel-DYqTne2y.js → CashierCarousel-CfmPEPcN.js} +4 -4
  3. package/components/{CashierError-eMZ_Y8Lb.js → CashierError-CdOvfojJ.js} +1 -1
  4. package/components/{CashierError-B5w8w6dD.js → CashierError-DGNe2xuq.js} +1 -1
  5. package/components/{CashierHeader-BHNvb1-z.js → CashierHeader-Cs8CEaF9.js} +1 -1
  6. package/components/{CashierHeader-BovGOLQY.js → CashierHeader-xmXCTyKW.js} +1 -1
  7. package/components/{CashierIframeRedirect-ZwVoUTMf.js → CashierIframeRedirect-WvZUPBqV.js} +3 -3
  8. package/components/{CashierIframeRedirect-BEiwv80W.js → CashierIframeRedirect-qUGXGx3s.js} +3 -3
  9. package/components/{CashierMethodDetails-CW7C8Yvb.js → CashierMethodDetails-CZH49Fbk.js} +2567 -2575
  10. package/components/CashierMethodDetails-D-yMmahK.cjs +85 -0
  11. package/components/{CashierMethodDetails-9BeLdmpe.js → CashierMethodDetails-DtBMR3Gl.js} +2085 -2097
  12. package/components/{CashierMethodsList-BTVaeHdg.js → CashierMethodsList-BashajhV.js} +2 -2
  13. package/components/{CashierMethodsList-DylKurFC.cjs → CashierMethodsList-DSEMnW8P.cjs} +1 -1
  14. package/components/{CashierMethodsList-PWU1R3Tc.js → CashierMethodsList-WHF8nfid.js} +2 -2
  15. package/components/{CashierModal-D9NmY7iy.js → CashierModal-C3xM7LBv.js} +14 -14
  16. package/components/{CashierModal-C8mj7URo.js → CashierModal-Dt6jrD_7.js} +14 -14
  17. package/components/{CashierNotifications-BngpK8X4.js → CashierNotifications-BlLqvSEs.js} +1 -1
  18. package/components/{CashierNotifications-CX7SdGzZ.js → CashierNotifications-DE3qEdiQ.js} +1 -1
  19. package/components/CashierPage-CRr4WELR.cjs +1 -0
  20. package/components/{CashierPage-DNab5cLz.js → CashierPage-CokXt1Bz.js} +439 -439
  21. package/components/{CashierPage-CstDhtmy.js → CashierPage-D3wSp1F6.js} +443 -443
  22. package/components/{CashierReceiptPage-DsXAwatG.cjs → CashierReceiptPage-COrAdE73.cjs} +1 -1
  23. package/components/{CashierReceiptPage-BvZCrXxs.js → CashierReceiptPage-DOh9j1sj.js} +12 -12
  24. package/components/{CashierReceiptPage-unBbB_Jc.js → CashierReceiptPage-DRKp8sTO.js} +12 -12
  25. package/components/{CashierSessionExpirationModal-CpXjSA8u.cjs → CashierSessionExpirationModal-DpWXu2Pn.cjs} +1 -1
  26. package/components/{CashierSessionExpirationModal-DoZltJgp.js → CashierSessionExpirationModal-Dz0mjHXB.js} +3 -3
  27. package/components/{CashierSessionExpirationModal-BkVXKSAN.js → CashierSessionExpirationModal-S7cl-cVx.js} +3 -3
  28. package/components/{CashierSpinner-BEoR90rw.js → CashierSpinner-BOrGTt9R.js} +1 -1
  29. package/components/{CashierSpinner-CrIWXsSn.js → CashierSpinner-ClchrEIo.js} +1 -1
  30. package/components/{CashierTransactionHistory-gR1A2f4c.js → CashierTransactionHistory-BckTfimD.js} +52 -52
  31. package/components/{CashierTransactionHistory-CnEbhq5N.cjs → CashierTransactionHistory-ByijXCaI.cjs} +1 -1
  32. package/components/{CashierTransactionHistory-G-40651N.js → CashierTransactionHistory-Dp7iiTLc.js} +52 -52
  33. package/components/{CashierVerifications-4yAcpmBG.js → CashierVerifications-BPurxVwq.js} +2 -2
  34. package/components/{CashierVerifications-DWfYckzB.cjs → CashierVerifications-DCnW6JT6.cjs} +1 -1
  35. package/components/{CashierVerifications-dp3vSO1J.js → CashierVerifications-DySlpNtZ.js} +2 -2
  36. package/components/{TxnStatusIcon-DPAn1ZlZ.js → TxnStatusIcon-B8ahOe2h.js} +1 -1
  37. package/components/{TxnStatusIcon-DqWUwgBR.js → TxnStatusIcon-CcSmN-7i.js} +1 -1
  38. package/components/{TxnTypeIcons-BveshEiq.js → TxnTypeIcons-DA9zdId9.js} +1 -1
  39. package/components/{TxnTypeIcons-C4h0GmqA.js → TxnTypeIcons-zaR71CG9.js} +1 -1
  40. package/es2015/cashier-page.cjs +1 -1
  41. package/es2015/cashier-page.js +1 -1
  42. package/esnext/cashier-page.js +1 -1
  43. package/package.json +1 -1
  44. package/components/CashierMethodDetails-DUa6HCpd.cjs +0 -85
  45. package/components/CashierPage-C6pByXUA.cjs +0 -1
@@ -1,9 +1,9 @@
1
- import { a as at, $ as lt, i as it, S as nt, b as ot, s as rt, f as E, c as wt, e as A, t as W, g as N, _ as me, a0 as pe, k as j, m as p, o as u, p as ct, q as ut, R as ee, T as He, v as R, W as te, l as o, n as F, w as C, G as L, A as $, y as dt, a4 as ft, K as Ze, a5 as Qe, x as Re, r as $e, a6 as ke, z as ze, O as De, a7 as et, a8 as tt, a9 as st, B as yt, C as mt, D as pt, E as vt, F as ht } from "./CashierCarousel-dZ9EcCOe.js";
2
- import { f as Ee } from "./CashierModal-C8mj7URo.js";
3
- import { d as se } from "./CashierMethodDetails-9BeLdmpe.js";
1
+ import { a as at, $ as lt, i as it, S as nt, b as ot, s as rt, f as E, c as wt, e as A, t as B, g as N, _ as me, a0 as pe, k as j, m as p, o as u, p as ct, q as ut, R as ee, T as He, v as R, V as te, l as o, n as F, w as C, G as L, A as $, y as dt, a4 as ft, K as Ze, a5 as Qe, x as Re, r as $e, a6 as ke, z as ze, P as De, a7 as et, a8 as tt, a9 as st, B as yt, C as mt, D as pt, E as vt, F as ht } from "./CashierCarousel-CBJt8F6x.js";
2
+ import { f as Ee } from "./CashierModal-Dt6jrD_7.js";
3
+ import { d as se } from "./CashierMethodDetails-DtBMR3Gl.js";
4
4
  import "../stencil/ui-image-DIEeZy5u.js";
5
- import { T as gt } from "./TxnTypeIcons-BveshEiq.js";
6
- import { T as _t } from "./TxnStatusIcon-DqWUwgBR.js";
5
+ import { T as gt } from "./TxnTypeIcons-zaR71CG9.js";
6
+ import { T as _t } from "./TxnStatusIcon-CcSmN-7i.js";
7
7
  it({
8
8
  fallbackLocale: "en"
9
9
  });
@@ -72,11 +72,11 @@ function Me(a, e, s) {
72
72
  const t = a.slice();
73
73
  return t[42] = e[s], t[44] = s, t;
74
74
  }
75
- function Oe(a, e, s) {
75
+ function Ve(a, e, s) {
76
76
  const t = a.slice();
77
77
  return t[45] = e[s][0], t[46] = e[s][1], t;
78
78
  }
79
- function Ve(a, e, s) {
79
+ function Oe(a, e, s) {
80
80
  const t = a.slice();
81
81
  return t[49] = e[s], t[44] = s, t;
82
82
  }
@@ -137,14 +137,14 @@ function kt(a) {
137
137
  a[10]
138
138
  ), H = [];
139
139
  for (let y = 0; y < P.length; y += 1)
140
- H[y] = We(Ue(a, P, y));
140
+ H[y] = Be(Ue(a, P, y));
141
141
  let M = ee(
142
142
  /*txnHistory*/
143
143
  a[7]
144
144
  ), k = [];
145
145
  for (let y = 0; y < M.length; y += 1)
146
146
  k[y] = Ke(Me(a, M, y));
147
- const ae = (y) => W(k[y], 1, 1, () => {
147
+ const ae = (y) => B(k[y], 1, 1, () => {
148
148
  k[y] = null;
149
149
  });
150
150
  return {
@@ -174,7 +174,7 @@ function kt(a) {
174
174
  p(y, D) {
175
175
  if (/*copied*/
176
176
  y[8] ? b ? (b.p(y, D), D[0] & /*copied*/
177
- 256 && N(b, 1)) : (b = Ye(y), b.c(), N(b, 1), b.m(e, s)) : b && (me(), W(b, 1, 1, () => {
177
+ 256 && N(b, 1)) : (b = Ye(y), b.c(), N(b, 1), b.m(e, s)) : b && (me(), B(b, 1, 1, () => {
178
178
  b = null;
179
179
  }), pe()), (!g || D[0] & /*$_*/
180
180
  4096) && c !== (c = /*$_*/
@@ -187,7 +187,7 @@ function kt(a) {
187
187
  let m;
188
188
  for (m = 0; m < P.length; m += 1) {
189
189
  const z = Ue(y, P, m);
190
- H[m] ? H[m].p(z, D) : (H[m] = We(z), H[m].c(), H[m].m(f, null));
190
+ H[m] ? H[m].p(z, D) : (H[m] = Be(z), H[m].c(), H[m].m(f, null));
191
191
  }
192
192
  for (; m < H.length; m += 1)
193
193
  H[m].d(1);
@@ -225,9 +225,9 @@ function kt(a) {
225
225
  }
226
226
  },
227
227
  o(y) {
228
- W(b), k = k.filter(Boolean);
228
+ B(b), k = k.filter(Boolean);
229
229
  for (let D = 0; D < k.length; D += 1)
230
- W(k[D]);
230
+ B(k[D]);
231
231
  g = !1;
232
232
  },
233
233
  d(y) {
@@ -268,7 +268,7 @@ function Ye(a) {
268
268
  }
269
269
  };
270
270
  }
271
- function We(a) {
271
+ function Be(a) {
272
272
  let e, s = (
273
273
  /*$_*/
274
274
  a[12](`transaction${/*columnName*/
@@ -443,7 +443,7 @@ function Rt(a) {
443
443
  w || (N(e.$$.fragment, r), w = !0);
444
444
  },
445
445
  o(r) {
446
- W(e.$$.fragment, r), w = !1;
446
+ B(e.$$.fragment, r), w = !1;
447
447
  },
448
448
  d(r) {
449
449
  r && (A(s), A(t)), et(e, r);
@@ -551,7 +551,7 @@ function jt(a) {
551
551
  s || (N(e.$$.fragment, t), s = !0);
552
552
  },
553
553
  o(t) {
554
- W(e.$$.fragment, t), s = !1;
554
+ B(e.$$.fragment, t), s = !1;
555
555
  },
556
556
  d(t) {
557
557
  et(e, t);
@@ -584,7 +584,7 @@ function It(a) {
584
584
  }
585
585
  };
586
586
  }
587
- function Be(a) {
587
+ function We(a) {
588
588
  let e, s, t, l, c, w, r, i;
589
589
  const v = [
590
590
  It,
@@ -637,7 +637,7 @@ function Be(a) {
637
637
  },
638
638
  p(d, h) {
639
639
  let g = t;
640
- t = f(d), t === g ? _[t].p(d, h) : (me(), W(_[g], 1, 1, () => {
640
+ t = f(d), t === g ? _[t].p(d, h) : (me(), B(_[g], 1, 1, () => {
641
641
  _[g] = null;
642
642
  }), pe(), l = _[t], l ? l.p(d, h) : (l = _[t] = v[t](d), l.c()), N(l, 1), l.m(s, null)), (!i || h[0] & /*tableColumns*/
643
643
  1024 && c !== (c = ke(
@@ -651,7 +651,7 @@ function Be(a) {
651
651
  i || (N(l), i = !0);
652
652
  },
653
653
  o(d) {
654
- W(l), i = !1;
654
+ B(l), i = !1;
655
655
  },
656
656
  d(d) {
657
657
  d && A(e), _[t].d();
@@ -684,10 +684,10 @@ function qe(a) {
684
684
  ), fe, ve, Z, ie, Q = (
685
685
  /*$_*/
686
686
  a[12]("transactionCodeTitle") + ""
687
- ), we, he, ge, B, ce, ue = (
687
+ ), we, he, ge, W, ce, ue = (
688
688
  /*transaction*/
689
689
  a[42].Code + ""
690
- ), n, T, x, I, Y, ne, _e, Fe, Ae, ye, je, Te, oe, be, Se, Ce, Ie, xe, Pe, V = (
690
+ ), n, T, x, I, Y, ne, _e, Fe, Ae, ye, je, Te, oe, be, Se, Ce, Ie, xe, Pe, O = (
691
691
  /*transaction*/
692
692
  a[42].RejectionNote && Ge(a)
693
693
  ), U = (
@@ -696,49 +696,49 @@ function qe(a) {
696
696
  );
697
697
  return {
698
698
  c() {
699
- e = p("tr"), s = p("td"), t = p("div"), l = p("div"), c = p("div"), w = p("span"), i = C(r), v = C(" :"), _ = F(), f = p("span"), h = C(d), g = F(), b = p("div"), P = p("span"), M = C(H), k = C(" :"), ae = F(), y = p("span"), m = C(D), z = F(), G = p("div"), X = p("span"), J = C(le), q = C(" :"), de = F(), K = p("span"), fe = C(re), ve = F(), Z = p("div"), ie = p("span"), we = C(Q), he = C(" :"), ge = F(), B = p("span"), ce = p("span"), n = C(ue), T = F(), x = De("svg"), I = De("g"), Y = De("path"), ne = De("path"), Fe = F(), V && V.c(), Ae = F(), ye = p("div"), U && U.c(), je = F(), Te = p("div"), oe = p("ui-image"), Ie = F(), u(w, "class", "DetailsTitle svelte-ywswwa"), u(f, "class", "DetailsValue svelte-ywswwa"), u(c, "class", "DetailsRow svelte-ywswwa"), u(P, "class", "DetailsTitle svelte-ywswwa"), u(y, "class", "DetailsValue svelte-ywswwa"), u(b, "class", "DetailsRow svelte-ywswwa"), u(X, "class", "DetailsTitle svelte-ywswwa"), u(K, "class", "DetailsValue svelte-ywswwa"), u(G, "class", "DetailsRow svelte-ywswwa"), u(ie, "class", "DetailsTitle svelte-ywswwa"), u(ce, "class", "svelte-ywswwa"), u(Y, "d", "M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"), u(Y, "stroke", "#666666"), u(Y, "stroke-linecap", "round"), u(Y, "stroke-linejoin", "round"), u(Y, "class", "svelte-ywswwa"), u(ne, "d", "M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"), u(ne, "stroke", "#666666"), u(ne, "stroke-linecap", "round"), u(ne, "stroke-linejoin", "round"), u(ne, "class", "svelte-ywswwa"), u(I, "opacity", "0.5"), u(I, "class", "svelte-ywswwa"), u(x, "xmlns", "http://www.w3.org/2000/svg"), u(x, "width", "19"), u(x, "height", "19"), u(x, "viewBox", "0 0 19 19"), u(x, "fill", "none"), u(x, "class", "svelte-ywswwa"), u(B, "data-copy", _e = /*transaction*/
700
- a[42].Code), u(B, "class", "DetailsValue CopyCode svelte-ywswwa"), u(Z, "class", "DetailsRow svelte-ywswwa"), u(l, "class", "StaticDetails svelte-ywswwa"), u(ye, "class", "DynamicDetails svelte-ywswwa"), ze(oe.src, be = /*transaction*/
699
+ e = p("tr"), s = p("td"), t = p("div"), l = p("div"), c = p("div"), w = p("span"), i = C(r), v = C(" :"), _ = F(), f = p("span"), h = C(d), g = F(), b = p("div"), P = p("span"), M = C(H), k = C(" :"), ae = F(), y = p("span"), m = C(D), z = F(), G = p("div"), X = p("span"), J = C(le), q = C(" :"), de = F(), K = p("span"), fe = C(re), ve = F(), Z = p("div"), ie = p("span"), we = C(Q), he = C(" :"), ge = F(), W = p("span"), ce = p("span"), n = C(ue), T = F(), x = De("svg"), I = De("g"), Y = De("path"), ne = De("path"), Fe = F(), O && O.c(), Ae = F(), ye = p("div"), U && U.c(), je = F(), Te = p("div"), oe = p("ui-image"), Ie = F(), u(w, "class", "DetailsTitle svelte-ywswwa"), u(f, "class", "DetailsValue svelte-ywswwa"), u(c, "class", "DetailsRow svelte-ywswwa"), u(P, "class", "DetailsTitle svelte-ywswwa"), u(y, "class", "DetailsValue svelte-ywswwa"), u(b, "class", "DetailsRow svelte-ywswwa"), u(X, "class", "DetailsTitle svelte-ywswwa"), u(K, "class", "DetailsValue svelte-ywswwa"), u(G, "class", "DetailsRow svelte-ywswwa"), u(ie, "class", "DetailsTitle svelte-ywswwa"), u(ce, "class", "svelte-ywswwa"), u(Y, "d", "M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"), u(Y, "stroke", "#666666"), u(Y, "stroke-linecap", "round"), u(Y, "stroke-linejoin", "round"), u(Y, "class", "svelte-ywswwa"), u(ne, "d", "M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"), u(ne, "stroke", "#666666"), u(ne, "stroke-linecap", "round"), u(ne, "stroke-linejoin", "round"), u(ne, "class", "svelte-ywswwa"), u(I, "opacity", "0.5"), u(I, "class", "svelte-ywswwa"), u(x, "xmlns", "http://www.w3.org/2000/svg"), u(x, "width", "19"), u(x, "height", "19"), u(x, "viewBox", "0 0 19 19"), u(x, "fill", "none"), u(x, "class", "svelte-ywswwa"), u(W, "data-copy", _e = /*transaction*/
700
+ a[42].Code), u(W, "class", "DetailsValue CopyCode svelte-ywswwa"), u(Z, "class", "DetailsRow svelte-ywswwa"), u(l, "class", "StaticDetails svelte-ywswwa"), u(ye, "class", "DynamicDetails svelte-ywswwa"), ze(oe.src, be = /*transaction*/
701
701
  a[42].Logo) || $(oe, "src", be), $(oe, "class", "svelte-ywswwa"), u(Te, "class", "DetailsLogo svelte-ywswwa"), u(t, "class", "ExpandedContent svelte-ywswwa"), u(s, "colspan", Ce = /*tableColumns*/
702
702
  a[10].length), u(s, "class", "no-padding svelte-ywswwa"), u(e, "class", "ExpandedRow svelte-ywswwa");
703
703
  },
704
- m(S, O) {
705
- j(S, e, O), o(e, s), o(s, t), o(t, l), o(l, c), o(c, w), o(w, i), o(w, v), o(c, _), o(c, f), o(f, h), o(l, g), o(l, b), o(b, P), o(P, M), o(P, k), o(b, ae), o(b, y), o(y, m), o(l, z), o(l, G), o(G, X), o(X, J), o(X, q), o(G, de), o(G, K), o(K, fe), o(l, ve), o(l, Z), o(Z, ie), o(ie, we), o(ie, he), o(Z, ge), o(Z, B), o(B, ce), o(ce, n), o(B, T), o(B, x), o(x, I), o(I, Y), o(I, ne), o(l, Fe), V && V.m(l, null), o(t, Ae), o(t, ye), U && U.m(ye, null), o(t, je), o(t, Te), o(Te, oe), o(e, Ie), xe || (Pe = Re(
706
- B,
704
+ m(S, V) {
705
+ j(S, e, V), o(e, s), o(s, t), o(t, l), o(l, c), o(c, w), o(w, i), o(w, v), o(c, _), o(c, f), o(f, h), o(l, g), o(l, b), o(b, P), o(P, M), o(P, k), o(b, ae), o(b, y), o(y, m), o(l, z), o(l, G), o(G, X), o(X, J), o(X, q), o(G, de), o(G, K), o(K, fe), o(l, ve), o(l, Z), o(Z, ie), o(ie, we), o(ie, he), o(Z, ge), o(Z, W), o(W, ce), o(ce, n), o(W, T), o(W, x), o(x, I), o(I, Y), o(I, ne), o(l, Fe), O && O.m(l, null), o(t, Ae), o(t, ye), U && U.m(ye, null), o(t, je), o(t, Te), o(Te, oe), o(e, Ie), xe || (Pe = Re(
706
+ W,
707
707
  "mousedown",
708
708
  /*mousedown_handler*/
709
709
  a[30]
710
710
  ), xe = !0);
711
711
  },
712
- p(S, O) {
713
- O[0] & /*$_*/
712
+ p(S, V) {
713
+ V[0] & /*$_*/
714
714
  4096 && r !== (r = /*$_*/
715
- S[12]("transactionTypeTitle") + "") && R(i, r), O[0] & /*$_, txnHistory*/
715
+ S[12]("transactionTypeTitle") + "") && R(i, r), V[0] & /*$_, txnHistory*/
716
716
  4224 && d !== (d = /*$_*/
717
717
  S[12](`transactionType.${/*transaction*/
718
- S[42].Type}`) + "") && R(h, d), O[0] & /*$_*/
718
+ S[42].Type}`) + "") && R(h, d), V[0] & /*$_*/
719
719
  4096 && H !== (H = /*$_*/
720
- S[12]("transactionDateTitle") + "") && R(M, H), O[0] & /*txnHistory, datetimeformat*/
720
+ S[12]("transactionDateTitle") + "") && R(M, H), V[0] & /*txnHistory, datetimeformat*/
721
721
  160 && D !== (D = se(
722
722
  /*transaction*/
723
723
  S[42].DateTime
724
724
  ).format(
725
725
  /*datetimeformat*/
726
726
  S[5]
727
- ) + "") && R(m, D), O[0] & /*$_*/
727
+ ) + "") && R(m, D), V[0] & /*$_*/
728
728
  4096 && le !== (le = /*$_*/
729
- S[12]("transactionPaymentMethodTitle") + "") && R(J, le), O[0] & /*txnHistory*/
729
+ S[12]("transactionPaymentMethodTitle") + "") && R(J, le), V[0] & /*txnHistory*/
730
730
  128 && re !== (re = /*transaction*/
731
- S[42].PaymentMethod + "") && R(fe, re), O[0] & /*$_*/
731
+ S[42].PaymentMethod + "") && R(fe, re), V[0] & /*$_*/
732
732
  4096 && Q !== (Q = /*$_*/
733
- S[12]("transactionCodeTitle") + "") && R(we, Q), O[0] & /*txnHistory*/
733
+ S[12]("transactionCodeTitle") + "") && R(we, Q), V[0] & /*txnHistory*/
734
734
  128 && ue !== (ue = /*transaction*/
735
- S[42].Code + "") && R(n, ue), O[0] & /*txnHistory*/
735
+ S[42].Code + "") && R(n, ue), V[0] & /*txnHistory*/
736
736
  128 && _e !== (_e = /*transaction*/
737
- S[42].Code) && u(B, "data-copy", _e), /*transaction*/
738
- S[42].RejectionNote ? V ? V.p(S, O) : (V = Ge(S), V.c(), V.m(l, null)) : V && (V.d(1), V = null), /*transaction*/
739
- S[42].PaymentFields ? U ? U.p(S, O) : (U = Xe(S), U.c(), U.m(ye, null)) : U && (U.d(1), U = null), O[0] & /*txnHistory*/
737
+ S[42].Code) && u(W, "data-copy", _e), /*transaction*/
738
+ S[42].RejectionNote ? O ? O.p(S, V) : (O = Ge(S), O.c(), O.m(l, null)) : O && (O.d(1), O = null), /*transaction*/
739
+ S[42].PaymentFields ? U ? U.p(S, V) : (U = Xe(S), U.c(), U.m(ye, null)) : U && (U.d(1), U = null), V[0] & /*txnHistory*/
740
740
  128 && !ze(oe.src, be = /*transaction*/
741
- S[42].Logo) && $(oe, "src", be), O[0] & /*tableColumns*/
741
+ S[42].Logo) && $(oe, "src", be), V[0] & /*tableColumns*/
742
742
  1024 && Ce !== (Ce = /*tableColumns*/
743
743
  S[10].length) && u(s, "colspan", Ce);
744
744
  },
@@ -754,7 +754,7 @@ function qe(a) {
754
754
  },
755
755
  o: L,
756
756
  d(S) {
757
- S && A(e), V && V.d(), U && U.d(), xe = !1, Pe();
757
+ S && A(e), O && O.d(), U && U.d(), xe = !1, Pe();
758
758
  }
759
759
  };
760
760
  }
@@ -791,7 +791,7 @@ function Xe(a) {
791
791
  a[42].PaymentFields
792
792
  )), t = [];
793
793
  for (let l = 0; l < s.length; l += 1)
794
- t[l] = Je(Oe(a, s, l));
794
+ t[l] = Je(Ve(a, s, l));
795
795
  return {
796
796
  c() {
797
797
  for (let l = 0; l < t.length; l += 1)
@@ -812,7 +812,7 @@ function Xe(a) {
812
812
  ));
813
813
  let w;
814
814
  for (w = 0; w < s.length; w += 1) {
815
- const r = Oe(l, s, w);
815
+ const r = Ve(l, s, w);
816
816
  t[w] ? t[w].p(r, c) : (t[w] = Je(r), t[w].c(), t[w].m(e.parentNode, e));
817
817
  }
818
818
  for (; w < t.length; w += 1)
@@ -866,8 +866,8 @@ function Ke(a) {
866
866
  a[10]
867
867
  ), i = [];
868
868
  for (let d = 0; d < r.length; d += 1)
869
- i[d] = Be(Ve(a, r, d));
870
- const v = (d) => W(i[d], 1, 1, () => {
869
+ i[d] = We(Oe(a, r, d));
870
+ const v = (d) => B(i[d], 1, 1, () => {
871
871
  i[d] = null;
872
872
  });
873
873
  function _() {
@@ -917,8 +917,8 @@ function Ke(a) {
917
917
  );
918
918
  let g;
919
919
  for (g = 0; g < r.length; g += 1) {
920
- const b = Ve(a, r, g);
921
- i[g] ? (i[g].p(b, h), N(i[g], 1)) : (i[g] = Be(b), i[g].c(), N(i[g], 1), i[g].m(e, null));
920
+ const b = Oe(a, r, g);
921
+ i[g] ? (i[g].p(b, h), N(i[g], 1)) : (i[g] = We(b), i[g].c(), N(i[g], 1), i[g].m(e, null));
922
922
  }
923
923
  for (me(), g = r.length; g < i.length; g += 1)
924
924
  v(g);
@@ -952,7 +952,7 @@ function Ke(a) {
952
952
  o(d) {
953
953
  i = i.filter(Boolean);
954
954
  for (let h = 0; h < i.length; h += 1)
955
- W(i[h]);
955
+ B(i[h]);
956
956
  l = !1;
957
957
  },
958
958
  d(d) {
@@ -981,7 +981,7 @@ function Pt(a) {
981
981
  },
982
982
  p(i, v) {
983
983
  let _ = s;
984
- s = r(i), s === _ ? ~s && w[s].p(i, v) : (t && (me(), W(w[_], 1, 1, () => {
984
+ s = r(i), s === _ ? ~s && w[s].p(i, v) : (t && (me(), B(w[_], 1, 1, () => {
985
985
  w[_] = null;
986
986
  }), pe()), ~s ? (t = w[s], t ? t.p(i, v) : (t = w[s] = c[s](i), t.c()), N(t, 1), t.m(e, null)) : t = null);
987
987
  },
@@ -989,7 +989,7 @@ function Pt(a) {
989
989
  l || (N(t), l = !0);
990
990
  },
991
991
  o(i) {
992
- W(t), l = !1;
992
+ B(t), l = !1;
993
993
  },
994
994
  d(i) {
995
995
  i && A(e), ~s && w[s].d();
@@ -1107,7 +1107,7 @@ function zt(a, e, s) {
1107
1107
  delay: 0,
1108
1108
  duration: 250,
1109
1109
  css: (x) => `overflow: hidden; transform: translateY(${(1 - x) * 20}px); opacity: ${x}`
1110
- }), ge = (n) => Q(n), B = (n) => we(n), ce = (n) => Q(n, !1);
1110
+ }), ge = (n) => Q(n), W = (n) => we(n), ce = (n) => Q(n, !1);
1111
1111
  function ue(n) {
1112
1112
  dt[n ? "unshift" : "push"](() => {
1113
1113
  z = n, s(6, z);
@@ -1153,7 +1153,7 @@ function zt(a, e, s) {
1153
1153
  H,
1154
1154
  M,
1155
1155
  ge,
1156
- B,
1156
+ W,
1157
1157
  ce,
1158
1158
  ue
1159
1159
  ];
@@ -1,5 +1,5 @@
1
- import { a as Te, i as Oe, $ as Me, S as Be, b as qe, s as Le, f as A, c as Fe, G as Z, e as O, W as T, k as M, m as P, o as l, p as J, q as ze, M as Ee, y as Ie, A as H, R as X, T as Re, v as se, l as p, x as ne, O as U, n as F, w as ae, B as He, C as Ue, D as je, E as Ne, F as We } from "./CashierCarousel-dZ9EcCOe.js";
2
- import { d as Q, u as Ye, x as Ke } from "./CashierMethodDetails-9BeLdmpe.js";
1
+ import { a as Te, i as Oe, $ as Me, S as Be, b as qe, s as Le, f as A, c as Fe, G as Z, e as O, V as T, k as M, m as P, o as l, p as J, q as ze, M as Ee, y as Ie, A as H, R as X, T as Re, v as se, l as p, x as ne, P as U, n as F, w as ae, B as He, C as Ue, D as je, E as Ne, F as We } from "./CashierCarousel-CBJt8F6x.js";
2
+ import { d as Q, u as Ye, x as Ke } from "./CashierMethodDetails-DtBMR3Gl.js";
3
3
  function $(r, i) {
4
4
  Te(r, i);
5
5
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-D5kSWky0.cjs"),L=require("./CashierMethodDetails-DUa6HCpd.cjs");function H(n,t){e.addMessages(n,t)}function ge(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const j={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"},hr:{verificationsRequired:"Potrebne su provjere","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"}};function ve(n){e.append_styles(n,"svelte-12eenn1","*,*::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.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{position:relative;display:flex;flex-direction:column;width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1);background-color:rgba(255, 255, 255, 0.063);z-index:1;width:97%;margin:auto}.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:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(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:rotate(180deg)}.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 U(n,t,r){const s=n.slice();return s[53]=t[r],s}function we(n){let t,r=n[3].length>0&&N(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=N(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(s){s&&e.detach(t),r&&r.d()}}}function ye(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 N(n){let t,r,s,a,l,d,g,P=n[8]("verificationsRequired")+"",w,k,C,D,v,_,x,q,b=e.ensure_array_like(n[3]),h=[];for(let f=0;f<b.length;f+=1)h[f]=W(U(n,b,f));let m=n[6]&&Y(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"),d=e.space(),g=e.element("p"),w=e.text(P),k=e.space(),C=e.element("span"),C.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>',D=e.space(),v=e.element("div");for(let f=0;f<h.length;f+=1)h[f].c();_=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(C,"class","CashierVerificationChevron"),e.toggle_class(C,"ShowVerifications",n[4]),e.attr(t,"class","VerificationsHeader"),e.attr(v,"class","VerificationsList"),e.toggle_class(v,"ShowVerifications",n[4])},m(f,V){e.insert(f,t,V),e.append(t,r),e.append(r,s),e.append(r,a),e.append(r,l),e.append(t,d),e.append(t,g),e.append(g,w),e.append(t,k),e.append(t,C),e.insert(f,D,V),e.insert(f,v,V);for(let u=0;u<h.length;u+=1)h[u]&&h[u].m(v,null);e.append(v,_),m&&m.m(v,null),x||(q=e.listen(t,"click",n[9]),x=!0)},p(f,V){if(V[0]&256&&P!==(P=f[8]("verificationsRequired")+"")&&e.set_data(w,P),V[0]&16&&e.toggle_class(C,"ShowVerifications",f[4]),V[0]&8){b=e.ensure_array_like(f[3]);let u;for(u=0;u<b.length;u+=1){const T=U(f,b,u);h[u]?h[u].p(T,V):(h[u]=W(T),h[u].c(),h[u].m(v,_))}for(;u<h.length;u+=1)h[u].d(1);h.length=b.length}f[6]?m?m.p(f,V):(m=Y(f),m.c(),m.m(v,null)):m&&(m.d(1),m=null),V[0]&16&&e.toggle_class(v,"ShowVerifications",f[4])},d(f){f&&(e.detach(t),e.detach(D),e.detach(v)),e.destroy_each(h,f),m&&m.d(),x=!1,q()}}}function W(n){let t,r,s,a,l=n[53]+"";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(d,g){e.insert(d,t,g),e.append(t,r),e.append(t,s),e.append(t,a),a.innerHTML=l},p(d,g){g[0]&8&&l!==(l=d[53]+"")&&(a.innerHTML=l)},d(d){d&&e.detach(t)}}}function Y(n){let t,r,s,a,l=n[8]("verification.video.how-to")+"",d,g,P;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"),d=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,k){e.insert(w,t,k),e.append(t,r),e.append(t,s),e.append(t,a),e.append(a,d),g||(P=e.listen(t,"click",n[10]),g=!0)},p(w,k){k[0]&256&&l!==(l=w[8]("verification.video.how-to")+"")&&e.set_data(d,l),k[0]&32&&e.toggle_class(a,"CashierVerificationVideoLinkDesktop",w[5])},d(w){w&&e.detach(t),g=!1,P()}}}function ke(n){let t;function r(l,d){if(l[7])return ye;if(l[3])return we}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,d){e.insert(l,t,d),a&&a.m(t,null),n[19](t)},p(l,d){s===(s=r(l))&&a?a.p(l,d):(a&&a.d(1),a=s&&s(l),a&&(a.c(),a.m(t,null))),d[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[19](null)}}}const Ve="verification_explanation_video_widgets.MP4";function Pe(n,t,r){let s,a;e.component_subscribe(n,e.$format,i=>r(8,s=i)),e.component_subscribe(n,L.xPaymentSessionToken,i=>r(27,a=i)),L.dayjs.extend(L.utc);let{endpoint:l}=t,{lang:d="en"}=t,{translationurl:g=""}=t,{clientstyling:P=""}=t,{clientstylingurl:w=""}=t,{session:k=""}=t,{customerid:C=""}=t,{playersession:D=""}=t,{mbsource:v=""}=t,_,x=new Set,q=new Set,b,h,m,f=!1,V=!0,u=!1,T="",F=!1,Z=window.navigator.userAgent;var O;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(O||(O={}));var z;(function(i){i.Requested="Requested"})(z||(z={}));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 M;(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"})(M||(M={}));const I=i=>{i.data&&i.data.type};e.onMount(()=>(window.addEventListener("message",I),ue(),()=>{window.removeEventListener("message",I)}));const G=[y.InProgress,y.Referred,y.AwaitingForResponse],J=()=>{let i=g;if(i)return fetch(i).then(o=>o.json()).then(o=>{Object.keys(o).forEach(c=>{H(c,o[c])})}).catch(o=>{console.log(o)})};Object.keys(j).forEach(i=>{H(i,j[i])});const X=()=>{ge(d)},E=()=>{r(18,h=ee());const i=new URL(`${l}/v1/player/${C}/verification/GetKYCCustomerStatus?language=${d}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${D}`),o.append("X-Client-Request-Timestamp",L.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const c={method:"POST",headers:o,body:JSON.stringify({})};r(7,F=!0),fetch(i,c).then(p=>p.json()).then(p=>{const S=Q(p==null?void 0:p.Verifications);b=ie(S),b.VerificationStatuses.forEach(B=>{B.VerificationUrlType!=="Widget"&&x.add(B.Vendor)}),r(3,m=se())}).finally(()=>r(7,F=!1))},Q=i=>i?i.sort((o,c)=>new Date(c.Created).getTime()-new Date(o.Created).getTime()):[],$=()=>{a&&E()},ee=()=>{let i=(k||a).split(".")[1];if(i){let o=JSON.parse(atob(i));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},ie=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:y.Unverified,VerificationStatuses:[]};const o=re(i);if(o&&o.length){const p=te(o);return{VerificationSummaryStatus:p.Status,VerificationUrl:(c=p.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:R(o,p.Status)}}else return{VerificationSummaryStatus:i.some(S=>S.Status===y.Failed)?y.Failed:y.Verified,VerificationStatuses:R(i,[y.Failed])}},te=i=>i.reduce((o,c)=>o?new Date(o)<new Date(c)?c:o:c,0),R=(i,o)=>i.filter(c=>o.includes(c.Status)).map(c=>{var p,S;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(p=c.FlowInfo)==null?void 0:p.Type,VerificationUrl:(S=c.FlowInfo)==null?void 0:S.Url}}),re=i=>i.filter(o=>G.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||oe(o)||ne(o):!1),oe=i=>{const o=i.Documents&&i.VendorName===O.Manual,c=i.Documents&&i.Documents.some(p=>p.Status===z.Requested);return o&&c},ne=i=>i.VendorName===O.ShuftiPro&&i.Status===y.Referred,se=()=>{switch(b.VerificationSummaryStatus){case y.InProgress:const i=[];return x.forEach(o=>{i.push(ae(o))}),i;case y.Referred:return[s("verification.idenfy.referred-awaiting")];case y.Failed:return[s("verification.message.failed")]}},ae=i=>{const o=b.VerificationStatuses.filter(c=>c.Vendor===i);if(i===O.ShuftiPro)return le(o);{const c=s("verification.idenfy.link-name"),p={link:`<a href="${o[0].VerificationUrl}" target="_blank">${c}</a>`};return s("verification.idenfy.in-progress",{values:p})}},le=i=>{const o=[],c={},p=[M.Biometric,M.Documents,M.ProofOfAddress];i.forEach(A=>{p.includes(A.Type)&&(o.push(A.Type),c[A.Type]=ce(A,fe(A.Type)))});let S=o.every(A=>q.has(A)),B=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return S?s("verification.shuftipro.validations-started"):s(B,{values:c})},ce=(i,o)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${o}</a>`,fe=i=>s(`verification.shuftipro.link-name.${i}`),de=()=>{r(4,f=!f)},ue=()=>{r(5,V=!e.isMobile(Z))},he=()=>{T=h+"/"+d+"/"+Ve;try{fetch(T,{method:"HEAD"}).then(i=>{r(6,u=i.ok)})}catch(i){r(6,u=!1)}},pe=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:T}}}))};function me(i){e.binding_callbacks[i?"unshift":"push"](()=>{_=i,r(2,_)})}return n.$$set=i=>{"endpoint"in i&&r(11,l=i.endpoint),"lang"in i&&r(12,d=i.lang),"translationurl"in i&&r(13,g=i.translationurl),"clientstyling"in i&&r(0,P=i.clientstyling),"clientstylingurl"in i&&r(1,w=i.clientstylingurl),"session"in i&&r(14,k=i.session),"customerid"in i&&r(15,C=i.customerid),"playersession"in i&&r(16,D=i.playersession),"mbsource"in i&&r(17,v=i.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&4096&&d&&X(),n.$$.dirty[0]&83968&&l&&k&&D&&E(),n.$$.dirty[0]&83968&&l&&!k&&D&&$(),n.$$.dirty[0]&8192&&g&&J(),n.$$.dirty[0]&5&&P&&_&&e.setClientStyling(),n.$$.dirty[0]&6&&w&&_&&e.setClientStylingURL(),n.$$.dirty[0]&262144&&h&&he(),n.$$.dirty[0]&131076&&v&&_&&e.setStreamStyling(_,`${v}.Style`)},[P,w,_,m,f,V,u,F,s,de,pe,l,d,g,k,C,D,v,h,me]}class K extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,Pe,ke,e.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},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 mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(K,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=K;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-D5kSWky0.cjs"),L=require("./CashierMethodDetails-D-yMmahK.cjs");function H(n,t){e.addMessages(n,t)}function ge(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const j={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"},hr:{verificationsRequired:"Potrebne su provjere","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"}};function ve(n){e.append_styles(n,"svelte-12eenn1","*,*::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.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{position:relative;display:flex;flex-direction:column;width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1);background-color:rgba(255, 255, 255, 0.063);z-index:1;width:97%;margin:auto}.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:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(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:rotate(180deg)}.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 U(n,t,r){const s=n.slice();return s[53]=t[r],s}function we(n){let t,r=n[3].length>0&&N(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=N(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(s){s&&e.detach(t),r&&r.d()}}}function ye(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 N(n){let t,r,s,a,l,d,g,P=n[8]("verificationsRequired")+"",w,k,C,D,v,_,x,q,b=e.ensure_array_like(n[3]),h=[];for(let f=0;f<b.length;f+=1)h[f]=W(U(n,b,f));let m=n[6]&&Y(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"),d=e.space(),g=e.element("p"),w=e.text(P),k=e.space(),C=e.element("span"),C.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>',D=e.space(),v=e.element("div");for(let f=0;f<h.length;f+=1)h[f].c();_=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(C,"class","CashierVerificationChevron"),e.toggle_class(C,"ShowVerifications",n[4]),e.attr(t,"class","VerificationsHeader"),e.attr(v,"class","VerificationsList"),e.toggle_class(v,"ShowVerifications",n[4])},m(f,V){e.insert(f,t,V),e.append(t,r),e.append(r,s),e.append(r,a),e.append(r,l),e.append(t,d),e.append(t,g),e.append(g,w),e.append(t,k),e.append(t,C),e.insert(f,D,V),e.insert(f,v,V);for(let u=0;u<h.length;u+=1)h[u]&&h[u].m(v,null);e.append(v,_),m&&m.m(v,null),x||(q=e.listen(t,"click",n[9]),x=!0)},p(f,V){if(V[0]&256&&P!==(P=f[8]("verificationsRequired")+"")&&e.set_data(w,P),V[0]&16&&e.toggle_class(C,"ShowVerifications",f[4]),V[0]&8){b=e.ensure_array_like(f[3]);let u;for(u=0;u<b.length;u+=1){const T=U(f,b,u);h[u]?h[u].p(T,V):(h[u]=W(T),h[u].c(),h[u].m(v,_))}for(;u<h.length;u+=1)h[u].d(1);h.length=b.length}f[6]?m?m.p(f,V):(m=Y(f),m.c(),m.m(v,null)):m&&(m.d(1),m=null),V[0]&16&&e.toggle_class(v,"ShowVerifications",f[4])},d(f){f&&(e.detach(t),e.detach(D),e.detach(v)),e.destroy_each(h,f),m&&m.d(),x=!1,q()}}}function W(n){let t,r,s,a,l=n[53]+"";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(d,g){e.insert(d,t,g),e.append(t,r),e.append(t,s),e.append(t,a),a.innerHTML=l},p(d,g){g[0]&8&&l!==(l=d[53]+"")&&(a.innerHTML=l)},d(d){d&&e.detach(t)}}}function Y(n){let t,r,s,a,l=n[8]("verification.video.how-to")+"",d,g,P;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"),d=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,k){e.insert(w,t,k),e.append(t,r),e.append(t,s),e.append(t,a),e.append(a,d),g||(P=e.listen(t,"click",n[10]),g=!0)},p(w,k){k[0]&256&&l!==(l=w[8]("verification.video.how-to")+"")&&e.set_data(d,l),k[0]&32&&e.toggle_class(a,"CashierVerificationVideoLinkDesktop",w[5])},d(w){w&&e.detach(t),g=!1,P()}}}function ke(n){let t;function r(l,d){if(l[7])return ye;if(l[3])return we}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,d){e.insert(l,t,d),a&&a.m(t,null),n[19](t)},p(l,d){s===(s=r(l))&&a?a.p(l,d):(a&&a.d(1),a=s&&s(l),a&&(a.c(),a.m(t,null))),d[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[19](null)}}}const Ve="verification_explanation_video_widgets.MP4";function Pe(n,t,r){let s,a;e.component_subscribe(n,e.$format,i=>r(8,s=i)),e.component_subscribe(n,L.xPaymentSessionToken,i=>r(27,a=i)),L.dayjs.extend(L.utc);let{endpoint:l}=t,{lang:d="en"}=t,{translationurl:g=""}=t,{clientstyling:P=""}=t,{clientstylingurl:w=""}=t,{session:k=""}=t,{customerid:C=""}=t,{playersession:D=""}=t,{mbsource:v=""}=t,_,x=new Set,q=new Set,b,h,m,f=!1,V=!0,u=!1,T="",F=!1,Z=window.navigator.userAgent;var O;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(O||(O={}));var z;(function(i){i.Requested="Requested"})(z||(z={}));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 M;(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"})(M||(M={}));const I=i=>{i.data&&i.data.type};e.onMount(()=>(window.addEventListener("message",I),ue(),()=>{window.removeEventListener("message",I)}));const G=[y.InProgress,y.Referred,y.AwaitingForResponse],J=()=>{let i=g;if(i)return fetch(i).then(o=>o.json()).then(o=>{Object.keys(o).forEach(c=>{H(c,o[c])})}).catch(o=>{console.log(o)})};Object.keys(j).forEach(i=>{H(i,j[i])});const X=()=>{ge(d)},E=()=>{r(18,h=ee());const i=new URL(`${l}/v1/player/${C}/verification/GetKYCCustomerStatus?language=${d}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${D}`),o.append("X-Client-Request-Timestamp",L.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const c={method:"POST",headers:o,body:JSON.stringify({})};r(7,F=!0),fetch(i,c).then(p=>p.json()).then(p=>{const S=Q(p==null?void 0:p.Verifications);b=ie(S),b.VerificationStatuses.forEach(B=>{B.VerificationUrlType!=="Widget"&&x.add(B.Vendor)}),r(3,m=se())}).finally(()=>r(7,F=!1))},Q=i=>i?i.sort((o,c)=>new Date(c.Created).getTime()-new Date(o.Created).getTime()):[],$=()=>{a&&E()},ee=()=>{let i=(k||a).split(".")[1];if(i){let o=JSON.parse(atob(i));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},ie=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:y.Unverified,VerificationStatuses:[]};const o=re(i);if(o&&o.length){const p=te(o);return{VerificationSummaryStatus:p.Status,VerificationUrl:(c=p.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:R(o,p.Status)}}else return{VerificationSummaryStatus:i.some(S=>S.Status===y.Failed)?y.Failed:y.Verified,VerificationStatuses:R(i,[y.Failed])}},te=i=>i.reduce((o,c)=>o?new Date(o)<new Date(c)?c:o:c,0),R=(i,o)=>i.filter(c=>o.includes(c.Status)).map(c=>{var p,S;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(p=c.FlowInfo)==null?void 0:p.Type,VerificationUrl:(S=c.FlowInfo)==null?void 0:S.Url}}),re=i=>i.filter(o=>G.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||oe(o)||ne(o):!1),oe=i=>{const o=i.Documents&&i.VendorName===O.Manual,c=i.Documents&&i.Documents.some(p=>p.Status===z.Requested);return o&&c},ne=i=>i.VendorName===O.ShuftiPro&&i.Status===y.Referred,se=()=>{switch(b.VerificationSummaryStatus){case y.InProgress:const i=[];return x.forEach(o=>{i.push(ae(o))}),i;case y.Referred:return[s("verification.idenfy.referred-awaiting")];case y.Failed:return[s("verification.message.failed")]}},ae=i=>{const o=b.VerificationStatuses.filter(c=>c.Vendor===i);if(i===O.ShuftiPro)return le(o);{const c=s("verification.idenfy.link-name"),p={link:`<a href="${o[0].VerificationUrl}" target="_blank">${c}</a>`};return s("verification.idenfy.in-progress",{values:p})}},le=i=>{const o=[],c={},p=[M.Biometric,M.Documents,M.ProofOfAddress];i.forEach(A=>{p.includes(A.Type)&&(o.push(A.Type),c[A.Type]=ce(A,fe(A.Type)))});let S=o.every(A=>q.has(A)),B=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return S?s("verification.shuftipro.validations-started"):s(B,{values:c})},ce=(i,o)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${o}</a>`,fe=i=>s(`verification.shuftipro.link-name.${i}`),de=()=>{r(4,f=!f)},ue=()=>{r(5,V=!e.isMobile(Z))},he=()=>{T=h+"/"+d+"/"+Ve;try{fetch(T,{method:"HEAD"}).then(i=>{r(6,u=i.ok)})}catch(i){r(6,u=!1)}},pe=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:T}}}))};function me(i){e.binding_callbacks[i?"unshift":"push"](()=>{_=i,r(2,_)})}return n.$$set=i=>{"endpoint"in i&&r(11,l=i.endpoint),"lang"in i&&r(12,d=i.lang),"translationurl"in i&&r(13,g=i.translationurl),"clientstyling"in i&&r(0,P=i.clientstyling),"clientstylingurl"in i&&r(1,w=i.clientstylingurl),"session"in i&&r(14,k=i.session),"customerid"in i&&r(15,C=i.customerid),"playersession"in i&&r(16,D=i.playersession),"mbsource"in i&&r(17,v=i.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&4096&&d&&X(),n.$$.dirty[0]&83968&&l&&k&&D&&E(),n.$$.dirty[0]&83968&&l&&!k&&D&&$(),n.$$.dirty[0]&8192&&g&&J(),n.$$.dirty[0]&5&&P&&_&&e.setClientStyling(),n.$$.dirty[0]&6&&w&&_&&e.setClientStylingURL(),n.$$.dirty[0]&262144&&h&&he(),n.$$.dirty[0]&131076&&v&&_&&e.setStreamStyling(_,`${v}.Style`)},[P,w,_,m,f,V,u,F,s,de,pe,l,d,g,k,C,D,v,h,me]}class K extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,Pe,ke,e.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},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 mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(K,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=K;
@@ -1,5 +1,5 @@
1
- import { a as Te, i as Oe, $ as Me, S as Be, b as qe, s as Le, f as A, c as Fe, G as Z, e as M, W as O, k as B, m as b, o as l, p as J, q as ze, M as Ee, y as Ie, A as U, R as X, T as Re, v as se, l as g, x as ne, O as j, n as z, w as ae, B as He, C as Ue, D as je, E as Ne, F as We } from "./CashierCarousel-DYqTne2y.js";
2
- import { d as Q, u as Ye, x as Ke } from "./CashierMethodDetails-CW7C8Yvb.js";
1
+ import { a as Te, i as Oe, $ as Me, S as Be, b as qe, s as Le, f as A, c as Fe, G as Z, e as M, V as O, k as B, m as b, o as l, p as J, q as ze, M as Ee, y as Ie, A as U, R as X, T as Re, v as se, l as g, x as ne, P as j, n as z, w as ae, B as He, C as Ue, D as je, E as Ne, F as We } from "./CashierCarousel-CfmPEPcN.js";
2
+ import { d as Q, u as Ye, x as Ke } from "./CashierMethodDetails-CZH49Fbk.js";
3
3
  function $(o, i) {
4
4
  Te(o, i);
5
5
  }
@@ -1,4 +1,4 @@
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, O as r, o as t, E as k } from "./CashierCarousel-DYqTne2y.js";
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, P as r, o as t, E as k } from "./CashierCarousel-CfmPEPcN.js";
2
2
  function _(n) {
3
3
  v(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
4
4
  }
@@ -1,4 +1,4 @@
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, O as r, o as t, E as k } from "./CashierCarousel-dZ9EcCOe.js";
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, P as r, o as t, E as k } from "./CashierCarousel-CBJt8F6x.js";
2
2
  function _(n) {
3
3
  v(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
4
4
  }
@@ -1,4 +1,4 @@
1
- import { S as u, b as k, s as w, f as _, G as p, e as d, k as h, r as g, l as a, O as s, o as t, E as m } from "./CashierCarousel-dZ9EcCOe.js";
1
+ import { S as u, b as k, s as w, f as _, G as p, e as d, k as h, r as g, l as a, P as s, o as t, E as m } from "./CashierCarousel-CfmPEPcN.js";
2
2
  function y(c) {
3
3
  let e, o, r, i, n;
4
4
  return {
@@ -1,4 +1,4 @@
1
- import { S as u, b as k, s as w, f as _, G as p, e as d, k as h, r as g, l as a, O as s, o as t, E as m } from "./CashierCarousel-DYqTne2y.js";
1
+ import { S as u, b as k, s as w, f as _, G as p, e as d, k as h, r as g, l as a, P as s, o as t, E as m } from "./CashierCarousel-CBJt8F6x.js";
2
2
  function y(c) {
3
3
  let e, o, r, i, n;
4
4
  return {
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-C6pByXUA.cjs")).then(({default:t})=>{!customElements.get("cashier-page")&&customElements.define("cashier-page",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-CRr4WELR.cjs")).then(({default:t})=>{!customElements.get("cashier-page")&&customElements.define("cashier-page",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierPage-CstDhtmy.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierPage-D3wSp1F6.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-page") && customElements.define("cashier-page", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CashierPage-DNab5cLz.js";
1
+ import { C as n } from "../components/CashierPage-CokXt1Bz.js";
2
2
  function a(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-page",
3
- "version": "1.69.69",
3
+ "version": "1.69.70",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-page.cjs",
6
6
  "module": "esnext/cashier-page.js",