@everymatrix/cashier-page 1.73.0 → 1.73.2

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 (63) hide show
  1. package/components/{CashierConfirmModal-BCk4hvRj.js → CashierConfirmModal-Bl65cs4j.js} +505 -470
  2. package/components/CashierConfirmModal-Dbth1Vwp.cjs +4 -0
  3. package/components/{CashierConfirmModal-DXlKhIue.js → CashierConfirmModal-DiJy6WCC.js} +359 -324
  4. package/components/CashierError-CUi7dlhw.cjs +5 -0
  5. package/components/CashierError-DT8XXsZb.js +3798 -0
  6. package/components/CashierError-sabBjpnx.js +3798 -0
  7. package/components/{CashierHeader-DtS_U-De.js → CashierHeader-B_TbzRzY.js} +181 -184
  8. package/components/CashierHeader-C87PEbuI.cjs +1 -0
  9. package/components/{CashierHeader-86wrgmgP.js → CashierHeader-CRNLSN-X.js} +182 -185
  10. package/components/{CashierIframeRedirect-Xzpx4Rjk.js → CashierIframeRedirect-DcI_fdtE.js} +79 -109
  11. package/components/CashierIframeRedirect-q6Z4Yxd2.cjs +1 -0
  12. package/components/{CashierIframeRedirect-CmqcfGcT.js → CashierIframeRedirect-zBfOGfH0.js} +79 -109
  13. package/components/{CashierMethodDetails-oVkmdGDk.js → CashierMethodDetails-BSFTmQGh.js} +985 -999
  14. package/components/{CashierMethodDetails-Cf6KUGlj.cjs → CashierMethodDetails-Bn2T2uqA.cjs} +6 -6
  15. package/components/{CashierMethodDetails-DaUlJ18Q.js → CashierMethodDetails-Dw38VRXT.js} +977 -991
  16. package/components/{CashierMethodsList-bnXzA9E8.js → CashierMethodsList-BoxBSxdg.js} +372 -392
  17. package/components/CashierMethodsList-BraJmcfY.cjs +1 -0
  18. package/components/{CashierMethodsList-BKtn4kYZ.js → CashierMethodsList-DpB8OQgM.js} +354 -374
  19. package/components/CashierModal-BUzTqeZq.cjs +1 -0
  20. package/components/{CashierModal-B4b12-Am.js → CashierModal-C9DRbWKa.js} +24 -25
  21. package/components/{CashierModal-DCgiaC4V.js → CashierModal-l0r5lSbV.js} +28 -29
  22. package/components/{CashierNotifications-CWqwdi55.js → CashierNotifications-BRaPHw0O.js} +3 -3
  23. package/components/{CashierNotifications-BLJS7gpv.cjs → CashierNotifications-BrGm-gyx.cjs} +1 -1
  24. package/components/{CashierNotifications-BZCaBrRm.js → CashierNotifications-C60PYJS0.js} +9 -9
  25. package/components/{CashierPage-K6Sfcy3_.cjs → CashierPage-9Ld9PtFx.cjs} +1 -1
  26. package/components/{CashierPage-qGww6KeO.js → CashierPage-DPeHCblC.js} +617 -533
  27. package/components/{CashierPage-BhUYgsyn.js → CashierPage-Kr04tUC9.js} +612 -528
  28. package/components/{CashierReceiptPage-Hvc3tNuq.js → CashierReceiptPage-BJsytdmQ.js} +47 -47
  29. package/components/{CashierReceiptPage-BePAYhQV.js → CashierReceiptPage-D8xJxpP4.js} +47 -47
  30. package/components/CashierReceiptPage-Y3xANFuN.cjs +1 -0
  31. package/components/CashierSessionExpirationModal-B5KZiMN1.cjs +2 -0
  32. package/components/{CashierSessionExpirationModal-DfMX7unr.js → CashierSessionExpirationModal-CLmExJ5_.js} +13 -14
  33. package/components/{CashierSessionExpirationModal-C24hf-_h.js → CashierSessionExpirationModal-COQu8IVr.js} +13 -14
  34. package/components/{CashierSpinner-BdeNFm1c.js → CashierSpinner-CC_b-bLQ.js} +10 -11
  35. package/components/{CashierSpinner-COjPdCUV.js → CashierSpinner-DGvxbV84.js} +6 -7
  36. package/components/CashierSpinner-Dek1XIlD.cjs +1 -0
  37. package/components/{CashierTransactionHistory-BtkomNSc.js → CashierTransactionHistory-BtCGDpsh.js} +83 -84
  38. package/components/{CashierTransactionHistory-BgDq7hN9.js → CashierTransactionHistory-_dzkXj9B.js} +69 -70
  39. package/components/CashierTransactionHistory-yWcSzIDX.cjs +1 -0
  40. package/components/{CashierVerifications-7QimQj7T.js → CashierVerifications-CFZOQaUC.js} +31 -32
  41. package/components/CashierVerifications-Deeuh5dM.cjs +1 -0
  42. package/components/{CashierVerifications-tYl7M23B.js → CashierVerifications-df_pAaWn.js} +31 -32
  43. package/components/CashierVideoModal-BVDx9GT8.cjs +1 -0
  44. package/components/{CashierVideoModal-D4tXmX3D.js → CashierVideoModal-C4pk_kaX.js} +28 -29
  45. package/components/{CashierVideoModal-CM_ySf75.js → CashierVideoModal-DfOU6IDE.js} +35 -36
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/components/CashierConfirmModal-DMmJumcl.cjs +0 -4
  51. package/components/CashierError-BydkW7s_.js +0 -3800
  52. package/components/CashierError-Dpt_Z7yL.cjs +0 -5
  53. package/components/CashierError-Dz_HsnJl.js +0 -3800
  54. package/components/CashierHeader-BXKYku0i.cjs +0 -1
  55. package/components/CashierIframeRedirect-BARMuRTc.cjs +0 -1
  56. package/components/CashierMethodsList-BmNbGD7c.cjs +0 -1
  57. package/components/CashierModal-C-yyjQ8m.cjs +0 -1
  58. package/components/CashierReceiptPage-B5GxOKJ9.cjs +0 -1
  59. package/components/CashierSessionExpirationModal-BCKPn-ln.cjs +0 -2
  60. package/components/CashierSpinner-CpkB8Zoj.cjs +0 -1
  61. package/components/CashierTransactionHistory-siYwxijY.cjs +0 -1
  62. package/components/CashierVerifications-CjEiYZ7G.cjs +0 -1
  63. package/components/CashierVideoModal-CZSRGjh-.cjs +0 -1
