@everymatrix/cashier-method-details 1.62.0 → 1.62.1

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 (48) hide show
  1. package/components/{CashierConfirmModal-BzyMG3UR.js → CashierConfirmModal-3pkCHAVZ.js} +33 -33
  2. package/components/{CashierConfirmModal-_hdnB5XT.js → CashierConfirmModal-CNzEOcOZ.js} +33 -33
  3. package/components/{CashierError-B6McF-k3.js → CashierError-BClBak8x.js} +664 -660
  4. package/components/{CashierError-CpurblKL.cjs → CashierError-CoLl3dEP.cjs} +3 -16
  5. package/components/{CashierError-B5moVKPa.js → CashierError-bPWE21Ni.js} +663 -659
  6. package/components/{CashierHeader--Nl05VG1.js → CashierHeader-BgUIP4fy.js} +38 -38
  7. package/components/{CashierHeader-DfkOztXW.js → CashierHeader-CL-A-O_Z.js} +38 -38
  8. package/components/{CashierHeader-Cl8p01HE.cjs → CashierHeader-DhOg-KmR.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-CG-TISLS.js → CashierIframeRedirect-C01c3Gue.js} +30 -30
  10. package/components/{CashierIframeRedirect-DeYUvDgV.cjs → CashierIframeRedirect-CAGTGqyb.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-Bcj_O92b.js → CashierIframeRedirect-DzAu52q6.js} +32 -32
  12. package/components/{CashierMethodDetails-dtFzfq5E.js → CashierMethodDetails-BFjC7E9R.js} +55 -55
  13. package/components/{CashierMethodDetails-DfYB6twn.js → CashierMethodDetails-CqcX1wNn.js} +55 -55
  14. package/components/{CashierMethodDetails-liiK2Dkd.cjs → CashierMethodDetails-Dpu6BcPJ.cjs} +1 -1
  15. package/components/{CashierModal-cAadEtV9.js → CashierModal-Dv-7ZIuz.js} +34 -34
  16. package/components/{CashierModal-B2DUTbzl.js → CashierModal-PGQGrAgY.js} +34 -34
  17. package/components/{CashierNotifications-BqrU3g7B.js → CashierNotifications-BMYdcdkg.js} +19 -19
  18. package/components/{CashierNotifications-sCssNp8Z.js → CashierNotifications-Dy0g_QWG.js} +19 -19
  19. package/components/{CashierReceiptPage-CMCjTz1a.js → CashierReceiptPage-Bwit60SY.js} +28 -28
  20. package/components/{CashierReceiptPage-CVy0Rii8.js → CashierReceiptPage-CUvIL3fA.js} +28 -28
  21. package/components/{CashierReceiptPage-mGY6IAnl.cjs → CashierReceiptPage-KfAcel2D.cjs} +1 -1
  22. package/components/{CashierSpinner-BMBhQseZ.js → CashierSpinner-D30EfqMz.js} +27 -27
  23. package/components/{CashierSpinner-D3kcfOR-.js → CashierSpinner-Dq2vgm_x.js} +27 -27
  24. package/es2015/cashier-method-details.cjs +1 -1
  25. package/es2015/cashier-method-details.js +1 -1
  26. package/esnext/cashier-method-details.js +1 -1
  27. package/package.json +1 -1
  28. package/stencil/index-97d17652-CCalHFFZ.js +558 -0
  29. package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
  30. package/stencil/index-97d17652-De_e2iwD.js +542 -0
  31. package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
  32. package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
  33. package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
  34. package/stencil/ui-image-CxLeLi3r.cjs +1 -0
  35. package/stencil/ui-image-D12cpp7q.js +25 -0
  36. package/stencil/ui-image-jU_A8Cc1.js +7 -0
  37. package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
  38. package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
  39. package/stencil/ui-image_2-CIsvIZfV.js +154 -0
  40. package/stencil/index-b7bbd57e-6KaMTlNN.js +0 -534
  41. package/stencil/index-b7bbd57e-BSagye0B.js +0 -550
  42. package/stencil/index-b7bbd57e-DIQXXTTR.cjs +0 -1
  43. package/stencil/ui-image-38c3c15f-CumwWbNu.js +0 -39
  44. package/stencil/ui-image-38c3c15f-Dxl-aZb-.js +0 -39
  45. package/stencil/ui-image-38c3c15f-y5t5ZLG0.cjs +0 -1
  46. package/stencil/ui-image-BQa5UbqU.js +0 -11
  47. package/stencil/ui-image-Bi4jDe3D.js +0 -29
  48. package/stencil/ui-image-z441BZiX.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { S as $, b as tt, f as b, c as et, a as nt, d as st, e as L, g as y, h as z, j as B, k as C, l as S, u as v, m as H, o as T, t as M, p as E, v as k, w as lt, x as W, y as it, z as ot, C as at, A as Z, n as q } from "./CashierConfirmModal-BzyMG3UR.js";
