@everymatrix/cashier-page 1.76.12 → 1.76.14

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 (77) hide show
  1. package/components/{CashierError-BuW5dJfP.js → CashierError-BD6RqW_4.js} +767 -735
  2. package/components/CashierError-BVTgkQx8.cjs +21 -0
  3. package/components/{CashierError-BL7OTzSK.js → CashierError-_mJg7htJ.js} +744 -712
  4. package/components/{CashierHeader-CkyrZZ8s.js → CashierHeader-CLenwFLu.js} +35 -35
  5. package/components/{CashierHeader-FDYsDrpF.js → CashierHeader-DGMIDhtj.js} +37 -37
  6. package/components/{CashierHeader-D5eAmyvG.cjs → CashierHeader-s4ev8t3u.cjs} +1 -1
  7. package/components/{CashierIframeRedirect-wlE_YN39.js → CashierIframeRedirect-BVU6BJJW.js} +34 -34
  8. package/components/{CashierIframeRedirect-Db-zgjwP.cjs → CashierIframeRedirect-CVCo8t0b.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-CmdPA_aZ.js → CashierIframeRedirect-i-bgiInf.js} +28 -28
  10. package/components/{CashierMethodDetails-B7K0CIlB.cjs → CashierMethodDetails-DNAJHYhK.cjs} +5 -18
  11. package/components/{CashierMethodDetails-BSBqkHNa.js → CashierMethodDetails-PPgUijPf.js} +694 -743
  12. package/components/{CashierMethodDetails-C7dG4t8m.js → CashierMethodDetails-Yh-raa4P.js} +835 -884
  13. package/components/{CashierMethodsList-gPmctW-Q.js → CashierMethodsList-Bq89MePx.js} +92 -92
  14. package/components/{CashierMethodsList-pakwpTY2.cjs → CashierMethodsList-GFY_3ABy.cjs} +1 -1
  15. package/components/{CashierMethodsList-FNgy0d7U.js → CashierMethodsList-odtc9D1r.js} +83 -83
  16. package/components/{CashierModal-vCh-dC6Q.cjs → CashierModal-Btsbp3nD.cjs} +1 -1
  17. package/components/{CashierModal-BAzO-8NU.js → CashierModal-DTVOjm1x.js} +40 -40
  18. package/components/{CashierModal-CIWk9EpH.js → CashierModal-wzdkmyre.js} +46 -46
  19. package/components/{CashierNotifications-BhA-DfA9.js → CashierNotifications-Ci6C686m.js} +32 -32
  20. package/components/{CashierNotifications-CfzNxd6q.js → CashierNotifications-CmEFRQ8z.js} +32 -32
  21. package/components/{CashierNotifications-Bgf97-ym.cjs → CashierNotifications-mcKpgb8B.cjs} +1 -1
  22. package/components/{CashierPage-DcwM8mwG.cjs → CashierPage-CfG1gBA4.cjs} +1 -1
  23. package/components/{CashierPage-DbHvX6nI.js → CashierPage-D8Py7RSY.js} +109 -109
  24. package/components/{CashierPage-D8YY3wAI.js → CashierPage-mgwXJuuN.js} +135 -135
  25. package/components/{CashierReceiptPage-CQyluI1J.cjs → CashierReceiptPage-BVPfyaQD.cjs} +1 -1
  26. package/components/{CashierReceiptPage-BzjCwk2b.js → CashierReceiptPage-DS7FVfNe.js} +76 -76
  27. package/components/{CashierReceiptPage-A1MYfWGW.js → CashierReceiptPage-DlVdltM6.js} +76 -76
  28. package/components/{CashierSessionExpirationModal-CtakjuI_.js → CashierSessionExpirationModal-CeThEk8x.js} +94 -85
  29. package/components/{CashierSessionExpirationModal-Bh3jmXl_.cjs → CashierSessionExpirationModal-Dj_Kbuv7.cjs} +2 -2
  30. package/components/{CashierSessionExpirationModal-YWIpKzje.js → CashierSessionExpirationModal-DvN0J2as.js} +94 -85
  31. package/components/{CashierSpinner-CAqB2_pw.js → CashierSpinner-BCIciib1.js} +19 -19
  32. package/components/{CashierSpinner-DTztqXMW.cjs → CashierSpinner-DFXOVOqQ.cjs} +1 -1
  33. package/components/{CashierSpinner-DXrTfpLq.js → CashierSpinner-yNXiNCOs.js} +19 -19
  34. package/components/{CashierTransactionHistory-c_0mTjNo.cjs → CashierTransactionHistory-BUPbSA6h.cjs} +1 -1
  35. package/components/{CashierTransactionHistory-Y1g5hagc.js → CashierTransactionHistory-CqwwMSVN.js} +76 -76
  36. package/components/{CashierTransactionHistory-U9Il8eZb.js → CashierTransactionHistory-pyelfuDA.js} +119 -119
  37. package/components/{CashierVerifications-BlWTY2gh.cjs → CashierVerifications-B5JCN--3.cjs} +1 -1
  38. package/components/{CashierVerifications-BA7PsePr.js → CashierVerifications-ChzwoJWn.js} +41 -41
  39. package/components/{CashierVerifications-BTvFySIg.js → CashierVerifications-DkzSmAn4.js} +30 -30
  40. package/components/{TxnStatusIcon-ClddwA7r.js → TxnStatusIcon-BogP6LJ2.js} +23 -23
  41. package/components/{TxnStatusIcon-Dapc6xhT.cjs → TxnStatusIcon-DCMCZZCQ.cjs} +1 -1
  42. package/components/{TxnStatusIcon-DPmmaKoK.js → TxnStatusIcon-DasCjrqn.js} +27 -27
  43. package/components/{TxnTypeIcons-w8LBVBiN.cjs → TxnTypeIcons-BByZ1nXT.cjs} +1 -1
  44. package/components/{TxnTypeIcons-CEcfPpqm.js → TxnTypeIcons-Bg5MfuGX.js} +14 -14
  45. package/components/{TxnTypeIcons-CWojIltL.js → TxnTypeIcons-DavAdp_P.js} +14 -14
  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/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
  51. package/stencil/index-242ac81a-Czg480dJ.js +554 -0
  52. package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
  53. package/stencil/index-b2193545-ByMYc64n.cjs +1 -0
  54. package/stencil/index-b2193545-DWKmtYUG.js +503 -0
  55. package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
  56. package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
  57. package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
  58. package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
  59. package/stencil/{ui-image-BRBJSkg1.js → ui-image-BGfwfp_F.js} +1 -1
  60. package/stencil/{ui-image-C0iABVS5.cjs → ui-image-CBGIeQyw.cjs} +1 -1
  61. package/stencil/{ui-image-e4W3SkhP.js → ui-image-Cgsi32kw.js} +1 -1
  62. package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
  63. package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
  64. package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
  65. package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
  66. package/stencil/{ui-skeleton-DgAs7VA3.cjs → ui-skeleton-C4Ir1ffm.cjs} +1 -1
  67. package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-P4PO_42z.js} +2 -2
  68. package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-BIdXBK8D.js} +1 -1
  69. package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-C7WHUwAT.js} +1 -1
  70. package/stencil/{ui-skeleton-ae35c6f2-DLHrpWJM.cjs → ui-skeleton-ae35c6f2-jcrjm-Kl.cjs} +1 -1
  71. package/components/CashierError-BEEnpeVH.cjs +0 -8
  72. package/stencil/index-242ac81a-BqeIndhr.js +0 -554
  73. package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
  74. package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
  75. package/stencil/index-b2193545-BoSqyMpB.js +0 -519
  76. package/stencil/index-b2193545-D4dOaNlR.js +0 -503
  77. package/stencil/index-b2193545-DGHOe8n4.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a as V, i as X, $, S as tt, b as et, f as b, s as st, c as nt, d as it, e as y, g as w, t as B, h as L, u as v, j as H, k as S, l as C, m as M, n as p, o as z, p as k, q as lt, r as ot, v as U, w as at, x as rt, y as ct, z as W, A as Z, B as ut, C as ft, D as ht, E as gt } from "./CashierError-BL7OTzSK.js";