@@ -1,16 +1,15 @@
1
- import { S as it, b as nt, s as at, f as M, c as lt, n as J, e as E, l as O, o as v, q as e, v as rt, F as ot, z as ct, K as V, L as ut, g as X, D as dt, t as ht, k as ft, x as W, m as r, p as L, y as j, C as q, V as mt, G as vt, W as gt, J as K, A as pt, N as k, E as yt } from "./CashierConfirmModal-DXlKhIue.js";
2
- import { f as Q } from "./CashierModal-DCgiaC4V.js";
3
- import { a as wt, $ as Tt, i as bt, b as _t } from "./CashierError-Dz_HsnJl.js";
4
- import { d as xt } from "./CashierMethodDetails-DaUlJ18Q.js";
5
- import { s as kt, a as Ct, b as St } from "./CashierIframeRedirect-Xzpx4Rjk.js";
6
- bt({
1
+ import { S as it, b as nt, s as at, f as M, c as lt, n as J, e as E, l as U, o as v, q as e, v as rt, w as ot, A as ct, N as X, O as ut, g as Q, E as dt, t as ht, k as ft, y as O, m as r, p as L, z as j, D as q, Y as mt, J as vt, Z as gt, M as V, B as pt, Q as k, F as yt, G as wt, H as Tt, I as _t } from "./CashierConfirmModal-DiJy6WCC.js";
2
+ import { f as Z } from "./CashierModal-l0r5lSbV.js";
3
+ import { a as bt, $ as xt, i as kt, b as Ct } from "./CashierError-DT8XXsZb.js";
4
+ import { d as St } from "./CashierMethodDetails-Dw38VRXT.js";
5
+ kt({
7
6
  fallbackLocale: "en"
8
7
  });
9
- function Z(a, t) {
10
- wt(a, t);
8
+ function K(a, t) {
9
+ bt(a, t);
11
10
  }
12
11
  function Ht(a) {
13
- Tt.set(a);
12
+ xt.set(a);
14
13
  }
15
14
  const $ = {
16
15
  en: {
@@ -76,7 +75,7 @@ function zt(a) {
76
75
  ), q(t, "class", "svelte-1cus01h");
77
76
  },
78
77
  m(s, i) {
79
- O(s, t, i);
78
+ U(s, t, i);
80
79
  },
81
80
  p(s, i) {
82
81
  i & /*clientstylingurl*/
@@ -111,13 +110,13 @@ function It(a) {
111
110
  ), A, x, R, F = (
112
111
  /*$_*/
113
112
  a[8]("transactionTypeTitle") + ""
114
- ), U, Y, N, D = (
113
+ ), W, Y, N, D = (
115
114
  /*$_*/
116
115
  a[8]("transactionStatusTitle") + ""
117
- ), p, u, _, n = (
116
+ ), p, u, b, n = (
118
117
  /*copied*/
119
118
  a[5] && et(a)
120
- ), d = V(
119
+ ), d = X(
121
120
  /*txnHistory*/
122
121
  a[4]
123
122
  ), m = [];
@@ -125,45 +124,45 @@ function It(a) {
125
124
  m[h] = st(tt(a, d, h));
126
125
  return {
127
126
  c() {
128
- t = v("div"), n && n.c(), s = L(), i = v("h3"), o = j(l), c = L(), f = v("div"), w = v("div"), C = v("table"), S = v("thead"), y = v("tr"), z = v("td"), P = j(I), H = L(), g = v("td"), A = j(B), x = L(), R = v("td"), U = j(F), Y = L(), N = v("td"), p = j(D), u = L(), _ = v("tbody");
127
+ t = v("div"), n && n.c(), s = L(), i = v("h3"), o = j(l), c = L(), f = v("div"), w = v("div"), C = v("table"), S = v("thead"), y = v("tr"), z = v("td"), P = j(I), H = L(), g = v("td"), A = j(B), x = L(), R = v("td"), W = j(F), Y = L(), N = v("td"), p = j(D), u = L(), b = v("tbody");
129
128
  for (let h = 0; h < m.length; h += 1)
130
129
  m[h].c();
131
- e(i, "class", "CashierTransactionHistoryTitle svelte-1cus01h"), e(z, "class", "svelte-1cus01h"), e(g, "class", "svelte-1cus01h"), e(R, "class", "svelte-1cus01h"), e(N, "class", "svelte-1cus01h"), e(y, "class", "svelte-1cus01h"), e(S, "class", "svelte-1cus01h"), e(_, "class", "svelte-1cus01h"), e(C, "class", "svelte-1cus01h"), e(w, "class", "CashierTransactionHistoryContent svelte-1cus01h"), e(f, "class", "CashierTransactionHistoryWrapper svelte-1cus01h"), e(t, "class", "CashierTransactionHistory svelte-1cus01h");
130
+ e(i, "class", "CashierTransactionHistoryTitle svelte-1cus01h"), e(z, "class", "svelte-1cus01h"), e(g, "class", "svelte-1cus01h"), e(R, "class", "svelte-1cus01h"), e(N, "class", "svelte-1cus01h"), e(y, "class", "svelte-1cus01h"), e(S, "class", "svelte-1cus01h"), e(b, "class", "svelte-1cus01h"), e(C, "class", "svelte-1cus01h"), e(w, "class", "CashierTransactionHistoryContent svelte-1cus01h"), e(f, "class", "CashierTransactionHistoryWrapper svelte-1cus01h"), e(t, "class", "CashierTransactionHistory svelte-1cus01h");
132
131
  },
133
132
  m(h, T) {
134
- O(h, t, T), n && n.m(t, null), r(t, s), r(t, i), r(i, o), r(t, c), r(t, f), r(f, w), r(w, C), r(C, S), r(S, y), r(y, z), r(z, P), r(y, H), r(y, g), r(g, A), r(y, x), r(y, R), r(R, U), r(y, Y), r(y, N), r(N, p), r(C, u), r(C, _);
135
- for (let b = 0; b < m.length; b += 1)
136
- m[b] && m[b].m(_, null);
133
+ U(h, t, T), n && n.m(t, null), r(t, s), r(t, i), r(i, o), r(t, c), r(t, f), r(f, w), r(w, C), r(C, S), r(S, y), r(y, z), r(z, P), r(y, H), r(y, g), r(g, A), r(y, x), r(y, R), r(R, W), r(y, Y), r(y, N), r(N, p), r(C, u), r(C, b);
134
+ for (let _ = 0; _ < m.length; _ += 1)
135
+ m[_] && m[_].m(b, null);
137
136
  a[18](t);
138
137
  },
139
138
  p(h, T) {
140
139
  if (/*copied*/
141
140
  h[5] ? n ? (n.p(h, T), T & /*copied*/
142
- 32 && X(n, 1)) : (n = et(h), n.c(), X(n, 1), n.m(t, s)) : n && (dt(), ht(n, 1, 1, () => {
141
+ 32 && Q(n, 1)) : (n = et(h), n.c(), Q(n, 1), n.m(t, s)) : n && (dt(), ht(n, 1, 1, () => {
143
142
  n = null;
144
143
  }), ft()), T & /*$_*/
145
144
  256 && l !== (l = /*$_*/
146
- h[8]("transactionHistoryTitle") + "") && W(o, l), T & /*$_*/
145
+ h[8]("transactionHistoryTitle") + "") && O(o, l), T & /*$_*/
147
146
  256 && I !== (I = /*$_*/
148
- h[8]("transactionIdTitle") + "") && W(P, I), T & /*$_*/
147
+ h[8]("transactionIdTitle") + "") && O(P, I), T & /*$_*/
149
148
  256 && B !== (B = /*$_*/
150
- h[8]("transactionDateTitle") + "") && W(A, B), T & /*$_*/
149
+ h[8]("transactionDateTitle") + "") && O(A, B), T & /*$_*/
151
150
  256 && F !== (F = /*$_*/
152
- h[8]("transactionTypeTitle") + "") && W(U, F), T & /*$_*/
151
+ h[8]("transactionTypeTitle") + "") && O(W, F), T & /*$_*/
153
152
  256 && D !== (D = /*$_*/
154
- h[8]("transactionStatusTitle") + "") && W(p, D), T & /*$_, txnHistory, TransactionMainStatus, copied, copyToClipboard*/
153
+ h[8]("transactionStatusTitle") + "") && O(p, D), T & /*$_, txnHistory, TransactionMainStatus, copied, copyToClipboard*/
155
154
  944) {
156
- d = V(
155
+ d = X(
157
156
  /*txnHistory*/
158
157
  h[4]
159
158
  );
160
- let b;
161
- for (b = 0; b < d.length; b += 1) {
162
- const G = tt(h, d, b);
163
- m[b] ? m[b].p(G, T) : (m[b] = st(G), m[b].c(), m[b].m(_, null));
159
+ let _;
160
+ for (_ = 0; _ < d.length; _ += 1) {
161
+ const G = tt(h, d, _);
162
+ m[_] ? m[_].p(G, T) : (m[_] = st(G), m[_].c(), m[_].m(b, null));
164
163
  }
165
- for (; b < m.length; b += 1)
166
- m[b].d(1);
164
+ for (; _ < m.length; _ += 1)
165
+ m[_].d(1);
167
166
  m.length = d.length;
168
167
  }
169
168
  },
@@ -182,20 +181,20 @@ function et(a) {
182
181
  t = v("div"), i = j(s), e(t, "class", "CopyTooltip svelte-1cus01h");
183
182
  },
184
183
  m(f, w) {
185
- O(f, t, w), r(t, i), c = !0;
184
+ U(f, t, w), r(t, i), c = !0;
186
185
  },
187
186
  p(f, w) {
188
187
  a = f, (!c || w & /*$_*/
189
188
  256) && s !== (s = /*$_*/
190
- a[8]("copyTransactionId") + "") && W(i, s);
189
+ a[8]("copyTransactionId") + "") && O(i, s);
191
190
  },
192
191
  i(f) {
193
192
  c || (f && vt(() => {
194
- c && (o && o.end(1), l = gt(t, Q, { duration: 100 }), l.start());
193
+ c && (o && o.end(1), l = gt(t, Z, { duration: 100 }), l.start());
195
194
  }), c = !0);
196
195
  },
197
196
  o(f) {
198
- l && l.invalidate(), f && (o = mt(t, Q, { duration: (
197
+ l && l.invalidate(), f && (o = mt(t, Z, { duration: (
199
198
  /*tooltipduration*/
200
199
  a[2]
201
200
  ) })), c = !1;
@@ -212,7 +211,7 @@ function At(a) {
212
211
  t = k("svg"), s = k("circle"), i = k("path"), e(s, "cx", "12"), e(s, "cy", "12"), e(s, "r", "10"), e(s, "stroke", "#25bf00"), e(s, "stroke-width", "2"), e(s, "class", "svelte-1cus01h"), e(i, "d", "M8 12L11 15L16 9"), e(i, "stroke", "#25bf00"), e(i, "stroke-width", "2"), e(i, "stroke-linecap", "round"), e(i, "stroke-linejoin", "round"), e(i, "class", "svelte-1cus01h"), e(t, "width", "18"), e(t, "height", "18"), e(t, "viewBox", "0 0 24 24"), e(t, "fill", "none"), e(t, "xmlns", "http://www.w3.org/2000/svg"), e(t, "class", "svelte-1cus01h");
213
212
  },
214
213
  m(l, o) {
215
- O(l, t, o), r(t, s), r(t, i);
214
+ U(l, t, o), r(t, s), r(t, i);
216
215
  },
217
216
  d(l) {
218
217
  l && E(t);
@@ -226,7 +225,7 @@ function Ft(a) {
226
225
  t = k("svg"), s = k("circle"), i = k("text"), l = j("R"), e(s, "cx", "12"), e(s, "cy", "12"), e(s, "r", "10"), e(s, "stroke", "#dd6617d4"), e(s, "stroke-width", "2"), e(s, "class", "svelte-1cus01h"), e(i, "x", "50%"), e(i, "y", "54%"), e(i, "text-anchor", "middle"), e(i, "dominant-baseline", "middle"), e(i, "font-size", "14"), e(i, "font-weight", "bold"), e(i, "fill", "#dd6617d4"), e(i, "font-family", "Arial Rounded MT Bold, Arial, sans-serif"), e(i, "class", "svelte-1cus01h"), e(t, "width", "18"), e(t, "height", "18"), e(t, "viewBox", "0 0 24 24"), e(t, "fill", "none"), e(t, "xmlns", "http://www.w3.org/2000/svg"), e(t, "class", "svelte-1cus01h");
227
226
  },
228
227
  m(o, c) {
229
- O(o, t, c), r(t, s), r(t, i), r(i, l);
228
+ U(o, t, c), r(t, s), r(t, i), r(i, l);
230
229
  },
231
230
  d(o) {
232
231
  o && E(t);
@@ -240,7 +239,7 @@ function jt(a) {
240
239
  t = k("svg"), s = k("circle"), i = k("path"), e(s, "cx", "12"), e(s, "cy", "12"), e(s, "r", "10"), e(s, "stroke", "#f0a85f"), e(s, "stroke-width", "2"), e(s, "class", "svelte-1cus01h"), e(i, "d", "M12 7V12L15 14"), e(i, "stroke", "#f0a85f"), e(i, "stroke-width", "2"), e(i, "stroke-linecap", "round"), e(i, "stroke-linejoin", "round"), e(i, "class", "svelte-1cus01h"), e(t, "width", "18"), e(t, "height", "18"), e(t, "viewBox", "0 0 24 24"), e(t, "fill", "none"), e(t, "xmlns", "http://www.w3.org/2000/svg"), e(t, "class", "svelte-1cus01h");
241
240
  },
242
241
  m(l, o) {
243
- O(l, t, o), r(t, s), r(t, i);
242
+ U(l, t, o), r(t, s), r(t, i);
244
243
  },
245
244
  d(l) {
246
245
  l && E(t);
@@ -254,7 +253,7 @@ function Pt(a) {
254
253
  t = k("svg"), s = k("circle"), i = k("path"), e(s, "cx", "12"), e(s, "cy", "12"), e(s, "r", "10"), e(s, "stroke", "#e76049"), e(s, "stroke-width", "2"), e(s, "class", "svelte-1cus01h"), e(i, "d", "M9 9L15 15M15 9L9 15"), e(i, "stroke", "#e76049"), e(i, "stroke-width", "2"), e(i, "stroke-linecap", "round"), e(i, "stroke-linejoin", "round"), e(i, "class", "svelte-1cus01h"), e(t, "width", "18"), e(t, "height", "18"), e(t, "viewBox", "0 0 24 24"), e(t, "fill", "none"), e(t, "xmlns", "http://www.w3.org/2000/svg"), e(t, "class", "svelte-1cus01h");
255
254
  },
256
255
  m(l, o) {
257
- O(l, t, o), r(t, s), r(t, i);
256
+ U(l, t, o), r(t, s), r(t, i);
258
257
  },
259
258
  d(l) {
260
259
  l && E(t);
@@ -268,7 +267,7 @@ function Rt(a) {
268
267
  t = k("svg"), s = k("circle"), i = k("text"), l = j("A"), e(s, "cx", "12"), e(s, "cy", "12"), e(s, "r", "10"), e(s, "stroke", "#32b398"), e(s, "stroke-width", "2"), e(s, "class", "svelte-1cus01h"), e(i, "x", "50%"), e(i, "y", "54%"), e(i, "text-anchor", "middle"), e(i, "dominant-baseline", "middle"), e(i, "font-size", "14"), e(i, "font-weight", "bold"), e(i, "fill", "#32b398"), e(i, "font-family", "Arial Rounded MT Bold, Arial, sans-serif"), e(i, "class", "svelte-1cus01h"), e(t, "width", "18"), e(t, "height", "18"), e(t, "viewBox", "0 0 24 24"), e(t, "fill", "none"), e(t, "xmlns", "http://www.w3.org/2000/svg"), e(t, "class", "svelte-1cus01h");
269
268
  },
270
269
  m(o, c) {
271
- O(o, t, c), r(t, s), r(t, i), r(i, l);
270
+ U(o, t, c), r(t, s), r(t, i), r(i, l);
272
271
  },
273
272
  d(o) {
274
273
  o && E(t);
@@ -290,8 +289,8 @@ function st(a) {
290
289
  /*$_*/
291
290
  a[8](`transactionStatus.${/*transaction*/
292
291
  a[27].Status}`) + ""
293
- ), R, F, U, Y;
294
- function N(u, _) {
292
+ ), R, F, W, Y;
293
+ function N(u, b) {
295
294
  if (
296
295
  /*transaction*/
297
296
  u[27].Status === /*TransactionMainStatus*/
@@ -326,42 +325,42 @@ function st(a) {
326
325
  let D = N(a), p = D && D(a);
327
326
  return {
328
327
  c() {
329
- t = v("tr"), s = v("td"), l = j(i), o = L(), c = v("td"), w = j(f), C = L(), S = v("td"), z = j(y), I = L(), P = v("td"), H = v("div"), g = v("span"), p && p.c(), B = L(), A = v("span"), R = j(x), F = L(), e(s, "class", "CashierTransactionId svelte-1cus01h"), K(
328
+ t = v("tr"), s = v("td"), l = j(i), o = L(), c = v("td"), w = j(f), C = L(), S = v("td"), z = j(y), I = L(), P = v("td"), H = v("div"), g = v("span"), p && p.c(), B = L(), A = v("span"), R = j(x), F = L(), e(s, "class", "CashierTransactionId svelte-1cus01h"), V(
330
329
  s,
331
330
  "copied",
332
331
  /*copied*/
333
332
  a[5]
334
333
  ), e(c, "class", "svelte-1cus01h"), e(S, "class", "svelte-1cus01h"), e(g, "class", "CashierTransactionHistoryIcon svelte-1cus01h"), e(A, "class", "CashierTransactionHistoryStatusText svelte-1cus01h"), e(H, "class", "CashierTransactionHistoryStatus svelte-1cus01h"), e(P, "class", "svelte-1cus01h"), e(t, "class", "svelte-1cus01h");
335
334
  },
336
- m(u, _) {
337
- O(u, t, _), r(t, s), r(s, l), r(t, o), r(t, c), r(c, w), r(t, C), r(t, S), r(S, z), r(t, I), r(t, P), r(P, H), r(H, g), p && p.m(g, null), r(H, B), r(H, A), r(A, R), r(t, F), U || (Y = pt(
335
+ m(u, b) {
336
+ U(u, t, b), r(t, s), r(s, l), r(t, o), r(t, c), r(c, w), r(t, C), r(t, S), r(S, z), r(t, I), r(t, P), r(P, H), r(H, g), p && p.m(g, null), r(H, B), r(H, A), r(A, R), r(t, F), W || (Y = pt(
338
337
  s,
339
338
  "mousedown",
340
339
  /*mousedown_handler*/
341
340
  a[17]
342
- ), U = !0);
341
+ ), W = !0);
343
342
  },
344
- p(u, _) {
345
- _ & /*txnHistory*/
343
+ p(u, b) {
344
+ b & /*txnHistory*/
346
345
  16 && i !== (i = /*transaction*/
347
- u[27].Code + "") && W(l, i), _ & /*copied*/
348
- 32 && K(
346
+ u[27].Code + "") && O(l, i), b & /*copied*/
347
+ 32 && V(
349
348
  s,
350
349
  "copied",
351
350
  /*copied*/
352
351
  u[5]
353
- ), _ & /*txnHistory*/
352
+ ), b & /*txnHistory*/
354
353
  16 && f !== (f = /*transaction*/
355
- u[27].Date + "") && W(w, f), _ & /*$_, txnHistory*/
354
+ u[27].Date + "") && O(w, f), b & /*$_, txnHistory*/
356
355
  272 && y !== (y = /*$_*/
357
356
  u[8](`transactionType.${/*transaction*/
358
- u[27].Type}`) + "") && W(z, y), D !== (D = N(u)) && (p && p.d(1), p = D && D(u), p && (p.c(), p.m(g, null))), _ & /*$_, txnHistory*/
357
+ u[27].Type}`) + "") && O(z, y), D !== (D = N(u)) && (p && p.d(1), p = D && D(u), p && (p.c(), p.m(g, null))), b & /*$_, txnHistory*/
359
358
  272 && x !== (x = /*$_*/
360
359
  u[8](`transactionStatus.${/*transaction*/
361
- u[27].Status}`) + "") && W(R, x);
360
+ u[27].Status}`) + "") && O(R, x);
362
361
  },
363
362
  d(u) {
364
- u && E(t), p && p.d(), U = !1, Y();
363
+ u && E(t), p && p.d(), W = !1, Y();
365
364
  }
366
365
  };
367
366
  }
@@ -385,7 +384,7 @@ function Lt(a) {
385
384
  t = v("div"), l && l.c(), e(t, "class", "CashierTransactionHistoryContainer svelte-1cus01h");
386
385
  },
387
386
  m(o, c) {
388
- O(o, t, c), l && l.m(t, null);
387
+ U(o, t, c), l && l.m(t, null);
389
388
  },
390
389
  p(o, [c]) {
391
390
  i === (i = s(o)) && l ? l.p(o, c) : (l && l.d(1), l = i && i(o), l && (l.c(), l.m(t, null)));
@@ -400,7 +399,7 @@ function Lt(a) {
400
399
  const Bt = "DD.MM.YYYY";
401
400
  function Mt(a, t, s) {
402
401
  let i;
403
- rt(a, _t, (n) => s(8, i = n));
402
+ rt(a, Ct, (n) => s(8, i = n));
404
403
  let { endpoint: l } = t, { session: o } = t, { lang: c = "en" } = t, { customerid: f } = t, { clientstyling: w = "" } = t, { clientstylingurl: C = "" } = t, { translationurl: S } = t, { tooltipduration: y = 1e3 } = t, { txncount: z = 3 } = t, { mbsource: I = "" } = t, P = [], H = !1, g, B, A = !1;
405
404
  var x;
406
405
  (function(n) {
@@ -423,19 +422,19 @@ function Mt(a, t, s) {
423
422
  n.Authorized = "Authorized", n.Success = "Success", n.Failed = "Failed", n.Rejected = "Rejected", n.Pending = "Pending";
424
423
  })(F || (F = {})), ot(() => () => {
425
424
  });
426
- const U = () => {
425
+ const W = () => {
427
426
  let n = S;
428
427
  if (n)
429
428
  return fetch(n).then((d) => d.json()).then((d) => {
430
429
  Object.keys(d).forEach((m) => {
431
- Z(m, d[m]);
430
+ K(m, d[m]);
432
431
  });
433
432
  }).catch((d) => {
434
433
  console.log(d);
435
434
  });
436
435
  };
437
436
  Object.keys($).forEach((n) => {
438
- Z(n, $[n]);
437
+ K(n, $[n]);
439
438
  });
440
439
  const Y = () => {
441
440
  Ht(c);
@@ -470,7 +469,7 @@ function Mt(a, t, s) {
470
469
  let m = d.generalFields.status;
471
470
  return d.generalFields.status.toLowerCase().includes("pending") && (m = F.Pending), {
472
471
  Code: d.generalFields.code,
473
- Date: xt(d.generalFields.created).format(Bt),
472
+ Date: St(d.generalFields.created).format(Bt),
474
473
  Status: m,
475
474
  Type: d.generalFields.type
476
475
  };
@@ -487,7 +486,7 @@ function Mt(a, t, s) {
487
486
  console.error("Could not copy text: ", m);
488
487
  });
489
488
  }, u = (n) => p(n);
490
- function _(n) {
489
+ function b(n) {
491
490
  ct[n ? "unshift" : "push"](() => {
492
491
  g = n, s(3, g);
493
492
  });
@@ -497,11 +496,11 @@ function Mt(a, t, s) {
497
496
  }, a.$$.update = () => {
498
497
  a.$$.dirty & /*lang*/
499
498
  4096 && c && Y(), a.$$.dirty & /*clientstyling, customStylingContainer*/
500
- 9 && w && g && kt(g, w), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
501
- 10 && C && g && Ct(g, C), a.$$.dirty & /*endpoint, session, customerid, lang*/
499
+ 9 && w && g && yt(g, w), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
500
+ 10 && C && g && wt(g, C), a.$$.dirty & /*endpoint, session, customerid, lang*/
502
501
  15360 && l && o && f && c && N(), a.$$.dirty & /*translationurl*/
503
- 16384 && S && U(), a.$$.dirty & /*mbsource, customStylingContainer*/
504
- 65544 && I && g && St(g, `${I}.Style`);
502
+ 16384 && S && W(), a.$$.dirty & /*mbsource, customStylingContainer*/
503
+ 65544 && I && g && Tt(g, `${I}.Style`);
505
504
  }, [
506
505
  w,
507
506
  C,
@@ -521,10 +520,10 @@ function Mt(a, t, s) {
521
520
  z,
522
521
  I,
523
522
  u,
524
- _
523
+ b
525
524
  ];
526
525
  }
527
- class Wt extends it {
526
+ class Ot extends it {
528
527
  constructor(t) {
529
528
  super(), nt(
530
529
  this,
@@ -608,7 +607,7 @@ class Wt extends it {
608
607
  this.$$set({ mbsource: t }), M();
609
608
  }
610
609
  }
611
- yt(Wt, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {}, mbsource: {} }, [], [], !0);
610
+ _t(Ot, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {}, mbsource: {} }, [], [], !0);
612
611
  export {
613
- Wt as default
612
+ Ot as default
614
613
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-Dbth1Vwp.cjs"),B=require("./CashierModal-BUzTqeZq.cjs"),L=require("./CashierError-CUi7dlhw.cjs"),Y=require("./CashierMethodDetails-Bn2T2uqA.cjs");L.init({fallbackLocale:"en"});function O(i,e){L.addMessages(i,e)}function X(i){L.$locale.set(i)}const E={en:{transactionHistoryTitle:"Transaction History",transactionIdTitle:"ID",transactionDateTitle:"Date",transactionTypeTitle:"Type",transactionStatusTitle:"Status",copyTransactionId:"Transaction Id copied to clipboard",transactionStatus:{Authorized:"Authorized",Success:"Success",Failed:"Failed",Rejected:"Rejected",Pending:"Pending"},transactionType:{Deposit:"Deposit",Withdraw:"Withdraw"}},tr:{transactionHistoryTitle:"İşlem Geçmişi",transactionIdTitle:"İşlem ID'si",transactionDateTitle:"Tarih",transactionTypeTitle:"Tip",transactionStatusTitle:"Durum",copyTransactionId:"İşlem ID’si kopyalandı",transactionStatus:{Authorized:"Onaylandı",Success:"Başarılı",Failed:"Başarısız",Rejected:"Reddedildi",Pending:"Beklemede"},transactionType:{Deposit:"Para Yatır",Withdraw:"Çekim"}}};function G(i){t.append_styles(i,"svelte-1cus01h",".svelte-1cus01h.svelte-1cus01h,.svelte-1cus01h.svelte-1cus01h::before,.svelte-1cus01h.svelte-1cus01h::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1cus01h.svelte-1cus01h{width:50%;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, #7EC51E);position:absolute;top:-6px;left:50%;transform:translateX(-50%);color:var(--emw--color-white, #FFF);border-radius:var(--mmw--border-radius-medium-plus, 6px);z-index:1;opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:4px}.CashierTransactionHistoryContainer.svelte-1cus01h.svelte-1cus01h{position:relative}.CashierTransactionHistory.svelte-1cus01h.svelte-1cus01h{display:flex;flex-direction:column;position:relative;width:100%;row-gap:var(--emw--spacing-small, 12px);container-name:transaction-history;container-type:inline-size;margin-bottom:var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1cus01h table.svelte-1cus01h{font-size:var(--emw--font-size-medium, 16px);word-break:break-all;width:100%;border-collapse:collapse;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;margin-bottom:var(--emw--spacing-small-minus, 10px)}.CashierTransactionHistory.svelte-1cus01h table.svelte-1cus01h:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1cus01h thead tr.svelte-1cus01h{border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);color:var(--mmw--color-grey-10, #111);height:50px}.CashierTransactionHistory.svelte-1cus01h tbody tr.svelte-1cus01h{color:var(--mmw--color-grey-290, #666)}.CashierTransactionHistory.svelte-1cus01h td.svelte-1cus01h{max-width:250px;vertical-align:middle;height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 var(--emw--spacing-large, 20px) 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1cus01h td:last-child .CashierTransactionHistoryStatusText.svelte-1cus01h{width:calc(100% - var(--emw--spacing-2x-small-plus, 6px) * 3 - 5px);display:block}.CashierTransactionHistory.svelte-1cus01h tr.svelte-1cus01h{position:relative}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1cus01h .CopyTooltip.svelte-1cus01h{width:100%}.CashierTransactionHistory.svelte-1cus01h .CashierTransactionId.svelte-1cus01h{max-width:135px}.CashierTransactionHistory.svelte-1cus01h td.svelte-1cus01h{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1cus01h .CashierTransactionHistoryWrapper.svelte-1cus01h{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1cus01h td.svelte-1cus01h{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1cus01h td.svelte-1cus01h:first-child{max-width:60px}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1cus01h table.svelte-1cus01h{table-layout:fixed}.CashierTransactionHistory.svelte-1cus01h table td.svelte-1cus01h{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1cus01h.svelte-1cus01h{background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));border-radius:var(--mmw--border-radius-medium-plus, 6px);width:100%;box-sizing:border-box;padding:0 var(--emw--spacing-small, 12px)}.CashierTransactionHistoryTitle.svelte-1cus01h.svelte-1cus01h{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-normal, 400);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);text-align:left}.CashierTransactionId.svelte-1cus01h.svelte-1cus01h{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.CashierTransactionId.svelte-1cus01h.svelte-1cus01h:hover{background-color:var(--emw--color-gray-50, #F7F8FA)}.CashierTransactionHistoryStatus.svelte-1cus01h.svelte-1cus01h{display:flex;gap:5px}.CashierTransactionHistoryStatusText.svelte-1cus01h.svelte-1cus01h{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1cus01h.svelte-1cus01h{width:100%;overflow:hidden}.CashierTransactionHistoryIcon.svelte-1cus01h.svelte-1cus01h{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}")}function U(i,e,s){const a=i.slice();return a[27]=e[s],a}function J(i){let e;return{c(){e=t.element("cashier-spinner"),t.set_custom_element_data(e,"clientstylingurl",i[1]),t.set_custom_element_data(e,"clientstyling",i[0]),t.set_custom_element_data(e,"class","svelte-1cus01h")},m(s,a){t.insert(s,e,a)},p(s,a){a&2&&t.set_custom_element_data(e,"clientstylingurl",s[1]),a&1&&t.set_custom_element_data(e,"clientstyling",s[0])},d(s){s&&t.detach(e)}}}function V(i){let e,s,a,r=i[8]("transactionHistoryTitle")+"",l,o,h,y,b,x,g,S,H=i[8]("transactionIdTitle")+"",I,k,m,j=i[8]("transactionDateTitle")+"",D,T,A,z=i[8]("transactionTypeTitle")+"",F,R,P,C=i[8]("transactionStatusTitle")+"",f,c,w,n=i[5]&&W(i),d=t.ensure_array_like(i[4]),p=[];for(let u=0;u<d.length;u+=1)p[u]=q(U(i,d,u));return{c(){e=t.element("div"),n&&n.c(),s=t.space(),a=t.element("h3"),l=t.text(r),o=t.space(),h=t.element("div"),y=t.element("div"),b=t.element("table"),x=t.element("thead"),g=t.element("tr"),S=t.element("td"),I=t.text(H),k=t.space(),m=t.element("td"),D=t.text(j),T=t.space(),A=t.element("td"),F=t.text(z),R=t.space(),P=t.element("td"),f=t.text(C),c=t.space(),w=t.element("tbody");for(let u=0;u<p.length;u+=1)p[u].c();t.attr(a,"class","CashierTransactionHistoryTitle svelte-1cus01h"),t.attr(S,"class","svelte-1cus01h"),t.attr(m,"class","svelte-1cus01h"),t.attr(A,"class","svelte-1cus01h"),t.attr(P,"class","svelte-1cus01h"),t.attr(g,"class","svelte-1cus01h"),t.attr(x,"class","svelte-1cus01h"),t.attr(w,"class","svelte-1cus01h"),t.attr(b,"class","svelte-1cus01h"),t.attr(y,"class","CashierTransactionHistoryContent svelte-1cus01h"),t.attr(h,"class","CashierTransactionHistoryWrapper svelte-1cus01h"),t.attr(e,"class","CashierTransactionHistory svelte-1cus01h")},m(u,v){t.insert(u,e,v),n&&n.m(e,null),t.append(e,s),t.append(e,a),t.append(a,l),t.append(e,o),t.append(e,h),t.append(h,y),t.append(y,b),t.append(b,x),t.append(x,g),t.append(g,S),t.append(S,I),t.append(g,k),t.append(g,m),t.append(m,D),t.append(g,T),t.append(g,A),t.append(A,F),t.append(g,R),t.append(g,P),t.append(P,f),t.append(b,c),t.append(b,w);for(let _=0;_<p.length;_+=1)p[_]&&p[_].m(w,null);i[18](e)},p(u,v){if(u[5]?n?(n.p(u,v),v&32&&t.transition_in(n,1)):(n=W(u),n.c(),t.transition_in(n,1),n.m(e,s)):n&&(t.group_outros(),t.transition_out(n,1,1,()=>{n=null}),t.check_outros()),v&256&&r!==(r=u[8]("transactionHistoryTitle")+"")&&t.set_data(l,r),v&256&&H!==(H=u[8]("transactionIdTitle")+"")&&t.set_data(I,H),v&256&&j!==(j=u[8]("transactionDateTitle")+"")&&t.set_data(D,j),v&256&&z!==(z=u[8]("transactionTypeTitle")+"")&&t.set_data(F,z),v&256&&C!==(C=u[8]("transactionStatusTitle")+"")&&t.set_data(f,C),v&944){d=t.ensure_array_like(u[4]);let _;for(_=0;_<d.length;_+=1){const M=U(u,d,_);p[_]?p[_].p(M,v):(p[_]=q(M),p[_].c(),p[_].m(w,null))}for(;_<p.length;_+=1)p[_].d(1);p.length=d.length}},d(u){u&&t.detach(e),n&&n.d(),t.destroy_each(p,u),i[18](null)}}}function W(i){let e,s=i[8]("copyTransactionId")+"",a,r,l,o;return{c(){e=t.element("div"),a=t.text(s),t.attr(e,"class","CopyTooltip svelte-1cus01h")},m(h,y){t.insert(h,e,y),t.append(e,a),o=!0},p(h,y){i=h,(!o||y&256)&&s!==(s=i[8]("copyTransactionId")+"")&&t.set_data(a,s)},i(h){o||(h&&t.add_render_callback(()=>{o&&(l&&l.end(1),r=t.create_in_transition(e,B.fade,{duration:100}),r.start())}),o=!0)},o(h){r&&r.invalidate(),h&&(l=t.create_out_transition(e,B.fade,{duration:i[2]})),o=!1},d(h){h&&t.detach(e),h&&l&&l.end()}}}function K(i){let e,s,a;return{c(){e=t.svg_element("svg"),s=t.svg_element("circle"),a=t.svg_element("path"),t.attr(s,"cx","12"),t.attr(s,"cy","12"),t.attr(s,"r","10"),t.attr(s,"stroke","#25bf00"),t.attr(s,"stroke-width","2"),t.attr(s,"class","svelte-1cus01h"),t.attr(a,"d","M8 12L11 15L16 9"),t.attr(a,"stroke","#25bf00"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(a,"class","svelte-1cus01h"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1cus01h")},m(r,l){t.insert(r,e,l),t.append(e,s),t.append(e,a)},d(r){r&&t.detach(e)}}}function Q(i){let e,s,a,r;return{c(){e=t.svg_element("svg"),s=t.svg_element("circle"),a=t.svg_element("text"),r=t.text("R"),t.attr(s,"cx","12"),t.attr(s,"cy","12"),t.attr(s,"r","10"),t.attr(s,"stroke","#dd6617d4"),t.attr(s,"stroke-width","2"),t.attr(s,"class","svelte-1cus01h"),t.attr(a,"x","50%"),t.attr(a,"y","54%"),t.attr(a,"text-anchor","middle"),t.attr(a,"dominant-baseline","middle"),t.attr(a,"font-size","14"),t.attr(a,"font-weight","bold"),t.attr(a,"fill","#dd6617d4"),t.attr(a,"font-family","Arial Rounded MT Bold, Arial, sans-serif"),t.attr(a,"class","svelte-1cus01h"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1cus01h")},m(l,o){t.insert(l,e,o),t.append(e,s),t.append(e,a),t.append(a,r)},d(l){l&&t.detach(e)}}}function Z(i){let e,s,a;return{c(){e=t.svg_element("svg"),s=t.svg_element("circle"),a=t.svg_element("path"),t.attr(s,"cx","12"),t.attr(s,"cy","12"),t.attr(s,"r","10"),t.attr(s,"stroke","#f0a85f"),t.attr(s,"stroke-width","2"),t.attr(s,"class","svelte-1cus01h"),t.attr(a,"d","M12 7V12L15 14"),t.attr(a,"stroke","#f0a85f"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(a,"class","svelte-1cus01h"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1cus01h")},m(r,l){t.insert(r,e,l),t.append(e,s),t.append(e,a)},d(r){r&&t.detach(e)}}}function $(i){let e,s,a;return{c(){e=t.svg_element("svg"),s=t.svg_element("circle"),a=t.svg_element("path"),t.attr(s,"cx","12"),t.attr(s,"cy","12"),t.attr(s,"r","10"),t.attr(s,"stroke","#e76049"),t.attr(s,"stroke-width","2"),t.attr(s,"class","svelte-1cus01h"),t.attr(a,"d","M9 9L15 15M15 9L9 15"),t.attr(a,"stroke","#e76049"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(a,"class","svelte-1cus01h"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1cus01h")},m(r,l){t.insert(r,e,l),t.append(e,s),t.append(e,a)},d(r){r&&t.detach(e)}}}function tt(i){let e,s,a,r;return{c(){e=t.svg_element("svg"),s=t.svg_element("circle"),a=t.svg_element("text"),r=t.text("A"),t.attr(s,"cx","12"),t.attr(s,"cy","12"),t.attr(s,"r","10"),t.attr(s,"stroke","#32b398"),t.attr(s,"stroke-width","2"),t.attr(s,"class","svelte-1cus01h"),t.attr(a,"x","50%"),t.attr(a,"y","54%"),t.attr(a,"text-anchor","middle"),t.attr(a,"dominant-baseline","middle"),t.attr(a,"font-size","14"),t.attr(a,"font-weight","bold"),t.attr(a,"fill","#32b398"),t.attr(a,"font-family","Arial Rounded MT Bold, Arial, sans-serif"),t.attr(a,"class","svelte-1cus01h"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1cus01h")},m(l,o){t.insert(l,e,o),t.append(e,s),t.append(e,a),t.append(a,r)},d(l){l&&t.detach(e)}}}function q(i){let e,s,a=i[27].Code+"",r,l,o,h=i[27].Date+"",y,b,x,g=i[8](`transactionType.${i[27].Type}`)+"",S,H,I,k,m,j,D,T=i[8](`transactionStatus.${i[27].Status}`)+"",A,z,F,R;function P(c,w){if(c[27].Status===c[7].Authorized)return tt;if(c[27].Status===c[7].Failed)return $;if(c[27].Status===c[7].Pending)return Z;if(c[27].Status===c[7].Rejected)return Q;if(c[27].Status===c[7].Success)return K}let C=P(i),f=C&&C(i);return{c(){e=t.element("tr"),s=t.element("td"),r=t.text(a),l=t.space(),o=t.element("td"),y=t.text(h),b=t.space(),x=t.element("td"),S=t.text(g),H=t.space(),I=t.element("td"),k=t.element("div"),m=t.element("span"),f&&f.c(),j=t.space(),D=t.element("span"),A=t.text(T),z=t.space(),t.attr(s,"class","CashierTransactionId svelte-1cus01h"),t.toggle_class(s,"copied",i[5]),t.attr(o,"class","svelte-1cus01h"),t.attr(x,"class","svelte-1cus01h"),t.attr(m,"class","CashierTransactionHistoryIcon svelte-1cus01h"),t.attr(D,"class","CashierTransactionHistoryStatusText svelte-1cus01h"),t.attr(k,"class","CashierTransactionHistoryStatus svelte-1cus01h"),t.attr(I,"class","svelte-1cus01h"),t.attr(e,"class","svelte-1cus01h")},m(c,w){t.insert(c,e,w),t.append(e,s),t.append(s,r),t.append(e,l),t.append(e,o),t.append(o,y),t.append(e,b),t.append(e,x),t.append(x,S),t.append(e,H),t.append(e,I),t.append(I,k),t.append(k,m),f&&f.m(m,null),t.append(k,j),t.append(k,D),t.append(D,A),t.append(e,z),F||(R=t.listen(s,"mousedown",i[17]),F=!0)},p(c,w){w&16&&a!==(a=c[27].Code+"")&&t.set_data(r,a),w&32&&t.toggle_class(s,"copied",c[5]),w&16&&h!==(h=c[27].Date+"")&&t.set_data(y,h),w&272&&g!==(g=c[8](`transactionType.${c[27].Type}`)+"")&&t.set_data(S,g),C!==(C=P(c))&&(f&&f.d(1),f=C&&C(c),f&&(f.c(),f.m(m,null))),w&272&&T!==(T=c[8](`transactionStatus.${c[27].Status}`)+"")&&t.set_data(A,T)},d(c){c&&t.detach(e),f&&f.d(),F=!1,R()}}}function et(i){let e;function s(l,o){if(l[4].length)return V;if(l[6])return J}let a=s(i),r=a&&a(i);return{c(){e=t.element("div"),r&&r.c(),t.attr(e,"class","CashierTransactionHistoryContainer svelte-1cus01h")},m(l,o){t.insert(l,e,o),r&&r.m(e,null)},p(l,[o]){a===(a=s(l))&&r?r.p(l,o):(r&&r.d(1),r=a&&a(l),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(l){l&&t.detach(e),r&&r.d()}}}const st="DD.MM.YYYY";function at(i,e,s){let a;t.component_subscribe(i,L.$format,n=>s(8,a=n));let{endpoint:r}=e,{session:l}=e,{lang:o="en"}=e,{customerid:h}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:x}=e,{tooltipduration:g=1e3}=e,{txncount:S=3}=e,{mbsource:H=""}=e,I=[],k=!1,m,j,D=!1;var T;(function(n){n.Deposit="deposit",n.Withdraw="withdraw",n.Refund="refund",n.Unknown="unknown",n.TaxDeduction="taxDeduction"})(T||(T={}));const A=["Authorized","Success","Failed","Rejected","PendingApprovalStage1","PendingApprovalStage2","PendingApprovalStage3","PendingNotification","PendingOfflineNotification","PendingConfirmation"];var z;(function(n){n.Authorized="Authorized",n.Success="Success",n.Failed="Failed",n.Rejected="Rejected",n.Pending="Pending"})(z||(z={})),t.onMount(()=>()=>{});const F=()=>{let n=x;if(n)return fetch(n).then(d=>d.json()).then(d=>{Object.keys(d).forEach(p=>{O(p,d[p])})}).catch(d=>{console.log(d)})};Object.keys(E).forEach(n=>{O(n,E[n])});const R=()=>{X(o)},P=()=>{const n=new URL(`${r}/api/v1/mm/payment/gettransactionshistory`),d=new Headers;d.append("accept","application/json"),d.append("Content-Type","application/json"),d.append("X-SessionId",`${l}`);const p=new Date(new Date().setMonth(new Date().getMonth()-3)).toISOString(),u={method:"POST",mode:"cors",headers:d,body:JSON.stringify({language:o,customerId:h,count:S,page:0,fromDate:p,toDate:null,statuses:{[T.Deposit]:A,[T.Withdraw]:A,[T.Refund]:["Unknown"],[T.TaxDeduction]:["Unknown"],[T.Unknown]:["Unknown"]},calculateProfit:!1})};s(6,D=!0),fetch(n,u).then(v=>v.json()).then(v=>{s(4,I=C((v==null?void 0:v.items)||[]))}).catch(v=>console.log(v)).finally(()=>s(6,D=!1))},C=n=>n.map(d=>{let p=d.generalFields.status;return d.generalFields.status.toLowerCase().includes("pending")&&(p=z.Pending),{Code:d.generalFields.code,Date:Y.dayjs(d.generalFields.created).format(st),Status:p,Type:d.generalFields.type}})||[],f=n=>{const d=n.currentTarget;n.target===d&&navigator.clipboard.writeText(d.innerText).then(()=>{s(5,k=!0),clearTimeout(j),j=setTimeout(()=>{s(5,k=!1)},2e3)}).catch(p=>{console.error("Could not copy text: ",p)})},c=n=>f(n);function w(n){t.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(3,m)})}return i.$$set=n=>{"endpoint"in n&&s(10,r=n.endpoint),"session"in n&&s(11,l=n.session),"lang"in n&&s(12,o=n.lang),"customerid"in n&&s(13,h=n.customerid),"clientstyling"in n&&s(0,y=n.clientstyling),"clientstylingurl"in n&&s(1,b=n.clientstylingurl),"translationurl"in n&&s(14,x=n.translationurl),"tooltipduration"in n&&s(2,g=n.tooltipduration),"txncount"in n&&s(15,S=n.txncount),"mbsource"in n&&s(16,H=n.mbsource)},i.$$.update=()=>{i.$$.dirty&4096&&o&&R(),i.$$.dirty&9&&y&&m&&t.setClientStyling(m,y),i.$$.dirty&10&&b&&m&&t.setClientStylingURL(m,b),i.$$.dirty&15360&&r&&l&&h&&o&&P(),i.$$.dirty&16384&&x&&F(),i.$$.dirty&65544&&H&&m&&t.setStreamStyling(m,`${H}.Style`)},[y,b,g,m,I,k,D,z,a,f,r,l,o,h,x,S,H,c,w]}class N extends t.SvelteComponent{constructor(e){super(),t.init(this,e,at,et,t.safe_not_equal,{endpoint:10,session:11,lang:12,customerid:13,clientstyling:0,clientstylingurl:1,translationurl:14,tooltipduration:2,txncount:15,mbsource:16},G)}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[11]}set session(e){this.$$set({session:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get customerid(){return this.$$.ctx[13]}set customerid(e){this.$$set({customerid:e}),t.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get tooltipduration(){return this.$$.ctx[2]}set tooltipduration(e){this.$$set({tooltipduration:e}),t.flush()}get txncount(){return this.$$.ctx[15]}set txncount(e){this.$$set({txncount:e}),t.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(N,{endpoint:{},session:{},lang:{},customerid:{},clientstyling:{},clientstylingurl:{},translationurl:{},tooltipduration:{},txncount:{},mbsource:{}},[],[],!0);exports.default=N;
@@ -1,14 +1,13 @@
1
- import { S as Oe, b as Te, s as Be, f as k, c as Me, n as Q, e as V, J as T, m as P, p as y, v as D, w as $, F as Le, A as qe, D as v, K as ee, L as xe, q as O, o as b, B as j, y as Fe, z as ze, E as Ie } from "./CashierConfirmModal-BCk4hvRj.js";
2
- import { a as Ee, i as Re, $ as Ue, b as He } from "./CashierError-BydkW7s_.js";
3
- import { d as ie, u as Ne, x as je } from "./CashierMethodDetails-oVkmdGDk.js";
4
- import { s as We, a as Ke, b as Ye } from "./CashierIframeRedirect-CmqcfGcT.js";
1
+ import { S as Oe, b as Te, s as Be, f as k, c as Me, n as Q, e as V, M as T, m as P, p as y, v as D, w as $, x as Le, B as qe, E as v, N as ee, O as xe, q as O, o as b, C as j, z as Fe, A as ze, F as Ie, G as Ee, H as Re, I as Ue } from "./CashierConfirmModal-Bl65cs4j.js";
2
+ import { a as He, i as Ne, $ as je, b as We } from "./CashierError-sabBjpnx.js";
3
+ import { d as ie, u as Ye, x as Ge } from "./CashierMethodDetails-BSFTmQGh.js";
5
4
  function te(t, i) {
6
- Ee(t, i);
5
+ He(t, i);
7
6
  }
8
- function Ge(t) {
9
- Re({
7
+ function Ke(t) {
8
+ Ne({
10
9
  fallbackLocale: "en"
11
- }), Ue.set(t);
10
+ }), je.set(t);
12
11
  }
13
12
  const re = {
14
13
  en: {
@@ -78,18 +77,18 @@ if (typeof window != "undefined") {
78
77
  }
79
78
  };
80
79
  };
81
- customElements.define = t(customElements.define), import("./CashierVideoModal-CM_ySf75.js").then(({ default: i }) => {
80
+ customElements.define = t(customElements.define), import("./CashierVideoModal-DfOU6IDE.js").then(({ default: i }) => {
82
81
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", i.element);
83
82
  });
84
83
  }
85
- function Je(t) {
84
+ function Ze(t) {
86
85
  Me(t, "svelte-3ui5us", "*,*::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;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);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}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);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;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
87
86
  }
88
87
  function oe(t, i, r) {
89
88
  const n = t.slice();
90
89
  return n[54] = i[r], n[56] = r, n;
91
90
  }
92
- function Ze(t) {
91
+ function Je(t) {
93
92
  let i, r, n, s, l = ee(
94
93
  /*displayMessages*/
95
94
  t[4]
@@ -346,7 +345,7 @@ function Qe(t) {
346
345
  /*displayMessages*/
347
346
  l[4]
348
347
  )
349
- return Ze;
348
+ return Je;
350
349
  }
351
350
  let n = r(t), s = n && n(t);
352
351
  return {
@@ -380,8 +379,8 @@ function Qe(t) {
380
379
  const $e = "verification_explanation_video_widgets.MP4";
381
380
  function ei(t, i, r) {
382
381
  let n, s;
383
- $(t, He, (e) => r(10, n = e)), $(t, je, (e) => r(30, s = e)), ie.extend(Ne);
384
- let { endpoint: l } = i, { lang: f = "en" } = i, { translationurl: u = "" } = i, { clientstyling: c = "" } = i, { clientstylingurl: h = "" } = i, { session: a = "" } = i, { customerid: _ = "" } = i, { ismobileview: g = "" } = i, { playersession: w = "" } = i, { mbsource: L = "" } = i, C, W = /* @__PURE__ */ new Set(), K = /* @__PURE__ */ new Set(), q, x, z, I = !0, Y = !0, E = !1, R = "", U = !1;
382
+ $(t, We, (e) => r(10, n = e)), $(t, Ge, (e) => r(30, s = e)), ie.extend(Ye);
383
+ let { endpoint: l } = i, { lang: f = "en" } = i, { translationurl: u = "" } = i, { clientstyling: c = "" } = i, { clientstylingurl: h = "" } = i, { session: a = "" } = i, { customerid: _ = "" } = i, { ismobileview: g = "" } = i, { playersession: w = "" } = i, { mbsource: L = "" } = i, C, W = /* @__PURE__ */ new Set(), Y = /* @__PURE__ */ new Set(), q, x, z, I = !0, G = !0, E = !1, R = "", U = !1;
385
384
  var B;
386
385
  (function(e) {
387
386
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
@@ -418,8 +417,8 @@ function ei(t, i, r) {
418
417
  te(e, re[e]);
419
418
  });
420
419
  const fe = () => {
421
- Ge(f);
422
- }, G = () => {
420
+ Ke(f);
421
+ }, K = () => {
423
422
  r(20, x = he());
424
423
  const e = new URL(`${l}/v1/player/${_}/verification/GetKYCCustomerStatus?language=${f}`), o = new Headers();
425
424
  o.append("accept", "application/json"), o.append("Content-Type", "application/json"), o.append("x-sessionid", `${w}`), o.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
@@ -432,10 +431,10 @@ function ei(t, i, r) {
432
431
  const S = de(m == null ? void 0 : m.Verifications);
433
432
  q = me(S), q.VerificationStatuses.forEach((F) => {
434
433
  F.VerificationUrlType !== "Widget" && W.add(F.Vendor);
435
- }), r(4, z = Z());
434
+ }), r(4, z = J());
436
435
  }).finally(() => r(9, U = !1));
437
436
  }, de = (e) => e ? e.sort((o, d) => new Date(d.Created).getTime() - new Date(o.Created).getTime()) : [], ue = () => {
438
- s && G();
437
+ s && K();
439
438
  }, he = () => {
440
439
  let e = (a || s).split(".")[1];
441
440
  if (e) {
@@ -456,17 +455,17 @@ function ei(t, i, r) {
456
455
  return {
457
456
  VerificationSummaryStatus: m.Status,
458
457
  VerificationUrl: (d = m.Flags) == null ? void 0 : d.DeferredUrlKey,
459
- VerificationStatuses: J(o, m.Status)
458
+ VerificationStatuses: Z(o, m.Status)
460
459
  };
461
460
  } else
462
461
  return {
463
462
  VerificationSummaryStatus: e.some((S) => S.Status === p.Failed) ? p.Failed : p.Verified,
464
- VerificationStatuses: J(e, [p.Failed])
463
+ VerificationStatuses: Z(e, [p.Failed])
465
464
  };
466
465
  }, pe = (e) => e.reduce(
467
466
  (o, d) => o ? new Date(o) < new Date(d) ? d : o : d,
468
467
  0
469
- ), J = (e, o) => e.filter((d) => o.includes(d.Status)).map((d) => {
468
+ ), Z = (e, o) => e.filter((d) => o.includes(d.Status)).map((d) => {
470
469
  var m, S;
471
470
  return {
472
471
  Type: d.Type,
@@ -478,7 +477,7 @@ function ei(t, i, r) {
478
477
  }), ge = (e) => e.filter((o) => le.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || ve(o) || we(o) : !1), ve = (e) => {
479
478
  const o = e.Documents && e.VendorName === B.Manual, d = e.Documents && e.Documents.some((m) => m.Status === H.Requested);
480
479
  return o && d;
481
- }, we = (e) => e.VendorName === B.ShuftiPro && e.Status === p.Referred, Z = () => {
480
+ }, we = (e) => e.VendorName === B.ShuftiPro && e.Status === p.Referred, J = () => {
482
481
  switch (q.VerificationSummaryStatus) {
483
482
  case p.InProgress:
484
483
  const e = [];
@@ -509,19 +508,19 @@ function ei(t, i, r) {
509
508
  e.forEach((A) => {
510
509
  m.includes(A.Type) && (o.push(A.Type), d[A.Type] = be(A, Ve(A.Type)));
511
510
  });
512
- let S = o.every((A) => K.has(A)), F = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
511
+ let S = o.every((A) => Y.has(A)), F = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
513
512
  return S ? n("verification.shuftipro.validations-started") : n(F, { values: d });
514
513
  }, be = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, Ve = (e) => n(`verification.shuftipro.link-name.${e}`), N = (e, o) => {
515
514
  if (e.stopPropagation(), e.target && (e.target.href || e.target.closest("a"))) {
516
515
  if (e.target.closest(".verificationLink")) {
517
516
  const d = e.target.className.split(" ")[1];
518
- K.add(d), r(4, z = Z());
517
+ Y.add(d), r(4, z = J());
519
518
  }
520
519
  return;
521
520
  }
522
521
  o === 0 && r(5, I = !I);
523
522
  }, Pe = () => {
524
- r(6, Y = g === "false");
523
+ r(6, G = g === "false");
525
524
  }, De = () => {
526
525
  r(8, R = x + "/" + f + "/" + $e);
527
526
  try {
@@ -544,14 +543,14 @@ function ei(t, i, r) {
544
543
  }, t.$$.update = () => {
545
544
  t.$$.dirty[0] & /*lang*/
546
545
  16384 && f && fe(), t.$$.dirty[0] & /*endpoint, session, playersession*/
547
- 335872 && l && a && w && G(), t.$$.dirty[0] & /*endpoint, session, playersession*/
546
+ 335872 && l && a && w && K(), t.$$.dirty[0] & /*endpoint, session, playersession*/
548
547
  335872 && l && !a && w && ue(), t.$$.dirty[0] & /*translationurl*/
549
548
  32768 && u && ce(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
550
- 9 && c && C && We(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
551
- 10 && h && C && Ke(), t.$$.dirty[0] & /*ismobileview*/
549
+ 9 && c && C && Ie(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
550
+ 10 && h && C && Ee(), t.$$.dirty[0] & /*ismobileview*/
552
551
  4 && g && Pe(), t.$$.dirty[0] & /*staticCdnUrl*/
553
552
  1048576 && x && De(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
554
- 524296 && L && C && Ye(C, `${L}.Style`);
553
+ 524296 && L && C && Re(C, `${L}.Style`);
555
554
  }, [
556
555
  c,
557
556
  h,
@@ -559,7 +558,7 @@ function ei(t, i, r) {
559
558
  C,
560
559
  z,
561
560
  I,
562
- Y,
561
+ G,
563
562
  E,
564
563
  R,
565
564
  U,
@@ -600,7 +599,7 @@ class ii extends Oe {
600
599
  playersession: 18,
601
600
  mbsource: 19
602
601
  },
603
- Je,
602
+ Ze,
604
603
  [-1, -1]
605
604
  );
606
605
  }
@@ -665,7 +664,7 @@ class ii extends Oe {
665
664
  this.$$set({ mbsource: i }), k();
666
665
  }
667
666
  }
668
- Ie(ii, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
667
+ Ue(ii, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
669
668
  export {
670
669
  ii as default
671
670
  };