2
- import { a as rt, i as ct, $ as ft, b as ut } from "./CashierError-B5moVKPa.js";
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-3pkCHAVZ.js";
2
+ import { a as rt, i as ct, $ as ft, b as ut } from "./CashierError-bPWE21Ni.js";
3
3
  function N(n, t) {
4
4
  rt(n, t);
5
5
  }
@@ -32,7 +32,7 @@ const R = {
32
32
  }
33
33
  };
34
34
  function gt(n) {
35
- st(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}");
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}");
36
36
  }
37
37
  const dt = (n) => ({}), x = (n) => ({}), _t = (n) => ({}), A = (n) => ({}), mt = (n) => ({}), O = (n) => ({});
38
38
  function U(n) {
@@ -42,16 +42,16 @@ function U(n) {
42
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");
43
43
  },
44
44
  m(s, u) {
45
- C(s, t, u), e || (l = Z(
45
+ k(s, t, u), e || (l = Z(
46
46
  t,
47
47
  "click",
48
48
  /*back*/
49
49
  n[6]
50
50
  ), e = !0);
51
51
  },
52
- p: q,
52
+ p: W,
53
53
  d(s) {
54
- s && k(t), e = !1, l();
54
+ s && C(t), e = !1, l();
55
55
  }
56
56
  };
57
57
  }
@@ -62,17 +62,17 @@ function wt(n) {
62
62
  );
63
63
  return {
64
64
  c() {
65
- e && e.c(), t = W();
65
+ e && e.c(), t = D();
66
66
  },
67
67
  m(l, s) {
68
- e && e.m(l, s), C(l, t, s);
68
+ e && e.m(l, s), k(l, t, s);
69
69
  },
70
70
  p(l, s) {
71
71
  /*backButton*/
72
72
  l[1] ? e ? e.p(l, s) : (e = U(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
73
73
  },
74
74
  d(l) {
75
- l && k(t), e && e.d(l);
75
+ l && C(t), e && e.d(l);
76
76
  }
77
77
  };
78
78
  }
@@ -89,7 +89,7 @@ function bt(n) {
89
89
  t = y("span"), l = it(e), B(t, "class", "CashierHeaderTitle");
90
90
  },
91
91
  m(s, u) {
92
- C(s, t, u), S(t, l);
92
+ k(s, t, u), S(t, l);
93
93
  },
94
94
  p(s, u) {
95
95
  u & /*$_, titleText*/
@@ -97,51 +97,51 @@ function bt(n) {
97
97
  s[4](
98
98
  /*titleText*/
99
99
  s[2]
100
- ) + "") && ot(l, e);
100
+ ) + "") && lt(l, e);
101
101
  },
102
102
  d(s) {
103
- s && k(t);
103
+ s && C(t);
104
104
  }
105
105
  };
106
106
  }