1
+ import { a as V, i as X, $, S as tt, b as et, f as b, c as st, s as nt, d as it, e as y, g as p, h as z, j as k, k as w, l as M, u as B, m as L, n as v, t as H, o as S, p as C, q as lt, r as ot, v as at, w as rt, x as U, y as ct, z as ut, A as ft, B as ht, C as W, D as Z, E as gt } from "./CashierError-_mJg7htJ.js";
2
2
  function N(s, t) {
3
3
  V(s, t);
4
4
  }
@@ -41,16 +41,16 @@ function O(s) {
41
41
  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>', k(t, "class", "CashierHeaderLeftButton");
42
42
  },
43
43
  m(n, f) {
44
- C(n, t, f), e || (l = Z(
44
+ w(n, t, f), e || (l = W(
45
45
  t,
46
46
  "click",
47
47
  /*back*/
48
48
  s[6]
49
49
  ), e = !0);
50
50
  },
51
- p: W,
51
+ p: Z,
52
52
  d(n) {
53
- n && w(t), e = !1, l();
53
+ n && C(t), e = !1, l();
54
54
  }
55
55
  };
56
56
  }
@@ -64,14 +64,14 @@ function Ct(s) {
64
64
  e && e.c(), t = U();
65
65
  },
66
66
  m(l, n) {
67
- e && e.m(l, n), C(l, t, n);
67
+ e && e.m(l, n), w(l, t, n);
68
68
  },
