@everymatrix/cashier-page 1.94.3 → 1.94.5

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 (57) hide show
  1. package/components/{CashierCarousel-Njl1VM8D.cjs → CashierCarousel-BzlDee2_.cjs} +1 -1
  2. package/components/{CashierCarousel-2Y_QFlk8.js → CashierCarousel-CTD4ADEl.js} +79 -79
  3. package/components/{CashierCarousel-LFH0uftr.js → CashierCarousel-D6SuMcQ1.js} +64 -64
  4. package/components/{CashierError-zaQMVBwa.cjs → CashierError-BjCp3qo9.cjs} +1 -1
  5. package/components/{CashierError-CmQqKE96.js → CashierError-C0W34998.js} +22 -22
  6. package/components/{CashierError-lww0Xhhd.js → CashierError-Dg834slb.js} +23 -23
  7. package/components/{CashierHeader-BRtZK3Yj.cjs → CashierHeader-DCoLHm99.cjs} +1 -1
  8. package/components/{CashierHeader-BXQCcYBU.js → CashierHeader-DafDx_3j.js} +37 -37
  9. package/components/{CashierHeader-CV1mrRsd.js → CashierHeader-YhgwXeCk.js} +37 -37
  10. package/components/{CashierIframeRedirect-Cp8i9DwX.js → CashierIframeRedirect-DWa2IM1a.js} +25 -25
  11. package/components/{CashierIframeRedirect-CYEQyHaS.cjs → CashierIframeRedirect-G0gXNho3.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-D8w_XK4C.js → CashierIframeRedirect-M5hsugC-.js} +21 -21
  13. package/components/{CashierMethodDetails-xNqhPyCs.js → CashierMethodDetails-C9lU-1Od.js} +2932 -2897
  14. package/components/{CashierMethodDetails-D1X3MbmW.js → CashierMethodDetails-CXSI2Ftt.js} +3302 -3267
  15. package/components/CashierMethodDetails-DEXZTmb3.cjs +85 -0
  16. package/components/{CashierMethodsList-BOpP96gM.cjs → CashierMethodsList-B9M85ykR.cjs} +1 -1
  17. package/components/{CashierMethodsList-COnGq2tb.js → CashierMethodsList-D5gWM-5x.js} +69 -69
  18. package/components/{CashierMethodsList-Cj6o2dtI.js → CashierMethodsList-GlL1YNei.js} +40 -40
  19. package/components/{CashierModal--1fztdGJ.cjs → CashierModal-BJCRBXtp.cjs} +1 -1
  20. package/components/{CashierModal-DYVHfktP.js → CashierModal-BL_3_v5C.js} +43 -43
  21. package/components/{CashierModal-DANMfzKu.js → CashierModal-BxhVa9nJ.js} +35 -35
  22. package/components/{CashierNotifications-CHbG6OoC.cjs → CashierNotifications-B2_TxWSC.cjs} +1 -1
  23. package/components/{CashierNotifications-IhAYYFLY.js → CashierNotifications-D7pEjC9e.js} +31 -31
  24. package/components/{CashierNotifications-Yvo_vvrp.js → CashierNotifications-DumJSi6H.js} +31 -31
  25. package/components/{CashierPage-DY5ngRhg.js → CashierPage-CyVP1RTq.js} +1693 -1674
  26. package/components/CashierPage-DFc7t9CJ.cjs +23 -0
  27. package/components/{CashierPage-Bl4ava_U.js → CashierPage-Yklnwu-d.js} +1722 -1703
  28. package/components/{CashierReceiptPage-CYUSXFbL.js → CashierReceiptPage-Cz47umjb.js} +107 -107
  29. package/components/{CashierReceiptPage-DAfRN8k6.cjs → CashierReceiptPage-DQJUbtXP.cjs} +1 -1
  30. package/components/{CashierReceiptPage-BtK09hHe.js → CashierReceiptPage-DfwtOyaZ.js} +120 -120
  31. package/components/{CashierSessionExpirationModal-C5gv5Kex.js → CashierSessionExpirationModal-BfLsDfD2.js} +101 -101
  32. package/components/{CashierSessionExpirationModal-Cd-Gd4Ir.cjs → CashierSessionExpirationModal-dL2qXwnX.cjs} +1 -1
  33. package/components/{CashierSessionExpirationModal-YLys2PDl.js → CashierSessionExpirationModal-h3rhYNkG.js} +126 -126
  34. package/components/{CashierSpinner-C_YWOPLu.js → CashierSpinner-BFMZw2tU.js} +6 -6
  35. package/components/{CashierSpinner-DEY3bxsG.js → CashierSpinner-D8ZX1N7Y.js} +10 -10
  36. package/components/{CashierSpinner-Bvspj0cH.cjs → CashierSpinner-DMQcCAuI.cjs} +1 -1
  37. package/components/{CashierStepUp-C-C7MzQF.js → CashierStepUp-CUavQfr0.js} +132 -132
  38. package/components/{CashierStepUp-OocwQDO8.js → CashierStepUp-Nzn5RFP5.js} +49 -49
  39. package/components/{CashierStepUp-4B7szI7i.cjs → CashierStepUp-W1nti85i.cjs} +1 -1
  40. package/components/{CashierTransactionHistory-uR3LgcWt.js → CashierTransactionHistory-ByF437F5.js} +110 -110
  41. package/components/{CashierTransactionHistory-Cpr3zr_V.cjs → CashierTransactionHistory-D0FU8jdE.cjs} +1 -1
  42. package/components/{CashierTransactionHistory-Cr0MttRX.js → CashierTransactionHistory-GtXsIggF.js} +110 -110
  43. package/components/{CashierVerifications-CZkslVbR.js → CashierVerifications-CuD13Li5.js} +60 -60
  44. package/components/{CashierVerifications-Ddf15TF_.cjs → CashierVerifications-Px7xstt-.cjs} +1 -1
  45. package/components/{CashierVerifications-k6yPLmW_.js → CashierVerifications-sG9Xn_xc.js} +43 -43
  46. package/components/{TxnStatusIcon-Dgm2t94G.js → TxnStatusIcon-B0-RrZPH.js} +28 -28
  47. package/components/{TxnStatusIcon-_lk_AnRy.cjs → TxnStatusIcon-D11UDQz5.cjs} +1 -1
  48. package/components/{TxnStatusIcon-Diii3Es2.js → TxnStatusIcon-DYgNkITO.js} +23 -23
  49. package/components/{TxnTypeIcons-BpmVN0J8.js → TxnTypeIcons-BnO0cks2.js} +1 -1
  50. package/components/{TxnTypeIcons-DXpOeTfk.js → TxnTypeIcons-DPmJegXP.js} +1 -1
  51. package/components/{TxnTypeIcons-CmilEOnE.cjs → TxnTypeIcons-DrCeFHOY.cjs} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierMethodDetails-BvSDCKZN.cjs +0 -85
  57. package/components/CashierPage-C7hbc8P5.cjs +0 -23
