@everymatrix/cashier-page 1.94.4 → 1.94.6

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 (37) hide show
  1. package/components/{CashierCarousel-BLSsdI8N.js → CashierCarousel-CTD4ADEl.js} +79 -79
  2. package/components/{CashierCarousel-D92KGNvD.js → CashierCarousel-D6SuMcQ1.js} +64 -64
  3. package/components/{CashierError-D6h70alS.js → CashierError-C0W34998.js} +22 -22
  4. package/components/{CashierError-BioxJD3d.js → CashierError-Dg834slb.js} +23 -23
  5. package/components/{CashierHeader-DldQQGAU.js → CashierHeader-DafDx_3j.js} +37 -37
  6. package/components/{CashierHeader-Di0dH8Ch.js → CashierHeader-YhgwXeCk.js} +37 -37
  7. package/components/{CashierIframeRedirect-1MymL4-w.js → CashierIframeRedirect-DWa2IM1a.js} +25 -25
  8. package/components/{CashierIframeRedirect-BvHGxm2j.js → CashierIframeRedirect-M5hsugC-.js} +21 -21
  9. package/components/{CashierMethodDetails-gGaSXhnd.js → CashierMethodDetails-C9lU-1Od.js} +5 -5
  10. package/components/{CashierMethodDetails-CJyvwSPZ.js → CashierMethodDetails-CXSI2Ftt.js} +5 -5
  11. package/components/{CashierMethodsList-B51H80eX.js → CashierMethodsList-D5gWM-5x.js} +69 -69
  12. package/components/{CashierMethodsList-Bn7TgrUA.js → CashierMethodsList-GlL1YNei.js} +40 -40
  13. package/components/{CashierModal-Ck7dIF1h.js → CashierModal-BL_3_v5C.js} +43 -43
  14. package/components/{CashierModal-BTxh5964.js → CashierModal-BxhVa9nJ.js} +35 -35
  15. package/components/{CashierNotifications-Bni-Zo-O.js → CashierNotifications-D7pEjC9e.js} +31 -31
  16. package/components/{CashierNotifications-DgA6o4pi.js → CashierNotifications-DumJSi6H.js} +31 -31
  17. package/components/{CashierPage-_PJq9teT.js → CashierPage-CyVP1RTq.js} +82 -82
  18. package/components/{CashierPage-Bi4eFJ59.js → CashierPage-Yklnwu-d.js} +82 -82
  19. package/components/{CashierReceiptPage-vsCixPJi.js → CashierReceiptPage-Cz47umjb.js} +107 -107
  20. package/components/{CashierReceiptPage-CIjEPaeD.js → CashierReceiptPage-DfwtOyaZ.js} +120 -120
  21. package/components/{CashierSessionExpirationModal-DfcoFbz3.js → CashierSessionExpirationModal-BfLsDfD2.js} +101 -101
  22. package/components/{CashierSessionExpirationModal-Dbknu3z5.js → CashierSessionExpirationModal-h3rhYNkG.js} +126 -126
  23. package/components/{CashierSpinner-CNjbjUJb.js → CashierSpinner-BFMZw2tU.js} +6 -6
  24. package/components/{CashierSpinner-B1Snzdbq.js → CashierSpinner-D8ZX1N7Y.js} +10 -10
  25. package/components/{CashierStepUp-DLx4ZhqR.js → CashierStepUp-CUavQfr0.js} +132 -132
  26. package/components/{CashierStepUp-DTRMNDxI.js → CashierStepUp-Nzn5RFP5.js} +49 -49
  27. package/components/{CashierTransactionHistory-CBHJVCjw.js → CashierTransactionHistory-ByF437F5.js} +110 -110
  28. package/components/{CashierTransactionHistory-tRzzuMzy.js → CashierTransactionHistory-GtXsIggF.js} +110 -110
  29. package/components/{CashierVerifications-2v6SzakW.js → CashierVerifications-CuD13Li5.js} +60 -60
  30. package/components/{CashierVerifications-CNVn8Koy.js → CashierVerifications-sG9Xn_xc.js} +43 -43
  31. package/components/{TxnStatusIcon-BMW53lVy.js → TxnStatusIcon-B0-RrZPH.js} +23 -23
  32. package/components/{TxnStatusIcon-BGoL7geL.js → TxnStatusIcon-DYgNkITO.js} +28 -28
  33. package/components/{TxnTypeIcons-DkN5cVT-.js → TxnTypeIcons-BnO0cks2.js} +1 -1
  34. package/components/{TxnTypeIcons-QCBLyb31.js → TxnTypeIcons-DPmJegXP.js} +1 -1
  35. package/es2015/cashier-page.js +1 -1
  36. package/esnext/cashier-page.js +1 -1
  37. package/package.json +1 -1
@@ -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-Bi4eFJ59.js";
18
- import { s as fe, a as pe, b as ye } from "./CashierHeader-Di0dH8Ch.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,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-_PJq9teT.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
  _,
@@ -1,5 +1,5 @@
1
- import { a as tt, i as et, $ as st, S as nt, b as it, s as lt, f as b, c as ot, d as S, e as p, t as B, g as L, u as v, h as H, j as T, k as C, l as M, m as y, n as E, o as k, p as at, q as rt, r as G, v as ct, w as ut, x as ft, y as I, z as P, A as ht, B as dt } from "./CashierPage-Bi4eFJ59.js";
2
- function O(s, t) {
1
+ import { b as tt, N as et, a as st, S as nt, O as it, a1 as lt, E as b, f as ot, 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 at, Y as rt, A as Y, a3 as ct, a9 as ut, h as ft, V as G, T as P, o as ht, $ as dt } from "./CashierPage-Yklnwu-d.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
  ot(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
  at(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
  rt(() => () => {
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
  _,