@everymatrix/cashier-page 1.73.1 → 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-B1jSb3IC.js → CashierMethodDetails-BSFTmQGh.js} +11 -12
  14. package/components/{CashierMethodDetails-D9tO8F-N.cjs → CashierMethodDetails-Bn2T2uqA.cjs} +6 -6
  15. package/components/{CashierMethodDetails-CZ1Xj4bB.js → CashierMethodDetails-Dw38VRXT.js} +11 -12
  16. package/components/{CashierMethodsList-BoP67Zj_.js → CashierMethodsList-BoxBSxdg.js} +42 -43
  17. package/components/CashierMethodsList-BraJmcfY.cjs +1 -0
  18. package/components/{CashierMethodsList-pOyUlgCs.js → CashierMethodsList-DpB8OQgM.js} +47 -48
  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-BZCoKtSr.cjs → CashierPage-9Ld9PtFx.cjs} +1 -1
  26. package/components/{CashierPage-BVN_y5LM.js → CashierPage-DPeHCblC.js} +12 -12
  27. package/components/{CashierPage-B14Zambu.js → CashierPage-Kr04tUC9.js} +12 -12
  28. package/components/{CashierReceiptPage-hbrIFE7Z.js → CashierReceiptPage-BJsytdmQ.js} +47 -47
  29. package/components/{CashierReceiptPage-BM8IB2en.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-4QgY4tj0.js → CashierSessionExpirationModal-CLmExJ5_.js} +13 -14
  33. package/components/{CashierSessionExpirationModal-BZjFbzTF.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-DwBe7fCZ.js → CashierTransactionHistory-BtCGDpsh.js} +83 -84
  38. package/components/{CashierTransactionHistory-DzdL--gs.js → CashierTransactionHistory-_dzkXj9B.js} +69 -70
  39. package/components/CashierTransactionHistory-yWcSzIDX.cjs +1 -0
  40. package/components/{CashierVerifications-Ct5BMC4Z.js → CashierVerifications-CFZOQaUC.js} +31 -32
  41. package/components/CashierVerifications-Deeuh5dM.cjs +1 -0
  42. package/components/{CashierVerifications-bo5F0ePz.js → CashierVerifications-df_pAaWn.js} +31 -32
  43. package/components/CashierVideoModal-BVDx9GT8.cjs +1 -0
  44. package/components/{CashierVideoModal-CzRdJr4V.js → CashierVideoModal-C4pk_kaX.js} +28 -29
  45. package/components/{CashierVideoModal-CQLJKJAK.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-F_QBfadW.cjs +0 -1
  57. package/components/CashierModal-C-yyjQ8m.cjs +0 -1
  58. package/components/CashierReceiptPage-DY4vYKOg.cjs +0 -1
  59. package/components/CashierSessionExpirationModal-B-JloK58.cjs +0 -2
  60. package/components/CashierSpinner-CpkB8Zoj.cjs +0 -1
  61. package/components/CashierTransactionHistory-BRRK3_Wm.cjs +0 -1
  62. package/components/CashierVerifications-DEJgktmX.cjs +0 -1
  63. package/components/CashierVideoModal-8I67tMwv.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { S as $, b as tt, s as et, f as b, c as nt, d as L, e as C, t as v, g as H, u as T, h as M, j as E, m as k, o as S, p as y, q as z, v as B, w as st, x as D, y as lt, z as it, A as ot, n as W, B as Z, E as at } from "./CashierConfirmModal-BCk4hvRj.js";
2
- import { a as rt, i as ct, $ as ft, b as ut } from "./CashierError-BydkW7s_.js";
3
- function N(n, t) {
4
- rt(n, t);
1
+ import { S as V, b as X, f as b, s as $, I as tt, c as et, d as k, e as w, t as B, g as L, u as v, h as H, j as S, l as C, m as M, o as p, p as E, q as y, v as st, w as nt, x as I, y as it, z as lt, A as ot, n as U, B as W, F as at, G as rt, H as ct } from "./CashierConfirmModal-DiJy6WCC.js";
2
+ import { a as ut, i as ft, $ as ht, b as gt } from "./CashierError-DT8XXsZb.js";
3
+ function N(s, t) {
4
+ ut(s, t);
5
5
  }
6
- function ht(n) {
7
- ct({
6
+ function dt(s) {
7
+ ft({
8
8
  fallbackLocale: "en"
9
- }), ft.set(n);
9
+ }), ht.set(s);
10
10
  }
11
- const R = {
11
+ const x = {
12
12
  en: {
13
13
  header: {
14
14
  general: "Cashier",
@@ -31,315 +31,305 @@ const R = {
31
31
  }
32
32
  }
33
33
  };
34
- function gt(n) {
35
- nt(n, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
34
+ function _t(s) {
35
+ et(s, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
36
36
  }
37
- const dt = (n) => ({}), x = (n) => ({}), _t = (n) => ({}), A = (n) => ({}), mt = (n) => ({}), O = (n) => ({});
38
- function U(n) {
37
+ const mt = (s) => ({}), A = (s) => ({}), bt = (s) => ({}), R = (s) => ({}), wt = (s) => ({}), O = (s) => ({});
38
+ function q(s) {
39
39
  let t, e, l;
40
40
  return {
41
41
  c() {
42
- t = y("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', B(t, "class", "CashierHeaderLeftButton");
42
+ t = p("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', y(t, "class", "CashierHeaderLeftButton");
43
43
  },
44
- m(s, u) {
45
- k(s, t, u), e || (l = Z(
44
+ m(n, f) {
45
+ C(n, t, f), e || (l = W(
46
46
  t,
47
47
  "click",
48
48
  /*back*/
49
- n[6]
49
+ s[6]
50
50
  ), e = !0);
51
51
  },
52
- p: W,
53
- d(s) {
54
- s && C(t), e = !1, l();
52
+ p: U,
53
+ d(n) {
54
+ n && w(t), e = !1, l();
55
55
  }
56
56
  };
57
57
  }
58
- function wt(n) {
58
+ function Ct(s) {
59
59
  let t, e = (
60
60
  /*backButton*/
61
- n[1] && U(n)
61
+ s[1] && q(s)
62
62
  );
63
63
  return {
64
64
  c() {
65
- e && e.c(), t = D();
65
+ e && e.c(), t = I();
66
66
  },
67
- m(l, s) {
68
- e && e.m(l, s), k(l, t, s);
67
+ m(l, n) {
68
+ e && e.m(l, n), C(l, t, n);
69
69
  },
70
- p(l, s) {
70
+ p(l, n) {
71
71
  /*backButton*/
72
- l[1] ? e ? e.p(l, s) : (e = U(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
72
+ l[1] ? e ? e.p(l, n) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
73
73
  },
74
74
  d(l) {
75
- l && C(t), e && e.d(l);
75
+ l && w(t), e && e.d(l);
76
76
  }
77
77
  };
78
78
  }
79
- function bt(n) {
79
+ function pt(s) {
80
80
  let t, e = (
81
81
  /*$_*/
82
- n[4](
82
+ s[4](
83
83
  /*titleText*/
84
- n[2]
84
+ s[2]
85
85
  ) + ""
86
86
  ), l;
87
87
  return {
88
88
  c() {
89
- t = y("span"), l = it(e), B(t, "class", "CashierHeaderTitle");
89
+ t = p("span"), l = lt(e), y(t, "class", "CashierHeaderTitle");
90
90
  },
91
- m(s, u) {
92
- k(s, t, u), S(t, l);
91
+ m(n, f) {
92
+ C(n, t, f), M(t, l);
93
93
  },
94
- p(s, u) {
95
- u & /*$_, titleText*/
94
+ p(n, f) {
95
+ f & /*$_, titleText*/
96
96
  20 && e !== (e = /*$_*/
97
- s[4](
97
+ n[4](
98
98
  /*titleText*/
99
- s[2]
100
- ) + "") && lt(l, e);
99
+ n[2]
100
+ ) + "") && it(l, e);
101
101
  },
102
- d(s) {
103
- s && C(t);
102
+ d(n) {
103
+ n && w(t);
104
104
  }
105
105
  };
106
106
  }
107
- function q(n) {
107
+ function D(s) {
108
108
  let t, e, l;
109
109
  return {
110
110
  c() {
111
- t = y("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', B(t, "class", "CashierHeaderRightButton");
111
+ t = p("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', y(t, "class", "CashierHeaderRightButton");
112
112
  },
113
- m(s, u) {
114
- k(s, t, u), e || (l = Z(
113
+ m(n, f) {
114
+ C(n, t, f), e || (l = W(
115
115
  t,
116
116
  "click",
117
117
  /*close*/
118
- n[5]
118
+ s[5]
119
119
  ), e = !0);
120
120
  },
121
- p: W,
122
- d(s) {
123
- s && C(t), e = !1, l();
121
+ p: U,
122
+ d(n) {
123
+ n && w(t), e = !1, l();
124
124
  }
125
125
  };
126
126
  }
127
- function pt(n) {
127
+ function yt(s) {
128
128
  let t, e = (
129
129
  /*closeButton*/
130
- n[3] && q(n)
130
+ s[3] && D(s)
131
131
  );
132
132
  return {
133
133
  c() {
134
- e && e.c(), t = D();
134
+ e && e.c(), t = I();
135
135
  },
136
- m(l, s) {
137
- e && e.m(l, s), k(l, t, s);
136
+ m(l, n) {
137
+ e && e.m(l, n), C(l, t, n);
138
138
  },
139
- p(l, s) {
139
+ p(l, n) {
140
140
  /*closeButton*/
141
- l[3] ? e ? e.p(l, s) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
141
+ l[3] ? e ? e.p(l, n) : (e = D(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
142
142
  },
143
143
  d(l) {
144
- l && C(t), e && e.d(l);
144
+ l && w(t), e && e.d(l);
145
145
  }
146
146
  };
147
147
  }
148
- function Ct(n) {
149
- let t, e, l, s;
150
- const u = (
148
+ function kt(s) {
149
+ let t, e, l, n;
150
+ const f = (
151
151
  /*#slots*/
152
- n[15].leftButton
153
- ), _ = L(
154
- u,
155
- n,
152
+ s[16].leftButton
153
+ ), _ = k(
154
+ f,
155
+ s,
156
156
  /*$$scope*/
157
- n[14],
157
+ s[15],
158
158
  O
159
- ), c = _ || wt(n), w = (
159
+ ), r = _ || Ct(s), m = (
160
160
  /*#slots*/
161
- n[15].title
162
- ), h = L(
163
- w,
164
- n,
161
+ s[16].title
162
+ ), h = k(
163
+ m,
164
+ s,
165
165
  /*$$scope*/
166
- n[14],
167
- A
168
- ), f = h || bt(n), g = (
166
+ s[15],
167
+ R
168
+ ), c = h || pt(s), g = (
169
169
  /*#slots*/
170
- n[15].rightButton
171
- ), d = L(
170
+ s[16].rightButton
171
+ ), d = k(
172
172
  g,
173
- n,
173
+ s,
174
174
  /*$$scope*/
175
- n[14],
176
- x
177
- ), a = d || pt(n);
175
+ s[15],
176
+ A
177
+ ), u = d || yt(s);
178
178
  return {
179
179
  c() {
180
- t = y("div"), c && c.c(), e = z(), f && f.c(), l = z(), a && a.c(), B(t, "class", "CashierHeader");
180
+ t = p("div"), r && r.c(), e = E(), c && c.c(), l = E(), u && u.c(), y(t, "class", "CashierHeader");
181
181
  },
182
- m(i, r) {
183
- k(i, t, r), c && c.m(t, null), S(t, e), f && f.m(t, null), S(t, l), a && a.m(t, null), n[16](t), s = !0;
182
+ m(i, a) {
183
+ C(i, t, a), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, l), u && u.m(t, null), s[17](t), n = !0;
184
184
  },
185
- p(i, [r]) {
186
- _ ? _.p && (!s || r & /*$$scope*/
187
- 16384) && T(
185
+ p(i, [a]) {
186
+ _ ? _.p && (!n || a & /*$$scope*/
187
+ 32768) && v(
188
188
  _,
189
- u,
189
+ f,
190
190
  i,
191
191
  /*$$scope*/
192
- i[14],
193
- s ? E(
194
- u,
192
+ i[15],
193
+ n ? S(
194
+ f,
195
195
  /*$$scope*/
196
- i[14],
197
- r,
198
- mt
199
- ) : M(
196
+ i[15],
197
+ a,
198
+ wt
199
+ ) : H(
200
200
  /*$$scope*/
201
- i[14]
201
+ i[15]
202
202
  ),
203
203
  O
204
- ) : c && c.p && (!s || r & /*backButton*/
205
- 2) && c.p(i, s ? r : -1), h ? h.p && (!s || r & /*$$scope*/
206
- 16384) && T(
204
+ ) : r && r.p && (!n || a & /*backButton*/
205
+ 2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
206
+ 32768) && v(
207
207
  h,
208
- w,
208
+ m,
209
209
  i,
210
210
  /*$$scope*/
211
- i[14],
212
- s ? E(
213
- w,
211
+ i[15],
212
+ n ? S(
213
+ m,
214
214
  /*$$scope*/
215
- i[14],
216
- r,
217
- _t
218
- ) : M(
215
+ i[15],
216
+ a,
217
+ bt
218
+ ) : H(
219
219
  /*$$scope*/
220
- i[14]
220
+ i[15]
221
221
  ),
222
- A
223
- ) : f && f.p && (!s || r & /*$_, titleText*/
224
- 20) && f.p(i, s ? r : -1), d ? d.p && (!s || r & /*$$scope*/
225
- 16384) && T(
222
+ R
223
+ ) : c && c.p && (!n || a & /*$_, titleText*/
224
+ 20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
225
+ 32768) && v(
226
226
  d,
227
227
  g,
228
228
  i,
229
229
  /*$$scope*/
230
- i[14],
231
- s ? E(
230
+ i[15],
231
+ n ? S(
232
232
  g,
233
233
  /*$$scope*/
234
- i[14],
235
- r,
236
- dt
237
- ) : M(
234
+ i[15],
235
+ a,
236
+ mt
237
+ ) : H(
238
238
  /*$$scope*/
239
- i[14]
239
+ i[15]
240
240
  ),
241
- x
242
- ) : a && a.p && (!s || r & /*closeButton*/
243
- 8) && a.p(i, s ? r : -1);
241
+ A
242
+ ) : u && u.p && (!n || a & /*closeButton*/
243
+ 8) && u.p(i, n ? a : -1);
244
244
  },
245
245
  i(i) {
246
- s || (H(c, i), H(f, i), H(a, i), s = !0);
246
+ n || (L(r, i), L(c, i), L(u, i), n = !0);
247
247
  },
248
248
  o(i) {
249
- v(c, i), v(f, i), v(a, i), s = !1;
249
+ B(r, i), B(c, i), B(u, i), n = !1;
250
250
  },
251
251
  d(i) {
252
- i && C(t), c && c.d(i), f && f.d(i), a && a.d(i), n[16](null);
252
+ i && w(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
253
253
  }
254
254
  };
255
255
  }
256
- function kt(n, t, e) {
256
+ function Bt(s, t, e) {
257
257
  let l;
258
- st(n, ut, (o) => e(4, l = o));
259
- let { $$slots: s = {}, $$scope: u } = t, { clientstyling: _ = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: w = "" } = t, { showbackbutton: h = "" } = t, { title: f = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, a, i = !1, r, j = !1;
260
- const F = () => {
261
- let o = w;
262
- o && fetch(o).then((m) => m.json()).then((m) => {
263
- Object.keys(m).forEach((p) => {
264
- N(p, m[p]);
258
+ st(s, gt, (o) => e(4, l = o));
259
+ let { $$slots: n = {}, $$scope: f } = t, { clientstyling: _ = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: m = "" } = t, { showbackbutton: h = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: d = "" } = t, { mbsource: u = "" } = t, i, a = !1, T, j = !1;
260
+ const Z = () => {
261
+ fetch(m).then((o) => o.json()).then((o) => {
262
+ Object.keys(o).forEach((z) => {
263
+ N(z, o[z]);
265
264
  });
266
- }).catch((m) => {
267
- console.log(m);
265
+ }).catch((o) => {
266
+ console.log(o);
268
267
  });
269
268
  };
270
- Object.keys(R).forEach((o) => {
271
- N(o, R[o]);
269
+ Object.keys(x).forEach((o) => {
270
+ N(o, x[o]);
272
271
  });
273
- const I = () => {
274
- let o = document.createElement("style");
275
- o.innerHTML = _, a.appendChild(o);
276
- }, P = () => {
277
- let o = new URL(c), m = document.createElement("style");
278
- fetch(o.href).then((p) => p.text()).then((p) => {
279
- m.innerHTML = p, setTimeout(
280
- () => {
281
- a.appendChild(m);
282
- },
283
- 1
284
- );
285
- });
286
- }, Y = () => {
287
- ht(g);
272
+ const F = () => {
273
+ dt(g);
288
274
  }, G = () => {
289
275
  window.postMessage({ type: "CloseCashier" }, window.location.href);
290
- }, J = () => {
276
+ }, P = () => {
291
277
  window.postMessage({ type: "BackCashier" }, window.location.href);
292
- }, K = () => {
293
- e(1, i = !!h && h !== "false");
294
- }, Q = () => {
278
+ }, Y = () => {
279
+ e(1, a = !!h && h !== "false");
280
+ }, J = () => {
295
281
  e(3, j = !!d && d !== "false");
296
- }, V = () => {
297
- e(2, r = f || "header.general");
282
+ }, K = () => {
283
+ e(2, T = c || "header.general");
298
284
  };
299
- function X(o) {
285
+ nt(() => () => {
286
+ });
287
+ function Q(o) {
300
288
  ot[o ? "unshift" : "push"](() => {
301
- a = o, e(0, a);
289
+ i = o, e(0, i);
302
290
  });
303
291
  }
304
- return n.$$set = (o) => {
305
- "clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, c = o.clientstylingurl), "translationurl" in o && e(9, w = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, f = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "$$scope" in o && e(14, u = o.$$scope);
306
- }, n.$$.update = () => {
307
- n.$$.dirty & /*lang*/
308
- 4096 && g && Y(), n.$$.dirty & /*lang, title*/
309
- 6144 && g && f && V(), n.$$.dirty & /*clientstyling, customStylingContainer*/
310
- 129 && _ && a && I(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
311
- 257 && c && a && P(), n.$$.dirty & /*lang, translationurl*/
312
- 4608 && g && w && F(), n.$$.dirty & /*showbackbutton*/
313
- 1024 && h && K(), n.$$.dirty & /*showclosebutton*/
314
- 8192 && d && Q();
292
+ return s.$$set = (o) => {
293
+ "clientstyling" in o && e(7, _ = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, m = o.translationurl), "showbackbutton" in o && e(10, h = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, d = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, f = o.$$scope);
294
+ }, s.$$.update = () => {
295
+ s.$$.dirty & /*lang*/
296
+ 4096 && g && F(), s.$$.dirty & /*lang, title*/
297
+ 6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
298
+ 129 && _ && i && at(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
299
+ 257 && r && i && rt(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
300
+ 16385 && u && i && ct(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
301
+ 4608 && g && m && Z(), s.$$.dirty & /*showbackbutton*/
302
+ 1024 && h && Y(), s.$$.dirty & /*showclosebutton*/
303
+ 8192 && d && J();
315
304
  }, [
316
- a,
317
305
  i,
318
- r,
306
+ a,
307
+ T,
319
308
  j,
320
309
  l,
321
310
  G,
322
- J,
311
+ P,
323
312
  _,
324
- c,
325
- w,
313
+ r,
314
+ m,
326
315
  h,
327
- f,
316
+ c,
328
317
  g,
329
318
  d,
330
319
  u,
331
- s,
332
- X
320
+ f,
321
+ n,
322
+ Q
333
323
  ];
334
324
  }
335
- class yt extends $ {
325
+ class Lt extends V {
336
326
  constructor(t) {
337
- super(), tt(
327
+ super(), X(
338
328
  this,
339
329
  t,
330
+ Bt,
340
331
  kt,
341
- Ct,
342
- et,
332
+ $,
343
333
  {
344
334
  clientstyling: 7,
345
335
  clientstylingurl: 8,
@@ -347,9 +337,10 @@ class yt extends $ {
347
337
  showbackbutton: 10,
348
338
  title: 11,
349
339
  lang: 12,
350
- showclosebutton: 13
340
+ showclosebutton: 13,
341
+ mbsource: 14
351
342
  },
352
- gt
343
+ _t
353
344
  );
354
345
  }
355
346
  get clientstyling() {
@@ -394,8 +385,14 @@ class yt extends $ {
394
385
  set showclosebutton(t) {
395
386
  this.$$set({ showclosebutton: t }), b();
396
387
  }
388
+ get mbsource() {
389
+ return this.$$.ctx[14];
390
+ }
391
+ set mbsource(t) {
392
+ this.$$set({ mbsource: t }), b();
393
+ }
397
394
  }
398
- at(yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
395
+ tt(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
399
396
  export {
400
- yt as default
397
+ Lt as default
401
398
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-Dbth1Vwp.cjs"),w=require("./CashierError-CUi7dlhw.cjs");function k(i,t){w.addMessages(i,t)}function x(i){w.init({fallbackLocale:"en"}),w.$locale.set(i)}const B={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},"en-us":{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}}};function D(i){e.append_styles(i,"svelte-bbilb",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}const P=i=>({}),L=i=>({}),U=i=>({}),v=i=>({}),W=i=>({}),H=i=>({});function M(i){let t,n,o;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',e.attr(t,"class","CashierHeaderLeftButton")},m(l,h){e.insert(l,t,h),n||(o=e.listen(t,"click",i[6]),n=!0)},p:e.noop,d(l){l&&e.detach(t),n=!1,o()}}}function Z(i){let t,n=i[1]&&M(i);return{c(){n&&n.c(),t=e.empty()},m(o,l){n&&n.m(o,l),e.insert(o,t,l)},p(o,l){o[1]?n?n.p(o,l):(n=M(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&e.detach(t),n&&n.d(o)}}}function I(i){let t,n=i[4](i[2])+"",o;return{c(){t=e.element("span"),o=e.text(n),e.attr(t,"class","CashierHeaderTitle")},m(l,h){e.insert(l,t,h),e.append(t,o)},p(l,h){h&20&&n!==(n=l[4](l[2])+"")&&e.set_data(o,n)},d(l){l&&e.detach(t)}}}function S(i){let t,n,o;return{c(){t=e.element("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>',e.attr(t,"class","CashierHeaderRightButton")},m(l,h){e.insert(l,t,h),n||(o=e.listen(t,"click",i[5]),n=!0)},p:e.noop,d(l){l&&e.detach(t),n=!1,o()}}}function Y(i){let t,n=i[3]&&S(i);return{c(){n&&n.c(),t=e.empty()},m(o,l){n&&n.m(o,l),e.insert(o,t,l)},p(o,l){o[3]?n?n.p(o,l):(n=S(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&e.detach(t),n&&n.d(o)}}}function F(i){let t,n,o,l;const h=i[16].leftButton,m=e.create_slot(h,i,i[15],H),c=m||Z(i),b=i[16].title,g=e.create_slot(b,i,i[15],v),u=g||I(i),_=i[16].rightButton,d=e.create_slot(_,i,i[15],L),f=d||Y(i);return{c(){t=e.element("div"),c&&c.c(),n=e.space(),u&&u.c(),o=e.space(),f&&f.c(),e.attr(t,"class","CashierHeader")},m(s,a){e.insert(s,t,a),c&&c.m(t,null),e.append(t,n),u&&u.m(t,null),e.append(t,o),f&&f.m(t,null),i[17](t),l=!0},p(s,[a]){m?m.p&&(!l||a&32768)&&e.update_slot_base(m,h,s,s[15],l?e.get_slot_changes(h,s[15],a,W):e.get_all_dirty_from_scope(s[15]),H):c&&c.p&&(!l||a&2)&&c.p(s,l?a:-1),g?g.p&&(!l||a&32768)&&e.update_slot_base(g,b,s,s[15],l?e.get_slot_changes(b,s[15],a,U):e.get_all_dirty_from_scope(s[15]),v):u&&u.p&&(!l||a&20)&&u.p(s,l?a:-1),d?d.p&&(!l||a&32768)&&e.update_slot_base(d,_,s,s[15],l?e.get_slot_changes(_,s[15],a,P):e.get_all_dirty_from_scope(s[15]),L):f&&f.p&&(!l||a&8)&&f.p(s,l?a:-1)},i(s){l||(e.transition_in(c,s),e.transition_in(u,s),e.transition_in(f,s),l=!0)},o(s){e.transition_out(c,s),e.transition_out(u,s),e.transition_out(f,s),l=!1},d(s){s&&e.detach(t),c&&c.d(s),u&&u.d(s),f&&f.d(s),i[17](null)}}}function G(i,t,n){let o;e.component_subscribe(i,w.$format,r=>n(4,o=r));let{$$slots:l={},$$scope:h}=t,{clientstyling:m=""}=t,{clientstylingurl:c=""}=t,{translationurl:b=""}=t,{showbackbutton:g=""}=t,{title:u="header.general"}=t,{lang:_="en"}=t,{showclosebutton:d=""}=t,{mbsource:f=""}=t,s,a=!1,p,C=!1;const E=()=>{fetch(b).then(r=>r.json()).then(r=>{Object.keys(r).forEach(y=>{k(y,r[y])})}).catch(r=>{console.log(r)})};Object.keys(B).forEach(r=>{k(r,B[r])});const j=()=>{x(_)},N=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},z=()=>{window.postMessage({type:"BackCashier"},window.location.href)},O=()=>{n(1,a=!!g&&g!=="false")},R=()=>{n(3,C=!!d&&d!=="false")},q=()=>{n(2,p=u||"header.general")};e.onMount(()=>()=>{});function A(r){e.binding_callbacks[r?"unshift":"push"](()=>{s=r,n(0,s)})}return i.$$set=r=>{"clientstyling"in r&&n(7,m=r.clientstyling),"clientstylingurl"in r&&n(8,c=r.clientstylingurl),"translationurl"in r&&n(9,b=r.translationurl),"showbackbutton"in r&&n(10,g=r.showbackbutton),"title"in r&&n(11,u=r.title),"lang"in r&&n(12,_=r.lang),"showclosebutton"in r&&n(13,d=r.showclosebutton),"mbsource"in r&&n(14,f=r.mbsource),"$$scope"in r&&n(15,h=r.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&j(),i.$$.dirty&6144&&_&&u&&q(),i.$$.dirty&129&&m&&s&&e.setClientStyling(s,m),i.$$.dirty&257&&c&&s&&e.setClientStylingURL(s,c),i.$$.dirty&16385&&f&&s&&e.setStreamStyling(s,`${f}.Style`),i.$$.dirty&4608&&_&&b&&E(),i.$$.dirty&1024&&g&&O(),i.$$.dirty&8192&&d&&R()},[s,a,p,C,o,N,z,m,c,b,g,u,_,d,f,h,l,A]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,G,F,e.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},D)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(T,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=T;