@@ -1,7 +1,7 @@
1
- import { a as $, i as ee, $ as te, S as ie, b as ne, s as ae, f as T, d as re, e as M, g as h, t as A, h as P, u as W, j as x, k as O, l as v, m as k, n as b, o as L, p as E, q as oe, r as se, v as B, w as D, x as I, A as le, y as ue, J as R, O as V, c as de, B as ce } from "./CashierPage-DY5ngRhg.js";
2
- import { s as me, a as fe, b as pe } from "./CashierHeader-BXQCcYBU.js";
1
+ import { b as $, N as ee, a as te, S as ie, O as ne, a1 as ae, E as T, f as re, r as M, x as h, ae as A, ad as P, ag as W, H as x, I as O, Q as v, e as k, z as b, a6 as L, g as E, l as oe, Y as se, A as B, a3 as D, a9 as I, T as le, h as ue, a7 as N, a2 as V, o as de, $ as ce } from "./CashierPage-CyVP1RTq.js";
2
+ import { s as me, a as fe, b as pe } from "./CashierHeader-DafDx_3j.js";
3
3
  import "../stencil/ui-image-BsYHwNhO.js";
4
- function N(i, e) {
4
+ function R(i, e) {
5
5
  $(i, e);
6
6
  }
7
7
  function ye(i) {
@@ -9,7 +9,7 @@ function ye(i) {
9
9
  fallbackLocale: "en"
10
10
  }), te.set(i);
11
11
  }