107
- function D(n) {
107
+ function q(n) {
108
108
  let t, e, l;
109
109
  return {
110
110
  c() {
111
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");
112
112
  },
113
113
  m(s, u) {
114
- C(s, t, u), e || (l = Z(
114
+ k(s, t, u), e || (l = Z(
115
115
  t,
116
116
  "click",
117
117
  /*close*/
118
118
  n[5]
119
119
  ), e = !0);
120
120
  },
121
- p: q,
121
+ p: W,
122
122
  d(s) {
123
- s && k(t), e = !1, l();
123
+ s && C(t), e = !1, l();
124
124
  }
125
125
  };
126
126
  }
127
127
  function pt(n) {
128
128
  let t, e = (
129
129
  /*closeButton*/
130
- n[3] && D(n)
130
+ n[3] && q(n)
131
131
  );
132
132
  return {
133
133
  c() {
134
- e && e.c(), t = W();
134
+ e && e.c(), t = D();
135
135
  },
136
136
  m(l, s) {
137
- e && e.m(l, s), C(l, t, s);
137
+ e && e.m(l, s), k(l, t, s);
138
138
  },
139
139
  p(l, s) {
140
140
  /*closeButton*/
141
- l[3] ? e ? e.p(l, s) : (e = D(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
141
+ l[3] ? e ? e.p(l, s) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
142
142
  },
143
143
  d(l) {
144
- l && k(t), e && e.d(l);
144
+ l && C(t), e && e.d(l);
145
145
  }
146
146
  };
147
147
  }
@@ -180,61 +180,61 @@ function Ct(n) {
180
180
  t = y("div"), c && c.c(), e = z(), f && f.c(), l = z(), a && a.c(), B(t, "class", "CashierHeader");
181
181
  },
182
182
  m(i, r) {
183
- C(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;
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;
184
184
  },
185
185
  p(i, [r]) {
186
186
  _ ? _.p && (!s || r & /*$$scope*/
187
- 16384) && v(
187
+ 16384) && T(
188
188
  _,
189
189
  u,
190
190
  i,
191
191
  /*$$scope*/
192
192
  i[14],
193
- s ? T(
193
+ s ? E(
194
194
  u,
195
195
  /*$$scope*/
196
196
  i[14],
197
197
  r,
198
198
  mt
199
- ) : H(
199
+ ) : M(
200
200
  /*$$scope*/
201
201
  i[14]
202
202
  ),
203
203
  O
204
204
  ) : c && c.p && (!s || r & /*backButton*/
205
205
  2) && c.p(i, s ? r : -1), h ? h.p && (!s || r & /*$$scope*/
206
- 16384) && v(
206
+ 16384) && T(
207
207
  h,
208
208
  w,
209
209
  i,
210
210
  /*$$scope*/
211
211
  i[14],
212
- s ? T(
212
+ s ? E(
213
213
  w,
214
214
  /*$$scope*/
215
215
  i[14],
216
216
  r,
217
217
  _t
218
- ) : H(
218
+ ) : M(
219
219
  /*$$scope*/
220
220
  i[14]
221
221
  ),
222
222
  A
223
223
  ) : f && f.p && (!s || r & /*$_, titleText*/
224
224
  20) && f.p(i, s ? r : -1), d ? d.p && (!s || r & /*$$scope*/
225
- 16384) && v(
225
+ 16384) && T(
226
226
  d,
227
227
  g,
228
228
  i,
229
229
  /*$$scope*/
230
230
  i[14],
231
- s ? T(
231
+ s ? E(
232
232
  g,
233
233
  /*$$scope*/
234
234
  i[14],
235
235
  r,
236
236
  dt
237
- ) : H(
237
+ ) : M(
238
238
  /*$$scope*/
239
239
  i[14]
240
240
  ),
@@ -243,19 +243,19 @@ function Ct(n) {
243
243
  8) && a.p(i, s ? r : -1);
244
244
  },
245
245
  i(i) {
246
- s || (M(c, i), M(f, i), M(a, i), s = !0);
246
+ s || (H(c, i), H(f, i), H(a, i), s = !0);
247
247
  },
248
248
  o(i) {
249
- E(c, i), E(f, i), E(a, i), s = !1;
249
+ v(c, i), v(f, i), v(a, i), s = !1;
250
250
  },
251
251
  d(i) {
252
- i && k(t), c && c.d(i), f && f.d(i), a && a.d(i), n[16](null);
252
+ i && C(t), c && c.d(i), f && f.d(i), a && a.d(i), n[16](null);
253
253
  }
254
254
  };
255
255
  }
256
256
  function kt(n, t, e) {
257
257
  let l;
258
- lt(n, ut, (o) => e(4, l = o));
258
+ st(n, ut, (o) => e(4, l = o));
259
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
260
  const F = () => {
261
261
  let o = w;
@@ -297,7 +297,7 @@ function kt(n, t, e) {
297
297
  e(2, r = f || "header.general");
298
298
  };
299
299
  function X(o) {
300
- at[o ? "unshift" : "push"](() => {
300
+ ot[o ? "unshift" : "push"](() => {
301
301
  a = o, e(0, a);
302
302
  });
303
303
  }
@@ -339,7 +339,7 @@ class yt extends $ {
339
339
  t,
340
340
  kt,
341
341
  Ct,
342
- nt,
342
+ et,
343
343
  {
344
344
  clientstyling: 7,
345
345
  clientstylingurl: 8,
@@ -395,7 +395,7 @@ class yt extends $ {
395
395
  this.$$set({ showclosebutton: t }), b();
396
396
  }
397
397
  }
398
- et(yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
398
+ at(yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
399
399
  export {
400
400
  yt as default
401
401
  };
@@ -1,5 +1,5 @@
1
- import { S as $, b as tt, f as b, c as et, a as nt, d as st, e as L, g as y, h as z, j as B, k as C, l as S, u as v, m as H, o as T, t as M, p as E, v as k, w as lt, x as W, y as it, z as ot, C as at, A as Z, n as q } from "./CashierConfirmModal-_hdnB5XT.js";
2
- import { a as rt, i as ct, $ as ft, b as ut } from "./CashierError-B6McF-k3.js";
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-CNzEOcOZ.js";
2
+ import { a as rt, i as ct, $ as ft, b as ut } from "./CashierError-BClBak8x.js";
3
3
  function N(n, t) {
4
4
  rt(n, t);
5
5
  }
@@ -32,7 +32,7 @@ const R = {
32
32
  }
33
33
  };
34
34
  function gt(n) {
35
- st(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}");
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}");
36
36
  }
37
37
  const dt = (n) => ({}), x = (n) => ({}), _t = (n) => ({}), A = (n) => ({}), mt = (n) => ({}), O = (n) => ({});
38
38
  function U(n) {
@@ -42,16 +42,16 @@ function U(n) {
42
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");
43
43
  },
44
44
  m(s, u) {
45
- C(s, t, u), e || (l = Z(
45
+ k(s, t, u), e || (l = Z(
46
46
  t,
47
47
  "click",
48
48
  /*back*/
49
49
  n[6]
50
50
  ), e = !0);
51
51
  },
52
- p: q,
52
+ p: W,
53
53
  d(s) {
54
- s && k(t), e = !1, l();
54
+ s && C(t), e = !1, l();
55
55
  }
56
56
  };
57
57
  }
@@ -62,17 +62,17 @@ function wt(n) {
62
62
  );
63
63
  return {
64
64
  c() {
65
- e && e.c(), t = W();
65
+ e && e.c(), t = D();
66
66
  },
67
67
  m(l, s) {
68
- e && e.m(l, s), C(l, t, s);
68
+ e && e.m(l, s), k(l, t, s);
69
69
  },
70
70
  p(l, s) {
71
71
  /*backButton*/
72
72
  l[1] ? e ? e.p(l, s) : (e = U(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
73
73
  },
74
74
  d(l) {
75
- l && k(t), e && e.d(l);
75
+ l && C(t), e && e.d(l);
76
76
  }
77
77
  };
78
78
  }
@@ -89,7 +89,7 @@ function bt(n) {
89
89
  t = y("span"), l = it(e), B(t, "class", "CashierHeaderTitle");
90
90
  },
91
91
  m(s, u) {
92
- C(s, t, u), S(t, l);
92
+ k(s, t, u), S(t, l);
93
93
  },
94
94
  p(s, u) {
95
95
  u & /*$_, titleText*/
@@ -97,51 +97,51 @@ function bt(n) {
97
97
  s[4](
98
98
  /*titleText*/
99
99
  s[2]
100
- ) + "") && ot(l, e);
100
+ ) + "") && lt(l, e);
101
101
  },
102
102
  d(s) {
103
- s && k(t);
103
+ s && C(t);
104
104
  }
105
105
  };
106
106
  }
107
- function D(n) {
107
+ function q(n) {
108
108
  let t, e, l;
109
109
  return {
110
110
  c() {
111
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");
112
112
  },
113
113
  m(s, u) {
114
- C(s, t, u), e || (l = Z(
114
+ k(s, t, u), e || (l = Z(
115
115
  t,
116
116
  "click",
117
117
  /*close*/
118
118
  n[5]
119
119
  ), e = !0);
120
120
  },
121
- p: q,
121
+ p: W,
122
122
  d(s) {
123
- s && k(t), e = !1, l();
123
+ s && C(t), e = !1, l();
124
124
  }
125
125
  };
126
126
  }
127
127
  function pt(n) {
128
128
  let t, e = (
129
129
  /*closeButton*/
130
- n[3] && D(n)
130
+ n[3] && q(n)
131
131
  );
132
132
  return {
133
133
  c() {
134
- e && e.c(), t = W();
134
+ e && e.c(), t = D();
135
135
  },
136
136
  m(l, s) {
137
- e && e.m(l, s), C(l, t, s);
137
+ e && e.m(l, s), k(l, t, s);
138
138
  },
139
139
  p(l, s) {
140
140
  /*closeButton*/
141
- l[3] ? e ? e.p(l, s) : (e = D(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
141
+ l[3] ? e ? e.p(l, s) : (e = q(l), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
142
142
  },
143
143
  d(l) {
144
- l && k(t), e && e.d(l);
144
+ l && C(t), e && e.d(l);
145
145
  }
146
146
  };
147
147
  }
@@ -180,61 +180,61 @@ function Ct(n) {
180
180
  t = y("div"), c && c.c(), e = z(), f && f.c(), l = z(), a && a.c(), B(t, "class", "CashierHeader");
181
181
  },
182
182
  m(i, r) {
183
- C(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;
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;
184
184
  },
185
185
  p(i, [r]) {
186
186
  _ ? _.p && (!s || r & /*$$scope*/
187
- 16384) && v(
187
+ 16384) && T(
188
188
  _,
189
189
  u,
190
190
  i,
191
191
  /*$$scope*/
192
192
  i[14],
193
- s ? T(
193
+ s ? E(
194
194
  u,
195
195
  /*$$scope*/
196
196
  i[14],
197
197
  r,
198
198
  mt
199
- ) : H(
199
+ ) : M(
200
200
  /*$$scope*/
201
201
  i[14]
202
202
  ),
203
203
  O
204
204
  ) : c && c.p && (!s || r & /*backButton*/
205
205
  2) && c.p(i, s ? r : -1), h ? h.p && (!s || r & /*$$scope*/
206
- 16384) && v(
206
+ 16384) && T(
207
207
  h,
208
208
  w,
209
209
  i,
210
210
  /*$$scope*/
211
211
  i[14],
212
- s ? T(
212
+ s ? E(
213
213
  w,
214
214
  /*$$scope*/
215
215
  i[14],
216
216
  r,
217
217
  _t
218
- ) : H(
218
+ ) : M(
219
219
  /*$$scope*/
220
220
  i[14]
221
221
  ),
222
222
  A
223
223
  ) : f && f.p && (!s || r & /*$_, titleText*/
224
224
  20) && f.p(i, s ? r : -1), d ? d.p && (!s || r & /*$$scope*/
225
- 16384) && v(
225
+ 16384) && T(
226
226
  d,
227
227
  g,
228
228
  i,
229
229
  /*$$scope*/
230
230
  i[14],
231
- s ? T(
231
+ s ? E(
232
232
  g,
233
233
  /*$$scope*/
234
234
  i[14],
235
235
  r,
236
236
  dt
237
- ) : H(
237
+ ) : M(
238
238
  /*$$scope*/
239
239
  i[14]
240
240
  ),
@@ -243,19 +243,19 @@ function Ct(n) {
243
243
  8) && a.p(i, s ? r : -1);
244
244
  },
245
245
  i(i) {
246
- s || (M(c, i), M(f, i), M(a, i), s = !0);
246
+ s || (H(c, i), H(f, i), H(a, i), s = !0);
247
247
  },
248
248
  o(i) {
249
- E(c, i), E(f, i), E(a, i), s = !1;
249
+ v(c, i), v(f, i), v(a, i), s = !1;
250
250
  },
251
251
  d(i) {
252
- i && k(t), c && c.d(i), f && f.d(i), a && a.d(i), n[16](null);
252
+ i && C(t), c && c.d(i), f && f.d(i), a && a.d(i), n[16](null);
253
253
  }
254
254
  };
255
255
  }
256
256
  function kt(n, t, e) {
257
257
  let l;
258
- lt(n, ut, (o) => e(4, l = o));
258
+ st(n, ut, (o) => e(4, l = o));
259
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
260
  const F = () => {
261
261
  let o = w;
@@ -297,7 +297,7 @@ function kt(n, t, e) {
297
297
  e(2, r = f || "header.general");
298
298
  };
299
299
  function X(o) {
300
- at[o ? "unshift" : "push"](() => {
300
+ ot[o ? "unshift" : "push"](() => {
301
301
  a = o, e(0, a);
302
302
  });
303
303
  }
@@ -339,7 +339,7 @@ class yt extends $ {
339
339
  t,
340
340
  kt,
341
341
  Ct,
342
- nt,
342
+ et,
343
343
  {
344
344
  clientstyling: 7,
345
345
  clientstylingurl: 8,
@@ -395,7 +395,7 @@ class yt extends $ {
395
395
  this.$$set({ showclosebutton: t }), b();
396
396
  }
397
397
  }
398
- et(yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
398
+ at(yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
399
399
  export {
400
400
  yt as default
401
401
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-CiWxBakF.cjs"),C=require("./CashierError-CpurblKL.cjs");function k(l,t){C.addMessages(l,t)}function D(l){C.init({fallbackLocale:"en"}),C.$locale.set(l)}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 P(l){e.append_styles(l,"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 W=l=>({}),L=l=>({}),Z=l=>({}),v=l=>({}),F=l=>({}),H=l=>({});function T(l){let t,n,s;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(i,h){e.insert(i,t,h),n||(s=e.listen(t,"click",l[6]),n=!0)},p:e.noop,d(i){i&&e.detach(t),n=!1,s()}}}function I(l){let t,n=l[1]&&T(l);return{c(){n&&n.c(),t=e.empty()},m(s,i){n&&n.m(s,i),e.insert(s,t,i)},p(s,i){s[1]?n?n.p(s,i):(n=T(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function Y(l){let t,n=l[4](l[2])+"",s;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"class","CashierHeaderTitle")},m(i,h){e.insert(i,t,h),e.append(t,s)},p(i,h){h&20&&n!==(n=i[4](i[2])+"")&&e.set_data(s,n)},d(i){i&&e.detach(t)}}}function M(l){let t,n,s;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(i,h){e.insert(i,t,h),n||(s=e.listen(t,"click",l[5]),n=!0)},p:e.noop,d(i){i&&e.detach(t),n=!1,s()}}}function G(l){let t,n=l[3]&&M(l);return{c(){n&&n.c(),t=e.empty()},m(s,i){n&&n.m(s,i),e.insert(s,t,i)},p(s,i){s[3]?n?n.p(s,i):(n=M(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function J(l){let t,n,s,i;const h=l[15].leftButton,m=e.create_slot(h,l,l[14],H),u=m||I(l),p=l[15].title,g=e.create_slot(p,l,l[14],v),f=g||Y(l),_=l[15].rightButton,d=e.create_slot(_,l,l[14],L),r=d||G(l);return{c(){t=e.element("div"),u&&u.c(),n=e.space(),f&&f.c(),s=e.space(),r&&r.c(),e.attr(t,"class","CashierHeader")},m(o,c){e.insert(o,t,c),u&&u.m(t,null),e.append(t,n),f&&f.m(t,null),e.append(t,s),r&&r.m(t,null),l[16](t),i=!0},p(o,[c]){m?m.p&&(!i||c&16384)&&e.update_slot_base(m,h,o,o[14],i?e.get_slot_changes(h,o[14],c,F):e.get_all_dirty_from_scope(o[14]),H):u&&u.p&&(!i||c&2)&&u.p(o,i?c:-1),g?g.p&&(!i||c&16384)&&e.update_slot_base(g,p,o,o[14],i?e.get_slot_changes(p,o[14],c,Z):e.get_all_dirty_from_scope(o[14]),v):f&&f.p&&(!i||c&20)&&f.p(o,i?c:-1),d?d.p&&(!i||c&16384)&&e.update_slot_base(d,_,o,o[14],i?e.get_slot_changes(_,o[14],c,W):e.get_all_dirty_from_scope(o[14]),L):r&&r.p&&(!i||c&8)&&r.p(o,i?c:-1)},i(o){i||(e.transition_in(u,o),e.transition_in(f,o),e.transition_in(r,o),i=!0)},o(o){e.transition_out(u,o),e.transition_out(f,o),e.transition_out(r,o),i=!1},d(o){o&&e.detach(t),u&&u.d(o),f&&f.d(o),r&&r.d(o),l[16](null)}}}function K(l,t,n){let s;e.component_subscribe(l,C.$format,a=>n(4,s=a));let{$$slots:i={},$$scope:h}=t,{clientstyling:m=""}=t,{clientstylingurl:u=""}=t,{translationurl:p=""}=t,{showbackbutton:g=""}=t,{title:f="header.general"}=t,{lang:_="en"}=t,{showclosebutton:d=""}=t,r,o=!1,c,y=!1;const S=()=>{let a=p;a&&fetch(a).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{k(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(B).forEach(a=>{k(a,B[a])});const j=()=>{let a=document.createElement("style");a.innerHTML=m,r.appendChild(a)},N=()=>{let a=new URL(u),w=document.createElement("style");fetch(a.href).then(b=>b.text()).then(b=>{w.innerHTML=b,setTimeout(()=>{r.appendChild(w)},1)})},R=()=>{D(_)},z=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},O=()=>{window.postMessage({type:"BackCashier"},window.location.href)},q=()=>{n(1,o=!!g&&g!=="false")},A=()=>{n(3,y=!!d&&d!=="false")},U=()=>{n(2,c=f||"header.general")};function x(a){e.binding_callbacks[a?"unshift":"push"](()=>{r=a,n(0,r)})}return l.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,u=a.clientstylingurl),"translationurl"in a&&n(9,p=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,f=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"$$scope"in a&&n(14,h=a.$$scope)},l.$$.update=()=>{l.$$.dirty&4096&&_&&R(),l.$$.dirty&6144&&_&&f&&U(),l.$$.dirty&129&&m&&r&&j(),l.$$.dirty&257&&u&&r&&N(),l.$$.dirty&4608&&_&&p&&S(),l.$$.dirty&1024&&g&&q(),l.$$.dirty&8192&&d&&A()},[r,o,c,y,s,z,O,m,u,p,g,f,_,d,h,i,x]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,K,J,e.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13},P)}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()}}e.create_custom_element(E,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{}},["leftButton","title","rightButton"],[],!0);exports.default=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-CiWxBakF.cjs"),C=require("./CashierError-CoLl3dEP.cjs");function k(l,t){C.addMessages(l,t)}function D(l){C.init({fallbackLocale:"en"}),C.$locale.set(l)}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 P(l){e.append_styles(l,"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 W=l=>({}),L=l=>({}),Z=l=>({}),v=l=>({}),F=l=>({}),H=l=>({});function T(l){let t,n,s;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(i,h){e.insert(i,t,h),n||(s=e.listen(t,"click",l[6]),n=!0)},p:e.noop,d(i){i&&e.detach(t),n=!1,s()}}}function I(l){let t,n=l[1]&&T(l);return{c(){n&&n.c(),t=e.empty()},m(s,i){n&&n.m(s,i),e.insert(s,t,i)},p(s,i){s[1]?n?n.p(s,i):(n=T(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function Y(l){let t,n=l[4](l[2])+"",s;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"class","CashierHeaderTitle")},m(i,h){e.insert(i,t,h),e.append(t,s)},p(i,h){h&20&&n!==(n=i[4](i[2])+"")&&e.set_data(s,n)},d(i){i&&e.detach(t)}}}function M(l){let t,n,s;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(i,h){e.insert(i,t,h),n||(s=e.listen(t,"click",l[5]),n=!0)},p:e.noop,d(i){i&&e.detach(t),n=!1,s()}}}function G(l){let t,n=l[3]&&M(l);return{c(){n&&n.c(),t=e.empty()},m(s,i){n&&n.m(s,i),e.insert(s,t,i)},p(s,i){s[3]?n?n.p(s,i):(n=M(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function J(l){let t,n,s,i;const h=l[15].leftButton,m=e.create_slot(h,l,l[14],H),u=m||I(l),p=l[15].title,g=e.create_slot(p,l,l[14],v),f=g||Y(l),_=l[15].rightButton,d=e.create_slot(_,l,l[14],L),r=d||G(l);return{c(){t=e.element("div"),u&&u.c(),n=e.space(),f&&f.c(),s=e.space(),r&&r.c(),e.attr(t,"class","CashierHeader")},m(o,c){e.insert(o,t,c),u&&u.m(t,null),e.append(t,n),f&&f.m(t,null),e.append(t,s),r&&r.m(t,null),l[16](t),i=!0},p(o,[c]){m?m.p&&(!i||c&16384)&&e.update_slot_base(m,h,o,o[14],i?e.get_slot_changes(h,o[14],c,F):e.get_all_dirty_from_scope(o[14]),H):u&&u.p&&(!i||c&2)&&u.p(o,i?c:-1),g?g.p&&(!i||c&16384)&&e.update_slot_base(g,p,o,o[14],i?e.get_slot_changes(p,o[14],c,Z):e.get_all_dirty_from_scope(o[14]),v):f&&f.p&&(!i||c&20)&&f.p(o,i?c:-1),d?d.p&&(!i||c&16384)&&e.update_slot_base(d,_,o,o[14],i?e.get_slot_changes(_,o[14],c,W):e.get_all_dirty_from_scope(o[14]),L):r&&r.p&&(!i||c&8)&&r.p(o,i?c:-1)},i(o){i||(e.transition_in(u,o),e.transition_in(f,o),e.transition_in(r,o),i=!0)},o(o){e.transition_out(u,o),e.transition_out(f,o),e.transition_out(r,o),i=!1},d(o){o&&e.detach(t),u&&u.d(o),f&&f.d(o),r&&r.d(o),l[16](null)}}}function K(l,t,n){let s;e.component_subscribe(l,C.$format,a=>n(4,s=a));let{$$slots:i={},$$scope:h}=t,{clientstyling:m=""}=t,{clientstylingurl:u=""}=t,{translationurl:p=""}=t,{showbackbutton:g=""}=t,{title:f="header.general"}=t,{lang:_="en"}=t,{showclosebutton:d=""}=t,r,o=!1,c,y=!1;const S=()=>{let a=p;a&&fetch(a).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{k(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(B).forEach(a=>{k(a,B[a])});const j=()=>{let a=document.createElement("style");a.innerHTML=m,r.appendChild(a)},N=()=>{let a=new URL(u),w=document.createElement("style");fetch(a.href).then(b=>b.text()).then(b=>{w.innerHTML=b,setTimeout(()=>{r.appendChild(w)},1)})},R=()=>{D(_)},z=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},O=()=>{window.postMessage({type:"BackCashier"},window.location.href)},q=()=>{n(1,o=!!g&&g!=="false")},A=()=>{n(3,y=!!d&&d!=="false")},U=()=>{n(2,c=f||"header.general")};function x(a){e.binding_callbacks[a?"unshift":"push"](()=>{r=a,n(0,r)})}return l.$$set=a=>{"clientstyling"in a&&n(7,m=a.clientstyling),"clientstylingurl"in a&&n(8,u=a.clientstylingurl),"translationurl"in a&&n(9,p=a.translationurl),"showbackbutton"in a&&n(10,g=a.showbackbutton),"title"in a&&n(11,f=a.title),"lang"in a&&n(12,_=a.lang),"showclosebutton"in a&&n(13,d=a.showclosebutton),"$$scope"in a&&n(14,h=a.$$scope)},l.$$.update=()=>{l.$$.dirty&4096&&_&&R(),l.$$.dirty&6144&&_&&f&&U(),l.$$.dirty&129&&m&&r&&j(),l.$$.dirty&257&&u&&r&&N(),l.$$.dirty&4608&&_&&p&&S(),l.$$.dirty&1024&&g&&q(),l.$$.dirty&8192&&d&&A()},[r,o,c,y,s,z,O,m,u,p,g,f,_,d,h,i,x]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,K,J,e.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13},P)}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()}}e.create_custom_element(E,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{}},["leftButton","title","rightButton"],[],!0);exports.default=E;