69
69
  p(l, n) {
70
70
  /*backButton*/
71
71
  l[1] ? e ? e.p(l, n) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
72
72
  },
73
73
  d(l) {
74
- l && w(t), e && e.d(l);
74
+ l && C(t), e && e.d(l);
75
75
  }
76
76
  };
77
77
  }
@@ -85,10 +85,10 @@ function pt(s) {
85
85
  ), l;
86
86
  return {
87
87
  c() {
88
- t = p("span"), l = rt(e), k(t, "class", "CashierHeaderTitle");
88
+ t = p("span"), l = ct(e), k(t, "class", "CashierHeaderTitle");
89
89
  },
90
90
  m(n, f) {
91
- C(n, t, f), M(t, l);
91
+ w(n, t, f), M(t, l);
92
92
  },
93
93
  p(n, f) {
94
94
  f & /*$_, titleText*/
@@ -96,10 +96,10 @@ function pt(s) {
96
96
  n[4](
97
97
  /*titleText*/
98
98
  n[2]
99
- ) + "") && at(l, e);
99
+ ) + "") && ut(l, e);
100
100
  },
101
101
  d(n) {
102
- n && w(t);
102
+ n && C(t);
103
103
  }
104
104
  };
105
105
  }
@@ -110,16 +110,16 @@ function q(s) {
110
110
  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>', k(t, "class", "CashierHeaderRightButton");
111
111
  },
112
112
  m(n, f) {
113
- C(n, t, f), e || (l = Z(
113
+ w(n, t, f), e || (l = W(
114
114
  t,
115
115
  "click",
116
116
  /*close*/
117
117
  s[5]
118
118
  ), e = !0);
119
119
  },
120
- p: W,
120
+ p: Z,
121
121
  d(n) {
122
- n && w(t), e = !1, l();
122
+ n && C(t), e = !1, l();
123
123
  }
124
124
  };
125
125
  }
@@ -133,14 +133,14 @@ function kt(s) {
133
133
  e && e.c(), t = U();
134
134
  },
135
135
  m(l, n) {
136
- e && e.m(l, n), C(l, t, n);
136
+ e && e.m(l, n), w(l, t, n);
137
137
  },
138
138
  p(l, n) {
139
139
  /*closeButton*/
140
140
  l[3] ? e ? e.p(l, n) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
141
141
  },
142
142
  d(l) {
143
- l && w(t), e && e.d(l);
143
+ l && C(t), e && e.d(l);
144
144
  }
145
145
  };
146
146
  }
@@ -179,61 +179,61 @@ function yt(s) {
179
179
  t = p("div"), r && r.c(), e = z(), c && c.c(), l = z(), u && u.c(), k(t, "class", "CashierHeader");
180
180
  },