12
- const q = {
12
+ const H = {
13
13
  en: {
14
14
  VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
15
15
  CustomerDocumentIdMissing: "The document ID is missing",
@@ -165,12 +165,12 @@ const q = {
165
165
  function ge(i) {
166
166
  re(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
167
167
  }
168
- const he = (i) => ({}), F = (i) => ({}), ve = (i) => ({}), H = (i) => ({}), ke = (i) => ({}), U = (i) => ({}), be = (i) => ({}), K = (i) => ({ class: "CashierErrorIcon" });
168
+ const he = (i) => ({}), q = (i) => ({}), ve = (i) => ({}), F = (i) => ({}), ke = (i) => ({}), U = (i) => ({}), be = (i) => ({}), K = (i) => ({ class: "CashierErrorIcon" });
169
169
  function G(i) {
170
170
  let e, t;
171
171
  return {
172
172
  c() {
173
- e = b("ui-image"), R(e.src, t = `${/*assetsurl*/
173
+ e = b("ui-image"), N(e.src, t = `${/*assetsurl*/
174
174
  i[0]}/error-general-icon.png`) || V(e, "src", t), V(e, "width", "300px"), V(e, "alt", "error");
175
175
  },
176
176
  m(r, o) {
@@ -178,7 +178,7 @@ function G(i) {
178
178
  },
179
179
  p(r, o) {
180
180
  o & /*assetsurl*/
181
- 1 && !R(e.src, t = `${/*assetsurl*/
181
+ 1 && !N(e.src, t = `${/*assetsurl*/
182
182
  r[0]}/error-general-icon.png`) && V(e, "src", t);
183
183
  },
184
184
  d(r) {
@@ -207,7 +207,7 @@ function _e(i) {
207
207
  }
208
208
  };
209
209
  }
210
- function j(i) {
210
+ function Y(i) {
211
211
  let e;
212
212
  function t(a, n) {
213
213
  return (
@@ -237,7 +237,7 @@ function ze(i) {
237
237
  i[5]("DepositWageringLimitText") + ""
238
238
  ), r, o, a = (
239
239
  /*depositWageringAmount*/
240
- i[3] > 0 && J(i)
240
+ i[3] > 0 && j(i)
241
241
  );
242
242
  return {
243
243
  c() {
@@ -250,7 +250,7 @@ function ze(i) {
250
250
  u & /*$_*/
251
251
  32 && t !== (t = /*$_*/
252
252
  n[5]("DepositWageringLimitText") + "") && D(r, t), /*depositWageringAmount*/
253
- n[3] > 0 ? a ? a.p(n, u) : (a = J(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
253
+ n[3] > 0 ? a ? a.p(n, u) : (a = j(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
254
254
  },
255
255
  d(n) {
256
256
  n && h(e), a && a.d();
@@ -279,7 +279,7 @@ function Ce(i) {
279
279
  }
280
280
  };
281
281
  }
282
- function J(i) {
282
+ function j(i) {
283
283
  let e, t, r;
284
284
  return {
285
285
  c() {
@@ -319,7 +319,7 @@ function Te(i) {
319
319
  i[1] || "errorGeneralText"}`) + ""
320
320
  ), r, o, a, n = (
321
321
  /*errorcode*/
322
- i[1] == "DepositWageringLimit" && j(i)
322
+ i[1] == "DepositWageringLimit" && Y(i)
323
323
  );
324
324
  return {
325
325
  c() {
@@ -333,7 +333,7 @@ function Te(i) {
333
333
  34 && t !== (t = /*$_*/
334
334
  u[5](`${/*errorcode*/
335
335
  u[1] || "errorGeneralText"}`) + "") && D(r, t), /*errorcode*/
336
- u[1] == "DepositWageringLimit" ? n ? n.p(u, d) : (n = j(u), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
336
+ u[1] == "DepositWageringLimit" ? n ? n.p(u, d) : (n = Y(u), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
337
337
  },
338
338
  d(u) {
339
339
  u && (h(e), h(o), h(a)), n && n.d(u);
@@ -395,7 +395,7 @@ function we(i) {
395
395
  i,
396
396
  /*$$scope*/
397
397
  i[12],
398
- H
398
+ F
399
399
  ), y = p || Te(i), w = (
400
400
  /*#slots*/
401
401
  i[13].button
@@ -404,7 +404,7 @@ function we(i) {
404
404
  i,
405
405
  /*$$scope*/
406
406
  i[12],
407
- F
407
+ q
408
408
  ), g = C || Ee(i);
409
409
  return {
410
410
  c() {
@@ -468,7 +468,7 @@ function we(i) {
468
468
  /*$$scope*/
469
469
  s[12]
470
470
  ),
471
- H
471
+ F
472
472
  ) : y && y.p && (!n || c & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
473
473
  58) && y.p(s, n ? c : -1), C ? C.p && (!n || c & /*$$scope*/
474
474
  4096) && W(
@@ -487,7 +487,7 @@ function we(i) {
487
487
  /*$$scope*/
488
488
  s[12]
489
489
  ),
490
- F
490
+ q
491
491
  ) : g && g.p && (!n || c & /*$_*/
492
492
  32) && g.p(s, n ? c : -1);
493
493
  },
@@ -516,14 +516,14 @@ function Le(i, e, t) {
516
516
  throw new Error(`HTTP error! status: ${l.status}`);
517
517
  const X = await l.json();
518
518
  Object.entries(X).forEach(([Q, Z]) => {
519
- N(Q, Z);
519
+ R(Q, Z);
520
520
  });
521
521
  } catch (l) {
522
522
  console.error(l);
523
523
  }
524
524
  };
525
- Object.keys(q).forEach((l) => {
526
- N(l, q[l]);
525
+ Object.keys(H).forEach((l) => {
526
+ R(l, H[l]);
527
527
  });
528
528
  const c = () => {
529
529
  window.postMessage({ type: "ErrorClose" }, window.location.href);
@@ -538,7 +538,7 @@ function Le(i, e, t) {
538
538
  se(() => (window.addEventListener("message", S, !1), () => {
539
539
  window.removeEventListener("message", S);
540
540
  }));
541
- function Y(l) {
541
+ function J(l) {
542
542
  ue[l ? "unshift" : "push"](() => {
543
543
  p = l, t(2, p);
544
544
  });
@@ -567,7 +567,7 @@ function Le(i, e, t) {
567
567
  z,
568
568
  a,
569
569
  o,
570
- Y
570
+ J
571
571
  ];
572
572
  }
573
573
  class De extends ie {
@@ -1,4 +1,4 @@
1
- var R = (i, e, t) => new Promise((r, o) => {
1
+ var N = (i, e, t) => new Promise((r, o) => {
2
2
  var a = (d) => {
3
3
  try {
4
4
  l(t.next(d));
@@ -14,10 +14,10 @@ var R = (i, e, t) => new Promise((r, o) => {
14
14
  }, l = (d) => d.done ? r(d.value) : Promise.resolve(d.value).then(a, n);
15
15
  l((t = t.apply(i, e)).next());
16
16
  });
17
- import { a as ee, i as te, $ as ie, S as ne, b as ae, s as re, f as T, c as oe, d as M, e as h, t as A, g as P, u as W, h as x, j as O, k as v, l as k, m as b, n as L, o as E, p as se, q as le, r as B, v as D, w as I, z as ue, x as de, J as N, O as V, A as ce, B as me } from "./CashierPage-Bl4ava_U.js";
18
- import { s as fe, a as pe, b as ye } from "./CashierHeader-CV1mrRsd.js";
17
+ import { b as ee, N as te, a as ie, S as ne, O as ae, a1 as re, E as T, f as oe, r as M, x as h, ae as A, ad as P, ag as W, H as x, I as O, Q as v, e as k, z as b, a6 as L, g as E, l as se, Y as le, A as B, a3 as D, a9 as I, T as ue, h as de, a7 as R, a2 as V, o as ce, $ as me } from "./CashierPage-Yklnwu-d.js";
18
+ import { s as fe, a as pe, b as ye } from "./CashierHeader-YhgwXeCk.js";
19
19
  import "../stencil/ui-image-CNaRr0ax.js";
20
- function q(i, e) {
20
+ function H(i, e) {
21
21
  ee(i, e);
22
22
  }
23
23
  function ge(i) {
@@ -25,7 +25,7 @@ function ge(i) {
25
25
  fallbackLocale: "en"
26
26
  }), ie.set(i);
27
27
  }
28
- const F = {
28
+ const q = {
29
29
  en: {
30
30
  VendorMicroserviceCommunicationError: "We apologise, but your payment provider has declined to process due to a microservice communication error. Please try again later.",
31
31
  CustomerDocumentIdMissing: "The document ID is missing",
@@ -181,12 +181,12 @@ const F = {
181
181
  function he(i) {
182
182
  oe(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
183
183
  }
184
- const ve = (i) => ({}), H = (i) => ({}), ke = (i) => ({}), U = (i) => ({}), be = (i) => ({}), K = (i) => ({}), _e = (i) => ({}), G = (i) => ({ class: "CashierErrorIcon" });
185
- function j(i) {
184
+ const ve = (i) => ({}), F = (i) => ({}), ke = (i) => ({}), U = (i) => ({}), be = (i) => ({}), K = (i) => ({}), _e = (i) => ({}), G = (i) => ({ class: "CashierErrorIcon" });
185
+ function Y(i) {
186
186
  let e, t;
187
187
  return {
188
188
  c() {
189
- e = b("ui-image"), N(e.src, t = `${/*assetsurl*/
189
+ e = b("ui-image"), R(e.src, t = `${/*assetsurl*/
190
190
  i[0]}/error-general-icon.png`) || V(e, "src", t), V(e, "width", "300px"), V(e, "alt", "error");
191
191
  },
192
192
  m(r, o) {
@@ -194,7 +194,7 @@ function j(i) {
194
194
  },
195
195
  p(r, o) {
196
196
  o & /*assetsurl*/
197
- 1 && !N(e.src, t = `${/*assetsurl*/
197
+ 1 && !R(e.src, t = `${/*assetsurl*/
198
198
  r[0]}/error-general-icon.png`) && V(e, "src", t);
199
199
  },
200
200
  d(r) {
@@ -205,7 +205,7 @@ function j(i) {
205
205
  function ze(i) {
206
206
  let e, t = (
207
207
  /*assetsurl*/
208
- i[0] && j(i)
208
+ i[0] && Y(i)
209
209
  );
210
210
  return {
211
211
  c() {
@@ -216,14 +216,14 @@ function ze(i) {
216
216
  },
217
217
  p(r, o) {
218
218
  /*assetsurl*/
219
- r[0] ? t ? t.p(r, o) : (t = j(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
219
+ r[0] ? t ? t.p(r, o) : (t = Y(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
220
220
  },
221
221
  d(r) {
222
222
  r && h(e), t && t.d(r);
223
223
  }
224
224
  };
225
225
  }
226
- function J(i) {
226
+ function j(i) {
227
227
  let e;
228
228
  function t(a, n) {
229
229
  return (
@@ -253,7 +253,7 @@ function Ce(i) {
253
253
  i[5]("DepositWageringLimitText") + ""
254
254
  ), r, o, a = (
255
255
  /*depositWageringAmount*/
256
- i[3] > 0 && Y(i)
256
+ i[3] > 0 && J(i)
257
257
  );
258
258
  return {
259
259
  c() {
@@ -266,7 +266,7 @@ function Ce(i) {
266
266
  l & /*$_*/
267
267
  32 && t !== (t = /*$_*/
268
268
  n[5]("DepositWageringLimitText") + "") && D(r, t), /*depositWageringAmount*/
269
- n[3] > 0 ? a ? a.p(n, l) : (a = Y(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
269
+ n[3] > 0 ? a ? a.p(n, l) : (a = J(n), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
270
270
  },
271
271
  d(n) {
272
272
  n && h(e), a && a.d();
@@ -295,7 +295,7 @@ function Te(i) {
295
295
  }
296
296
  };
297
297
  }
298
- function Y(i) {
298
+ function J(i) {
299
299
  let e, t, r;
300
300
  return {
301
301
  c() {
@@ -335,7 +335,7 @@ function Ee(i) {
335
335
  i[1] || "errorGeneralText"}`) + ""
336
336
  ), r, o, a, n = (
337
337
  /*errorcode*/
338
- i[1] == "DepositWageringLimit" && J(i)
338
+ i[1] == "DepositWageringLimit" && j(i)
339
339
  );
340
340
  return {
341
341
  c() {
@@ -349,7 +349,7 @@ function Ee(i) {
349
349
  34 && t !== (t = /*$_*/
350
350
  l[5](`${/*errorcode*/
351
351
  l[1] || "errorGeneralText"}`) + "") && D(r, t), /*errorcode*/
352
- l[1] == "DepositWageringLimit" ? n ? n.p(l, d) : (n = J(l), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
352
+ l[1] == "DepositWageringLimit" ? n ? n.p(l, d) : (n = j(l), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
353
353
  },
354
354
  d(l) {
355
355
  l && (h(e), h(o), h(a)), n && n.d(l);
@@ -420,7 +420,7 @@ function Le(i) {
420
420
  i,
421
421
  /*$$scope*/
422
422
  i[12],
423
- H
423
+ F
424
424
  ), g = C || we(i);
425
425
  return {
426
426
  c() {
@@ -503,7 +503,7 @@ function Le(i) {
503
503
  /*$$scope*/
504
504
  s[12]
505
505
  ),
506
- H
506
+ F
507
507
  ) : g && g.p && (!n || m & /*$_*/
508
508
  32) && g.p(s, n ? m : -1);
509
509
  },
@@ -524,7 +524,7 @@ function De(i, e, t) {
524
524
  let { $$slots: o = {}, $$scope: a } = e, { assetsurl: n = "" } = e, { lang: l = "en" } = e, { errorcode: d = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: f = "" } = e, { mbsource: z = "" } = e, p, y, w = -1, C;
525
525
  const g = () => {
526
526
  ge(l);
527
- }, s = () => R(this, null, function* () {
527
+ }, s = () => N(this, null, function* () {
528
528
  if (f)
529
529
  try {
530
530
  const u = yield fetch(f);
@@ -532,14 +532,14 @@ function De(i, e, t) {
532
532
  throw new Error(`HTTP error! status: ${u.status}`);
533
533
  const Q = yield u.json();
534
534
  Object.entries(Q).forEach(([Z, $]) => {
535
- q(Z, $);
535
+ H(Z, $);
536
536
  });
537
537
  } catch (u) {
538
538
  console.error(u);
539
539
  }
540
540
  });
541
- Object.keys(F).forEach((u) => {
542
- q(u, F[u]);
541
+ Object.keys(q).forEach((u) => {
542
+ H(u, q[u]);
543
543
  });
544
544
  const m = () => {
545
545
  window.postMessage({ type: "ErrorClose" }, window.location.href);
@@ -1 +1 @@
1
- "use strict";const n=require("./CashierPage-C7hbc8P5.cjs");function k(s,t){n.addMessages(s,t)}function q(s){n.init({fallbackLocale:"en"}),n.$locale.set(s)}const L={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}}},b="__WIDGET_GLOBAL_STYLE_CACHE__";function R(s,t){if(s){const e=document.createElement("style");e.innerHTML=t,s.appendChild(e)}}function A(s,t){if(!s||!t)return;const e=new URL(t);fetch(e.href).then(l=>l.text()).then(l=>{const i=document.createElement("style");i.innerHTML=l,s&&s.appendChild(i)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function F(s,t,e,l=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!l)return e=G(s,t),e;window[b]||(window[b]={}),e=I(s,t);const a=e.unsubscribe.bind(e),d=()=>{if(window[b][t]){const c=window[b][t];c.refCount>1?c.refCount=c.refCount-1:delete window[b][t]}a()};return e.unsubscribe=d,e}function G(s,t){const e=document.createElement("style");return window.emMessageBus.subscribe(t,l=>{s&&(e.innerHTML=l,s.appendChild(e))})}function I(s,t){return window.emMessageBus.subscribe(t,e=>{if(!s)return;const l=s.getRootNode(),i=window[b];let a=i[t]&&i[t].sheet;a?i[t].refCount=i[t].refCount+1:(a=new CSSStyleSheet,a.replaceSync(e),i[t]={sheet:a,refCount:1});const d=l.adoptedStyleSheets||[];d.includes(a)||(l.adoptedStyleSheets=[...d,a])})}function W(s){n.append_styles(s,"svelte-1p7ag40",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;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;fill:var(--emw--color-primary, #F9C405)}")}const Y=s=>({}),B=s=>({}),Z=s=>({}),v=s=>({}),K=s=>({}),H=s=>({});function T(s){let t,e,l;return{c(){t=n.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>',n.attr(t,"class","CashierHeaderLeftButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[6]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function J(s){let t,e=s[1]&&T(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[1]?e?e.p(l,i):(e=T(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function Q(s){let t,e=s[4](s[2])+"",l;return{c(){t=n.element("span"),l=n.text(e),n.attr(t,"class","CashierHeaderTitle")},m(i,a){n.insert(i,t,a),n.append(t,l)},p(i,a){a&20&&e!==(e=i[4](i[2])+"")&&n.set_data(l,e)},d(i){i&&n.detach(t)}}}function M(s){let t,e,l;return{c(){t=n.element("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>',n.attr(t,"class","CashierHeaderRightButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[5]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function V(s){let t,e=s[3]&&M(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[3]?e?e.p(l,i):(e=M(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function X(s){let t,e,l,i;const a=s[16].leftButton,d=n.create_slot(a,s,s[15],H),c=d||J(s),m=s[16].title,g=n.create_slot(m,s,s[15],v),u=g||Q(s),_=s[16].rightButton,w=n.create_slot(_,s,s[15],B),f=w||V(s);return{c(){t=n.element("div"),c&&c.c(),e=n.space(),u&&u.c(),l=n.space(),f&&f.c(),n.attr(t,"class","CashierHeader")},m(o,h){n.insert(o,t,h),c&&c.m(t,null),n.append(t,e),u&&u.m(t,null),n.append(t,l),f&&f.m(t,null),s[17](t),i=!0},p(o,[h]){d?d.p&&(!i||h&32768)&&n.update_slot_base(d,a,o,o[15],i?n.get_slot_changes(a,o[15],h,K):n.get_all_dirty_from_scope(o[15]),H):c&&c.p&&(!i||h&2)&&c.p(o,i?h:-1),g?g.p&&(!i||h&32768)&&n.update_slot_base(g,m,o,o[15],i?n.get_slot_changes(m,o[15],h,Z):n.get_all_dirty_from_scope(o[15]),v):u&&u.p&&(!i||h&20)&&u.p(o,i?h:-1),w?w.p&&(!i||h&32768)&&n.update_slot_base(w,_,o,o[15],i?n.get_slot_changes(_,o[15],h,Y):n.get_all_dirty_from_scope(o[15]),B):f&&f.p&&(!i||h&8)&&f.p(o,i?h:-1)},i(o){i||(n.transition_in(c,o),n.transition_in(u,o),n.transition_in(f,o),i=!0)},o(o){n.transition_out(c,o),n.transition_out(u,o),n.transition_out(f,o),i=!1},d(o){o&&n.detach(t),c&&c.d(o),u&&u.d(o),f&&f.d(o),s[17](null)}}}function $(s,t,e){let l;n.component_subscribe(s,n.$format,r=>e(4,l=r));let{$$slots:i={},$$scope:a}=t,{clientstyling:d=""}=t,{clientstylingurl:c=""}=t,{translationurl:m=""}=t,{showbackbutton:g=""}=t,{title:u="header.general"}=t,{lang:_="en"}=t,{showclosebutton:w=""}=t,{mbsource:f=""}=t,o,h,p=!1,C,y=!1;const E=()=>{fetch(m).then(r=>r.json()).then(r=>{Object.keys(r).forEach(S=>{k(S,r[S])})}).catch(r=>{console.log(r)})};Object.keys(L).forEach(r=>{k(r,L[r])});const O=()=>{q(_)},N=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},U=()=>{window.postMessage({type:"BackCashier"},window.location.href)},z=()=>{e(1,p=!!g&&g!=="false")},D=()=>{e(3,y=!!w&&w!=="false")},x=()=>{e(2,C=u||"header.general")};n.onMount(()=>()=>{});function P(r){n.binding_callbacks[r?"unshift":"push"](()=>{o=r,e(0,o)})}return s.$$set=r=>{"clientstyling"in r&&e(7,d=r.clientstyling),"clientstylingurl"in r&&e(8,c=r.clientstylingurl),"translationurl"in r&&e(9,m=r.translationurl),"showbackbutton"in r&&e(10,g=r.showbackbutton),"title"in r&&e(11,u=r.title),"lang"in r&&e(12,_=r.lang),"showclosebutton"in r&&e(13,w=r.showclosebutton),"mbsource"in r&&e(14,f=r.mbsource),"$$scope"in r&&e(15,a=r.$$scope)},s.$$.update=()=>{s.$$.dirty&4096&&_&&O(),s.$$.dirty&6144&&_&&u&&x(),s.$$.dirty&129&&d&&o&&R(o,d),s.$$.dirty&257&&c&&o&&A(o,c),s.$$.dirty&16385&&f&&o&&F(o,`${f}.Style`,h),s.$$.dirty&4608&&_&&m&&E(),s.$$.dirty&1024&&g&&z(),s.$$.dirty&8192&&w&&D()},[o,p,C,y,l,N,U,d,c,m,g,u,_,w,f,a,i,P]}class j extends n.SvelteComponent{constructor(t){super(),n.init$1(this,t,$,X,n.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},W)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),n.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),n.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),n.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),n.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),n.flush()}}n.create_custom_element(j,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);const tt=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"}));exports.CashierHeader_ce=tt;exports.setClientStyling=R;exports.setClientStylingURL=A;exports.setStreamStyling=F;
1
+ "use strict";const n=require("./CashierPage-DFc7t9CJ.cjs");function k(s,t){n.addMessages(s,t)}function q(s){n.init({fallbackLocale:"en"}),n.$locale.set(s)}const L={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}}},b="__WIDGET_GLOBAL_STYLE_CACHE__";function R(s,t){if(s){const e=document.createElement("style");e.innerHTML=t,s.appendChild(e)}}function A(s,t){if(!s||!t)return;const e=new URL(t);fetch(e.href).then(l=>l.text()).then(l=>{const i=document.createElement("style");i.innerHTML=l,s&&s.appendChild(i)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function F(s,t,e,l=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!l)return e=G(s,t),e;window[b]||(window[b]={}),e=I(s,t);const a=e.unsubscribe.bind(e),d=()=>{if(window[b][t]){const c=window[b][t];c.refCount>1?c.refCount=c.refCount-1:delete window[b][t]}a()};return e.unsubscribe=d,e}function G(s,t){const e=document.createElement("style");return window.emMessageBus.subscribe(t,l=>{s&&(e.innerHTML=l,s.appendChild(e))})}function I(s,t){return window.emMessageBus.subscribe(t,e=>{if(!s)return;const l=s.getRootNode(),i=window[b];let a=i[t]&&i[t].sheet;a?i[t].refCount=i[t].refCount+1:(a=new CSSStyleSheet,a.replaceSync(e),i[t]={sheet:a,refCount:1});const d=l.adoptedStyleSheets||[];d.includes(a)||(l.adoptedStyleSheets=[...d,a])})}function W(s){n.append_styles(s,"svelte-1p7ag40",".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;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;fill:var(--emw--color-primary, #F9C405)}")}const Y=s=>({}),B=s=>({}),Z=s=>({}),v=s=>({}),K=s=>({}),H=s=>({});function T(s){let t,e,l;return{c(){t=n.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>',n.attr(t,"class","CashierHeaderLeftButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[6]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function J(s){let t,e=s[1]&&T(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[1]?e?e.p(l,i):(e=T(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function Q(s){let t,e=s[4](s[2])+"",l;return{c(){t=n.element("span"),l=n.text(e),n.attr(t,"class","CashierHeaderTitle")},m(i,a){n.insert(i,t,a),n.append(t,l)},p(i,a){a&20&&e!==(e=i[4](i[2])+"")&&n.set_data(l,e)},d(i){i&&n.detach(t)}}}function M(s){let t,e,l;return{c(){t=n.element("span"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>',n.attr(t,"class","CashierHeaderRightButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[5]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function V(s){let t,e=s[3]&&M(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[3]?e?e.p(l,i):(e=M(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function X(s){let t,e,l,i;const a=s[16].leftButton,d=n.create_slot(a,s,s[15],H),c=d||J(s),m=s[16].title,g=n.create_slot(m,s,s[15],v),u=g||Q(s),_=s[16].rightButton,w=n.create_slot(_,s,s[15],B),f=w||V(s);return{c(){t=n.element("div"),c&&c.c(),e=n.space(),u&&u.c(),l=n.space(),f&&f.c(),n.attr(t,"class","CashierHeader")},m(o,h){n.insert(o,t,h),c&&c.m(t,null),n.append(t,e),u&&u.m(t,null),n.append(t,l),f&&f.m(t,null),s[17](t),i=!0},p(o,[h]){d?d.p&&(!i||h&32768)&&n.update_slot_base(d,a,o,o[15],i?n.get_slot_changes(a,o[15],h,K):n.get_all_dirty_from_scope(o[15]),H):c&&c.p&&(!i||h&2)&&c.p(o,i?h:-1),g?g.p&&(!i||h&32768)&&n.update_slot_base(g,m,o,o[15],i?n.get_slot_changes(m,o[15],h,Z):n.get_all_dirty_from_scope(o[15]),v):u&&u.p&&(!i||h&20)&&u.p(o,i?h:-1),w?w.p&&(!i||h&32768)&&n.update_slot_base(w,_,o,o[15],i?n.get_slot_changes(_,o[15],h,Y):n.get_all_dirty_from_scope(o[15]),B):f&&f.p&&(!i||h&8)&&f.p(o,i?h:-1)},i(o){i||(n.transition_in(c,o),n.transition_in(u,o),n.transition_in(f,o),i=!0)},o(o){n.transition_out(c,o),n.transition_out(u,o),n.transition_out(f,o),i=!1},d(o){o&&n.detach(t),c&&c.d(o),u&&u.d(o),f&&f.d(o),s[17](null)}}}function $(s,t,e){let l;n.component_subscribe(s,n.$format,r=>e(4,l=r));let{$$slots:i={},$$scope:a}=t,{clientstyling:d=""}=t,{clientstylingurl:c=""}=t,{translationurl:m=""}=t,{showbackbutton:g=""}=t,{title:u="header.general"}=t,{lang:_="en"}=t,{showclosebutton:w=""}=t,{mbsource:f=""}=t,o,h,p=!1,C,y=!1;const E=()=>{fetch(m).then(r=>r.json()).then(r=>{Object.keys(r).forEach(S=>{k(S,r[S])})}).catch(r=>{console.log(r)})};Object.keys(L).forEach(r=>{k(r,L[r])});const O=()=>{q(_)},N=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},U=()=>{window.postMessage({type:"BackCashier"},window.location.href)},z=()=>{e(1,p=!!g&&g!=="false")},D=()=>{e(3,y=!!w&&w!=="false")},x=()=>{e(2,C=u||"header.general")};n.onMount(()=>()=>{});function P(r){n.binding_callbacks[r?"unshift":"push"](()=>{o=r,e(0,o)})}return s.$$set=r=>{"clientstyling"in r&&e(7,d=r.clientstyling),"clientstylingurl"in r&&e(8,c=r.clientstylingurl),"translationurl"in r&&e(9,m=r.translationurl),"showbackbutton"in r&&e(10,g=r.showbackbutton),"title"in r&&e(11,u=r.title),"lang"in r&&e(12,_=r.lang),"showclosebutton"in r&&e(13,w=r.showclosebutton),"mbsource"in r&&e(14,f=r.mbsource),"$$scope"in r&&e(15,a=r.$$scope)},s.$$.update=()=>{s.$$.dirty&4096&&_&&O(),s.$$.dirty&6144&&_&&u&&x(),s.$$.dirty&129&&d&&o&&R(o,d),s.$$.dirty&257&&c&&o&&A(o,c),s.$$.dirty&16385&&f&&o&&F(o,`${f}.Style`,h),s.$$.dirty&4608&&_&&m&&E(),s.$$.dirty&1024&&g&&z(),s.$$.dirty&8192&&w&&D()},[o,p,C,y,l,N,U,d,c,m,g,u,_,w,f,a,i,P]}class j extends n.SvelteComponent{constructor(t){super(),n.init$1(this,t,$,X,n.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},W)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),n.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),n.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),n.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),n.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),n.flush()}}n.create_custom_element(j,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);const tt=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"}));exports.CashierHeader_ce=tt;exports.setClientStyling=R;exports.setClientStylingURL=A;exports.setStreamStyling=F;
@@ -1,5 +1,5 @@
1
- import { a as tt, i as et, $ as st, S as nt, b as it, f as b, s as lt, c as ot, d as at, e as S, g as p, t as B, h as L, u as v, j as H, k as T, l as C, m as M, n as y, o as E, p as k, q as rt, r as ct, v as G, w as ut, x as ft, y as ht, z as I, A as P, B as dt } from "./CashierPage-DY5ngRhg.js";
2
- function O(s, t) {
1
+ import { b as tt, N as et, a as st, S as nt, O as it, E as b, a1 as lt, o as ot, f as at, r as S, x as p, ae as L, ad as B, ag as v, H, I as T, Q as C, e as M, z as y, a6 as R, g as k, l as rt, Y as ct, A as Y, a3 as ut, a9 as ft, h as ht, V as G, T as P, $ as dt } from "./CashierPage-CyVP1RTq.js";
2
+ function j(s, t) {
3
3
  tt(s, t);
4
4
  }
5
5
  function gt(s) {
@@ -7,7 +7,7 @@ function gt(s) {
7
7
  fallbackLocale: "en"
8
8
  }), st.set(s);
9
9
  }
10
- const z = {
10
+ const N = {
11
11
  en: {
12
12
  header: {
13
13
  general: "Cashier",
@@ -85,7 +85,7 @@ function pt(s, t) {
85
85
  function Ct(s) {
86
86
  at(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;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;fill:var(--emw--color-primary, #F9C405)}");
87
87
  }
88
- const yt = (s) => ({}), N = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
88
+ const yt = (s) => ({}), z = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
89
89
  function D(s) {
90
90
  let t, e, i;
91
91
  return {
@@ -100,20 +100,20 @@ function D(s) {
100
100
  s[6]
101
101
  ), e = !0);
102
102
  },
103
- p: I,
103
+ p: G,
104
104
  d(n) {
105
105
  n && p(t), e = !1, i();
106
106
  }
107
107
  };
108
108
  }
109
- function Bt(s) {
109
+ function Lt(s) {
110
110
  let t, e = (
111
111
  /*backButton*/
112
112
  s[1] && D(s)
113
113
  );
114
114
  return {
115
115
  c() {
116
- e && e.c(), t = G();
116
+ e && e.c(), t = Y();
117
117
  },
118
118
  m(i, n) {
119
119
  e && e.m(i, n), C(i, t, n);
@@ -127,7 +127,7 @@ function Bt(s) {
127
127
  }
128
128
  };
129
129
  }
130
- function Lt(s) {
130
+ function Bt(s) {
131
131
  let t, e = (
132
132
  /*$_*/
133
133
  s[4](
@@ -155,7 +155,7 @@ function Lt(s) {
155
155
  }
156
156
  };
157
157
  }
158
- function q(s) {
158
+ function I(s) {
159
159
  let t, e, i;
160
160
  return {
161
161
  c() {
@@ -169,7 +169,7 @@ function q(s) {
169
169
  s[5]
170
170
  ), e = !0);
171
171
  },
172
- p: I,
172
+ p: G,
173
173
  d(n) {
174
174
  n && p(t), e = !1, i();
175
175
  }
@@ -178,18 +178,18 @@ function q(s) {
178
178
  function vt(s) {
179
179
  let t, e = (
180
180
  /*closeButton*/
181
- s[3] && q(s)
181
+ s[3] && I(s)
182
182
  );
183
183
  return {
184
184
  c() {
185
- e && e.c(), t = G();
185
+ e && e.c(), t = Y();
186
186
  },
187
187
  m(i, n) {
188
188
  e && e.m(i, n), C(i, t, n);
189
189
  },
190
190
  p(i, n) {
191
191
  /*closeButton*/
192
- i[3] ? e ? e.p(i, n) : (e = q(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
192
+ i[3] ? e ? e.p(i, n) : (e = I(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
193
193
  },
194
194
  d(i) {
195
195
  i && p(t), e && e.d(i);
@@ -207,7 +207,7 @@ function Ht(s) {
207
207
  /*$$scope*/
208
208
  s[15],
209
209
  U
210
- ), r = h || Bt(s), _ = (
210
+ ), r = h || Lt(s), _ = (
211
211
  /*#slots*/
212
212
  s[16].title
213
213
  ), d = S(
@@ -216,7 +216,7 @@ function Ht(s) {
216
216
  /*$$scope*/
217
217
  s[15],
218
218
  x
219
- ), c = d || Lt(s), g = (
219
+ ), c = d || Bt(s), g = (
220
220
  /*#slots*/
221
221
  s[16].rightButton
222
222
  ), w = S(
@@ -224,11 +224,11 @@ function Ht(s) {
224
224
  s,
225
225
  /*$$scope*/
226
226
  s[15],
227
- N
227
+ z
228
228
  ), u = w || vt(s);
229
229
  return {
230
230
  c() {
231
- t = y("div"), r && r.c(), e = E(), c && c.c(), i = E(), u && u.c(), k(t, "class", "CashierHeader");
231
+ t = y("div"), r && r.c(), e = R(), c && c.c(), i = R(), u && u.c(), k(t, "class", "CashierHeader");
232
232
  },
233
233
  m(l, f) {
234
234
  C(l, t, f), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, i), u && u.m(t, null), s[17](t), n = !0;
@@ -289,15 +289,15 @@ function Ht(s) {
289
289
  /*$$scope*/
290
290
  l[15]
291
291
  ),
292
- N
292
+ z
293
293
  ) : u && u.p && (!n || f & /*closeButton*/
294
294
  8) && u.p(l, n ? f : -1);
295
295
  },
296
296
  i(l) {
297
- n || (L(r, l), L(c, l), L(u, l), n = !0);
297
+ n || (B(r, l), B(c, l), B(u, l), n = !0);
298
298
  },
299
299
  o(l) {
300
- B(r, l), B(c, l), B(u, l), n = !1;
300
+ L(r, l), L(c, l), L(u, l), n = !1;
301
301
  },
302
302
  d(l) {
303
303
  l && p(t), r && r.d(l), c && c.d(l), u && u.d(l), s[17](null);
@@ -307,31 +307,31 @@ function Ht(s) {
307
307
  function Tt(s, t, e) {
308
308
  let i;
309
309
  rt(s, dt, (o) => e(4, i = o));
310
- let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, j, F = !1;
311
- const Y = () => {
310
+ let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, E, F = !1;
311
+ const Z = () => {
312
312
  fetch(_).then((o) => o.json()).then((o) => {
313
- Object.keys(o).forEach((R) => {
314
- O(R, o[R]);
313
+ Object.keys(o).forEach((O) => {
314
+ j(O, o[O]);
315
315
  });
316
316
  }).catch((o) => {
317
317
  console.log(o);
318
318
  });
319
319
  };
320
- Object.keys(z).forEach((o) => {
321
- O(o, z[o]);
320
+ Object.keys(N).forEach((o) => {
321
+ j(o, N[o]);
322
322
  });
323
- const Z = () => {
323
+ const q = () => {
324
324
  gt(g);
325
325
  }, K = () => {
326
326
  window.postMessage({ type: "CloseCashier" }, window.location.href);
327
- }, J = () => {
328
- window.postMessage({ type: "BackCashier" }, window.location.href);
329
327
  }, Q = () => {
330
- e(1, A = !!d && d !== "false");
328
+ window.postMessage({ type: "BackCashier" }, window.location.href);
331
329
  }, V = () => {
330
+ e(1, A = !!d && d !== "false");
331
+ }, J = () => {
332
332
  e(3, F = !!w && w !== "false");
333
333
  }, X = () => {
334
- e(2, j = c || "header.general");
334
+ e(2, E = c || "header.general");
335
335
  };
336
336
  ct(() => () => {
337
337
  });
@@ -344,22 +344,22 @@ function Tt(s, t, e) {
344
344
  "clientstyling" in o && e(7, h = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, _ = o.translationurl), "showbackbutton" in o && e(10, d = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, w = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, a = o.$$scope);
345
345
  }, s.$$.update = () => {
346
346
  s.$$.dirty & /*lang*/
347
- 4096 && g && Z(), s.$$.dirty & /*lang, title*/
347
+ 4096 && g && q(), s.$$.dirty & /*lang, title*/
348
348
  6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
349
349
  129 && h && l && wt(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
350
350
  257 && r && l && _t(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
351
351
  16385 && u && l && bt(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
352
- 4608 && g && _ && Y(), s.$$.dirty & /*showbackbutton*/
353
- 1024 && d && Q(), s.$$.dirty & /*showclosebutton*/
354
- 8192 && w && V();
352
+ 4608 && g && _ && Z(), s.$$.dirty & /*showbackbutton*/
353
+ 1024 && d && V(), s.$$.dirty & /*showclosebutton*/
354
+ 8192 && w && J();
355
355
  }, [
356
356
  l,
357
357
  A,
358
- j,
358
+ E,
359
359
  F,
360
360
  i,
361
361
  K,
362
- J,
362
+ Q,
363
363
  h,
364
364
  r,
365
365
  _,