181
181
  m(i, a) {
182
- 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;
182
+ w(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;
183
183
  },
184
184
  p(i, [a]) {
185
185
  _ ? _.p && (!n || a & /*$$scope*/
186
- 32768) && v(
186
+ 32768) && B(
187
187
  _,
188
188
  f,
189
189
  i,
190
190
  /*$$scope*/
191
191
  i[15],
192
- n ? S(
192
+ n ? v(
193
193
  f,
194
194
  /*$$scope*/
195
195
  i[15],
196
196
  a,
197
197
  wt
198
- ) : H(
198
+ ) : L(
199
199
  /*$$scope*/
200
200
  i[15]
201
201
  ),
202
202
  D
203
203
  ) : r && r.p && (!n || a & /*backButton*/
204
204
  2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
205
- 32768) && v(
205
+ 32768) && B(
206
206
  h,
207
207
  m,
208
208
  i,
209
209
  /*$$scope*/
210
210
  i[15],
211
- n ? S(
211
+ n ? v(
212
212
  m,
213
213
  /*$$scope*/
214
214
  i[15],
215
215
  a,
216
216
  bt
217
- ) : H(
217
+ ) : L(
218
218
  /*$$scope*/
219
219
  i[15]
220
220
  ),
221
221
  R
222
222
  ) : c && c.p && (!n || a & /*$_, titleText*/
223
223
  20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
224
- 32768) && v(
224
+ 32768) && B(
225
225
  d,
226
226
  g,
227
227
  i,
228
228
  /*$$scope*/
229
229
  i[15],
230
- n ? S(
230
+ n ? v(
231
231
  g,
232
232
  /*$$scope*/
233
233
  i[15],
234
234
  a,
235
235
  mt
236
- ) : H(
236
+ ) : L(
237
237
  /*$$scope*/
238
238
  i[15]
239
239
  ),
@@ -242,19 +242,19 @@ function yt(s) {
242
242
  8) && u.p(i, n ? a : -1);
243
243
  },
244
244
  i(i) {
245
- n || (L(r, i), L(c, i), L(u, i), n = !0);
245
+ n || (H(r, i), H(c, i), H(u, i), n = !0);
246
246
  },
247
247
  o(i) {
248
- B(r, i), B(c, i), B(u, i), n = !1;
248
+ S(r, i), S(c, i), S(u, i), n = !1;
249
249
  },
250
250
  d(i) {
251
- i && w(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
251
+ i && C(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
252
252
  }
253
253
  };
254
254
  }
255
255
  function Bt(s, t, e) {
256
256
  let l;
257
- lt(s, ut, (o) => e(4, l = o));
257
+ lt(s, gt, (o) => e(4, l = o));
258
258
  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, E = !1;
259
259
  const I = () => {
260
260
  fetch(m).then((o) => o.json()).then((o) => {
@@ -284,7 +284,7 @@ function Bt(s, t, e) {
284
284
  ot(() => () => {
285
285
  });
286
286
  function Q(o) {
287
- ct[o ? "unshift" : "push"](() => {
287
+ ft[o ? "unshift" : "push"](() => {
288
288
  i = o, e(0, i);
289
289
  });
290
290
  }
@@ -294,9 +294,9 @@ function Bt(s, t, e) {
294
294
  s.$$.dirty & /*lang*/
295
295
  4096 && g && P(), s.$$.dirty & /*lang, title*/
296
296
  6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
297
- 129 && _ && i && ft(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
298
- 257 && r && i && ht(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
299
- 16385 && u && i && gt(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
297
+ 129 && _ && i && ht(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
298
+ 257 && r && i && at(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
299
+ 16385 && u && i && rt(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
300
300
  4608 && g && m && I(), s.$$.dirty & /*showbackbutton*/
301
301
  1024 && h && G(), s.$$.dirty & /*showclosebutton*/
302
302
  8192 && d && J();
@@ -328,7 +328,7 @@ class Lt extends tt {
328
328
  t,
329
329
  Bt,
330
330
  yt,
331
- st,
331
+ nt,
332
332
  {
333
333
  clientstyling: 7,
334
334
  clientstylingurl: 8,
@@ -391,7 +391,7 @@ class Lt extends tt {
391
391
  this.$$set({ mbsource: t }), b();
392
392
  }
393
393
  }
394
- nt(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
394
+ st(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
395
395
  export {
396
396
  Lt as default
397
397
  };
@@ -1,4 +1,4 @@
1
- import { a as V, i as X, $, S as tt, b as et, s as st, f as b, c as nt, d as y, e as w, t as B, g as L, u as v, h as H, j as S, k as C, l as M, m as p, n as z, o as k, p as it, q as lt, r as U, v as ot, w as at, x as rt, y as W, z as Z, A as ct, B as ut, C as ft, D as ht, E as gt } from "./CashierError-BuW5dJfP.js";
1
+ import { a as V, i as X, $, S as tt, b as et, f as b, c as st, s as nt, d as it, e as y, g as p, h as z, j as k, k as w, l as M, u as B, m as L, n as v, t as H, o as S, p as C, q as lt, r as ot, v as at, w as rt, x as U, y as ct, z as ut, A as ft, B as ht, C as W, D as Z, E as gt } from "./CashierError-BD6RqW_4.js";
2
2
  function N(s, t) {
3
3
  V(s, t);
4
4
  }
@@ -31,7 +31,7 @@ const x = {
31
31
  }
32
32
  };
33
33
  function _t(s) {
34
- nt(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}");
34
+ it(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}");
35
35
  }
36
36
  const mt = (s) => ({}), A = (s) => ({}), bt = (s) => ({}), R = (s) => ({}), wt = (s) => ({}), D = (s) => ({});
37
37
  function O(s) {
@@ -41,16 +41,16 @@ function O(s) {
41
41
  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>', k(t, "class", "CashierHeaderLeftButton");
42
42
  },
43
43
  m(n, f) {
44
- C(n, t, f), e || (l = Z(
44
+ w(n, t, f), e || (l = W(
45
45
  t,
46
46
  "click",
47
47
  /*back*/
48
48
  s[6]
49
49
  ), e = !0);
50
50
  },
51
- p: W,
51
+ p: Z,
52
52
  d(n) {
53
- n && w(t), e = !1, l();
53
+ n && C(t), e = !1, l();
54
54
  }
55
55
  };
56
56
  }
@@ -64,14 +64,14 @@ function Ct(s) {
64
64
  e && e.c(), t = U();
65
65
  },
66
66
  m(l, n) {
67
- e && e.m(l, n), C(l, t, n);
67
+ e && e.m(l, n), w(l, t, n);
68
68
  },
69
69
  p(l, n) {
70
70
  /*backButton*/
71
71
  l[1] ? e ? e.p(l, n) : (e = O(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
72
72
  },
73
73
  d(l) {
74
- l && w(t), e && e.d(l);
74
+ l && C(t), e && e.d(l);
75
75
  }
76
76
  };
77
77
  }
@@ -85,10 +85,10 @@ function pt(s) {
85
85
  ), l;
86
86
  return {
87
87
  c() {
88
- t = p("span"), l = at(e), k(t, "class", "CashierHeaderTitle");
88
+ t = p("span"), l = ct(e), k(t, "class", "CashierHeaderTitle");
89
89
  },
90
90
  m(n, f) {
91
- C(n, t, f), M(t, l);
91
+ w(n, t, f), M(t, l);
92
92
  },
93
93
  p(n, f) {
94
94
  f & /*$_, titleText*/
@@ -96,10 +96,10 @@ function pt(s) {
96
96
  n[4](
97
97
  /*titleText*/
98
98
  n[2]
99
- ) + "") && ot(l, e);
99
+ ) + "") && ut(l, e);
100
100
  },
101
101
  d(n) {
102
- n && w(t);
102
+ n && C(t);
103
103
  }
104
104
  };
105
105
  }
@@ -110,16 +110,16 @@ function q(s) {
110
110
  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>', k(t, "class", "CashierHeaderRightButton");
111
111
  },
112
112
  m(n, f) {
113
- C(n, t, f), e || (l = Z(
113
+ w(n, t, f), e || (l = W(
114
114
  t,
115
115
  "click",
116
116
  /*close*/
117
117
  s[5]
118
118
  ), e = !0);
119
119
  },
120
- p: W,
120
+ p: Z,
121
121
  d(n) {
122
- n && w(t), e = !1, l();
122
+ n && C(t), e = !1, l();
123
123
  }
124
124
  };
125
125
  }
@@ -133,14 +133,14 @@ function kt(s) {
133
133
  e && e.c(), t = U();
134
134
  },
135
135
  m(l, n) {
136
- e && e.m(l, n), C(l, t, n);
136
+ e && e.m(l, n), w(l, t, n);
137
137
  },
138
138
  p(l, n) {
139
139
  /*closeButton*/
140
140
  l[3] ? e ? e.p(l, n) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
141
141
  },
142
142
  d(l) {
143
- l && w(t), e && e.d(l);
143
+ l && C(t), e && e.d(l);
144
144
  }
145
145
  };
146
146
  }
@@ -179,61 +179,61 @@ function yt(s) {
179
179
  t = p("div"), r && r.c(), e = z(), c && c.c(), l = z(), u && u.c(), k(t, "class", "CashierHeader");
180
180
  },
181
181
  m(i, a) {
182
- 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;
182
+ w(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;
183
183
  },
184
184
  p(i, [a]) {
185
185
  _ ? _.p && (!n || a & /*$$scope*/
186
- 32768) && v(
186
+ 32768) && B(
187
187
  _,
188
188
  f,
189
189
  i,
190
190
  /*$$scope*/
191
191
  i[15],
192
- n ? S(
192
+ n ? v(
193
193
  f,
194
194
  /*$$scope*/
195
195
  i[15],
196
196
  a,
197
197
  wt
198
- ) : H(
198
+ ) : L(
199
199
  /*$$scope*/
200
200
  i[15]
201
201
  ),
202
202
  D
203
203
  ) : r && r.p && (!n || a & /*backButton*/
204
204
  2) && r.p(i, n ? a : -1), h ? h.p && (!n || a & /*$$scope*/
205
- 32768) && v(
205
+ 32768) && B(
206
206
  h,
207
207
  m,
208
208
  i,
209
209
  /*$$scope*/
210
210
  i[15],
211
- n ? S(
211
+ n ? v(
212
212
  m,
213
213
  /*$$scope*/
214
214
  i[15],
215
215
  a,
216
216
  bt
217
- ) : H(
217
+ ) : L(
218
218
  /*$$scope*/
219
219
  i[15]
220
220
  ),
221
221
  R
222
222
  ) : c && c.p && (!n || a & /*$_, titleText*/
223
223
  20) && c.p(i, n ? a : -1), d ? d.p && (!n || a & /*$$scope*/
224
- 32768) && v(
224
+ 32768) && B(
225
225
  d,
226
226
  g,
227
227
  i,
228
228
  /*$$scope*/
229
229
  i[15],
230
- n ? S(
230
+ n ? v(
231
231
  g,
232
232
  /*$$scope*/
233
233
  i[15],
234
234
  a,
235
235
  mt
236
- ) : H(
236
+ ) : L(
237
237
  /*$$scope*/
238
238
  i[15]
239
239
  ),
@@ -242,19 +242,19 @@ function yt(s) {
242
242
  8) && u.p(i, n ? a : -1);
243
243
  },
244
244
  i(i) {
245
- n || (L(r, i), L(c, i), L(u, i), n = !0);
245
+ n || (H(r, i), H(c, i), H(u, i), n = !0);
246
246
  },
247
247
  o(i) {
248
- B(r, i), B(c, i), B(u, i), n = !1;
248
+ S(r, i), S(c, i), S(u, i), n = !1;
249
249
  },
250
250
  d(i) {
251
- i && w(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
251
+ i && C(t), r && r.d(i), c && c.d(i), u && u.d(i), s[17](null);
252
252
  }
253
253
  };
254
254
  }
255
255
  function Bt(s, t, e) {
256
256
  let l;
257
- it(s, gt, (o) => e(4, l = o));
257
+ lt(s, gt, (o) => e(4, l = o));
258
258
  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, E = !1;
259
259
  const I = () => {
260
260
  fetch(m).then((o) => o.json()).then((o) => {
@@ -281,10 +281,10 @@ function Bt(s, t, e) {
281
281
  }, K = () => {
282
282
  e(2, T = c || "header.general");
283
283
  };
284
- lt(() => () => {
284
+ ot(() => () => {
285
285
  });
286
286
  function Q(o) {
287
- rt[o ? "unshift" : "push"](() => {
287
+ ft[o ? "unshift" : "push"](() => {
288
288
  i = o, e(0, i);
289
289
  });
290
290
  }
@@ -294,9 +294,9 @@ function Bt(s, t, e) {
294
294
  s.$$.dirty & /*lang*/
295
295
  4096 && g && P(), s.$$.dirty & /*lang, title*/
296
296
  6144 && g && c && K(), s.$$.dirty & /*clientstyling, customStylingContainer*/
297
- 129 && _ && i && ct(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
298
- 257 && r && i && ut(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
299
- 16385 && u && i && ft(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
297
+ 129 && _ && i && ht(i, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
298
+ 257 && r && i && at(i, r), s.$$.dirty & /*mbsource, customStylingContainer*/
299
+ 16385 && u && i && rt(i, `${u}.Style`), s.$$.dirty & /*lang, translationurl*/
300
300
  4608 && g && m && I(), s.$$.dirty & /*showbackbutton*/
301
301
  1024 && h && G(), s.$$.dirty & /*showclosebutton*/
302
302
  8192 && d && J();
@@ -328,7 +328,7 @@ class Lt extends tt {
328
328
  t,
329
329
  Bt,
330
330
  yt,
331
- st,
331
+ nt,
332
332
  {
333
333
  clientstyling: 7,
334
334
  clientstylingurl: 8,
@@ -391,7 +391,7 @@ class Lt extends tt {
391
391
  this.$$set({ mbsource: t }), b();
392
392
  }
393
393
  }
394
- ht(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
394
+ st(Lt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
395
395
  export {
396
396
  Lt as default
397
397
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-BEEnpeVH.cjs");function y(i,e){t.addMessages(i,e)}function q(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const k={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 x(i){t.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 D=i=>({}),B=i=>({}),P=i=>({}),L=i=>({}),U=i=>({}),v=i=>({});function H(i){let e,n,o;return{c(){e=t.element("div"),e.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>',t.attr(e,"class","CashierHeaderLeftButton")},m(l,h){t.insert(l,e,h),n||(o=t.listen(e,"click",i[6]),n=!0)},p:t.noop,d(l){l&&t.detach(e),n=!1,o()}}}function W(i){let e,n=i[1]&&H(i);return{c(){n&&n.c(),e=t.empty()},m(o,l){n&&n.m(o,l),t.insert(o,e,l)},p(o,l){o[1]?n?n.p(o,l):(n=H(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function Z(i){let e,n=i[4](i[2])+"",o;return{c(){e=t.element("span"),o=t.text(n),t.attr(e,"class","CashierHeaderTitle")},m(l,h){t.insert(l,e,h),t.append(e,o)},p(l,h){h&20&&n!==(n=l[4](l[2])+"")&&t.set_data(o,n)},d(l){l&&t.detach(e)}}}function S(i){let e,n,o;return{c(){e=t.element("span"),e.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>',t.attr(e,"class","CashierHeaderRightButton")},m(l,h){t.insert(l,e,h),n||(o=t.listen(e,"click",i[5]),n=!0)},p:t.noop,d(l){l&&t.detach(e),n=!1,o()}}}function I(i){let e,n=i[3]&&S(i);return{c(){n&&n.c(),e=t.empty()},m(o,l){n&&n.m(o,l),t.insert(o,e,l)},p(o,l){o[3]?n?n.p(o,l):(n=S(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function Y(i){let e,n,o,l;const h=i[16].leftButton,m=t.create_slot(h,i,i[15],v),c=m||W(i),b=i[16].title,g=t.create_slot(b,i,i[15],L),u=g||Z(i),_=i[16].rightButton,d=t.create_slot(_,i,i[15],B),f=d||I(i);return{c(){e=t.element("div"),c&&c.c(),n=t.space(),u&&u.c(),o=t.space(),f&&f.c(),t.attr(e,"class","CashierHeader")},m(s,r){t.insert(s,e,r),c&&c.m(e,null),t.append(e,n),u&&u.m(e,null),t.append(e,o),f&&f.m(e,null),i[17](e),l=!0},p(s,[r]){m?m.p&&(!l||r&32768)&&t.update_slot_base(m,h,s,s[15],l?t.get_slot_changes(h,s[15],r,U):t.get_all_dirty_from_scope(s[15]),v):c&&c.p&&(!l||r&2)&&c.p(s,l?r:-1),g?g.p&&(!l||r&32768)&&t.update_slot_base(g,b,s,s[15],l?t.get_slot_changes(b,s[15],r,P):t.get_all_dirty_from_scope(s[15]),L):u&&u.p&&(!l||r&20)&&u.p(s,l?r:-1),d?d.p&&(!l||r&32768)&&t.update_slot_base(d,_,s,s[15],l?t.get_slot_changes(_,s[15],r,D):t.get_all_dirty_from_scope(s[15]),B):f&&f.p&&(!l||r&8)&&f.p(s,l?r:-1)},i(s){l||(t.transition_in(c,s),t.transition_in(u,s),t.transition_in(f,s),l=!0)},o(s){t.transition_out(c,s),t.transition_out(u,s),t.transition_out(f,s),l=!1},d(s){s&&t.detach(e),c&&c.d(s),u&&u.d(s),f&&f.d(s),i[17](null)}}}function F(i,e,n){let o;t.component_subscribe(i,t.$format,a=>n(4,o=a));let{$$slots:l={},$$scope:h}=e,{clientstyling:m=""}=e,{clientstylingurl:c=""}=e,{translationurl:b=""}=e,{showbackbutton:g=""}=e,{title:u="header.general"}=e,{lang:_="en"}=e,{showclosebutton:d=""}=e,{mbsource:f=""}=e,s,r=!1,w,p=!1;const T=()=>{fetch(b).then(a=>a.json()).then(a=>{Object.keys(a).forEach(C=>{y(C,a[C])})}).catch(a=>{console.log(a)})};Object.keys(k).forEach(a=>{y(a,k[a])});const E=()=>{q(_)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},N=()=>{window.postMessage({type:"BackCashier"},window.location.href)},z=()=>{n(1,r=!!g&&g!=="false")},O=()=>{n(3,p=!!d&&d!=="false")},R=()=>{n(2,w=u||"header.general")};t.onMount(()=>()=>{});function A(a){t.binding_callbacks[a?"unshift":"push"](()=>{s=a,n(0,s)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,c=a.clientstylingurl),"translationurl"in a&&n(9,b=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,u=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"mbsource"in a&&n(14,f=a.mbsource),"$$scope"in a&&n(15,h=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&E(),i.$$.dirty&6144&&_&&u&&R(),i.$$.dirty&129&&m&&s&&t.setClientStyling(s,m),i.$$.dirty&257&&c&&s&&t.setClientStylingURL(s,c),i.$$.dirty&16385&&f&&s&&t.setStreamStyling(s,`${f}.Style`),i.$$.dirty&4608&&_&&b&&T(),i.$$.dirty&1024&&g&&z(),i.$$.dirty&8192&&d&&O()},[s,r,w,p,o,j,N,m,c,b,g,u,_,d,f,h,l,A]}class M extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,F,Y,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},x)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[11]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(e){this.$$set({showclosebutton:e}),t.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(M,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=M;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierError-BVTgkQx8.cjs");function y(i,e){t.addMessages(i,e)}function q(i){t.init({fallbackLocale:"en"}),t.$locale.set(i)}const k={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 x(i){t.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 D=i=>({}),B=i=>({}),P=i=>({}),L=i=>({}),U=i=>({}),v=i=>({});function H(i){let e,n,o;return{c(){e=t.element("div"),e.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>',t.attr(e,"class","CashierHeaderLeftButton")},m(l,h){t.insert(l,e,h),n||(o=t.listen(e,"click",i[6]),n=!0)},p:t.noop,d(l){l&&t.detach(e),n=!1,o()}}}function W(i){let e,n=i[1]&&H(i);return{c(){n&&n.c(),e=t.empty()},m(o,l){n&&n.m(o,l),t.insert(o,e,l)},p(o,l){o[1]?n?n.p(o,l):(n=H(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function Z(i){let e,n=i[4](i[2])+"",o;return{c(){e=t.element("span"),o=t.text(n),t.attr(e,"class","CashierHeaderTitle")},m(l,h){t.insert(l,e,h),t.append(e,o)},p(l,h){h&20&&n!==(n=l[4](l[2])+"")&&t.set_data(o,n)},d(l){l&&t.detach(e)}}}function S(i){let e,n,o;return{c(){e=t.element("span"),e.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>',t.attr(e,"class","CashierHeaderRightButton")},m(l,h){t.insert(l,e,h),n||(o=t.listen(e,"click",i[5]),n=!0)},p:t.noop,d(l){l&&t.detach(e),n=!1,o()}}}function I(i){let e,n=i[3]&&S(i);return{c(){n&&n.c(),e=t.empty()},m(o,l){n&&n.m(o,l),t.insert(o,e,l)},p(o,l){o[3]?n?n.p(o,l):(n=S(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d(o){o&&t.detach(e),n&&n.d(o)}}}function Y(i){let e,n,o,l;const h=i[16].leftButton,m=t.create_slot(h,i,i[15],v),c=m||W(i),b=i[16].title,g=t.create_slot(b,i,i[15],L),u=g||Z(i),_=i[16].rightButton,d=t.create_slot(_,i,i[15],B),f=d||I(i);return{c(){e=t.element("div"),c&&c.c(),n=t.space(),u&&u.c(),o=t.space(),f&&f.c(),t.attr(e,"class","CashierHeader")},m(s,r){t.insert(s,e,r),c&&c.m(e,null),t.append(e,n),u&&u.m(e,null),t.append(e,o),f&&f.m(e,null),i[17](e),l=!0},p(s,[r]){m?m.p&&(!l||r&32768)&&t.update_slot_base(m,h,s,s[15],l?t.get_slot_changes(h,s[15],r,U):t.get_all_dirty_from_scope(s[15]),v):c&&c.p&&(!l||r&2)&&c.p(s,l?r:-1),g?g.p&&(!l||r&32768)&&t.update_slot_base(g,b,s,s[15],l?t.get_slot_changes(b,s[15],r,P):t.get_all_dirty_from_scope(s[15]),L):u&&u.p&&(!l||r&20)&&u.p(s,l?r:-1),d?d.p&&(!l||r&32768)&&t.update_slot_base(d,_,s,s[15],l?t.get_slot_changes(_,s[15],r,D):t.get_all_dirty_from_scope(s[15]),B):f&&f.p&&(!l||r&8)&&f.p(s,l?r:-1)},i(s){l||(t.transition_in(c,s),t.transition_in(u,s),t.transition_in(f,s),l=!0)},o(s){t.transition_out(c,s),t.transition_out(u,s),t.transition_out(f,s),l=!1},d(s){s&&t.detach(e),c&&c.d(s),u&&u.d(s),f&&f.d(s),i[17](null)}}}function F(i,e,n){let o;t.component_subscribe(i,t.$format,a=>n(4,o=a));let{$$slots:l={},$$scope:h}=e,{clientstyling:m=""}=e,{clientstylingurl:c=""}=e,{translationurl:b=""}=e,{showbackbutton:g=""}=e,{title:u="header.general"}=e,{lang:_="en"}=e,{showclosebutton:d=""}=e,{mbsource:f=""}=e,s,r=!1,w,p=!1;const T=()=>{fetch(b).then(a=>a.json()).then(a=>{Object.keys(a).forEach(C=>{y(C,a[C])})}).catch(a=>{console.log(a)})};Object.keys(k).forEach(a=>{y(a,k[a])});const E=()=>{q(_)},j=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},N=()=>{window.postMessage({type:"BackCashier"},window.location.href)},z=()=>{n(1,r=!!g&&g!=="false")},O=()=>{n(3,p=!!d&&d!=="false")},R=()=>{n(2,w=u||"header.general")};t.onMount(()=>()=>{});function A(a){t.binding_callbacks[a?"unshift":"push"](()=>{s=a,n(0,s)})}return i.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,c=a.clientstylingurl),"translationurl"in a&&n(9,b=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,u=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"mbsource"in a&&n(14,f=a.mbsource),"$$scope"in a&&n(15,h=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4096&&_&&E(),i.$$.dirty&6144&&_&&u&&R(),i.$$.dirty&129&&m&&s&&t.setClientStyling(s,m),i.$$.dirty&257&&c&&s&&t.setClientStylingURL(s,c),i.$$.dirty&16385&&f&&s&&t.setStreamStyling(s,`${f}.Style`),i.$$.dirty&4608&&_&&b&&T(),i.$$.dirty&1024&&g&&z(),i.$$.dirty&8192&&d&&O()},[s,r,w,p,o,j,N,m,c,b,g,u,_,d,f,h,l,A]}class M extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,F,Y,t.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},x)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(e){this.$$set({showbackbutton:e}),t.flush()}get title(){return this.$$.ctx[11]}set title(e){this.$$set({title:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(e){this.$$set({showclosebutton:e}),t.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(M,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);exports.default=M;