@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,4 +1,4 @@
1
- var B = (i, e, t) => new Promise((n, a) => {
1
+ var Y = (i, e, t) => new Promise((n, a) => {
2
2
  var f = (p) => {
3
3
  try {
4
4
  g(t.next(p));
@@ -14,44 +14,44 @@ var B = (i, e, t) => new Promise((n, a) => {
14
14
  }, g = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(f, h);
15
15
  g((t = t.apply(i, e)).next());
16
16
  });
17
- import { S as ie, b as ne, s as oe, f as M, c as le, e as S, t as O, g as z, a7 as se, a8 as ae, k as H, m as C, q as re, a0 as j, d as F, u as Y, h as q, j as D, L as T, l as v, G as de, n as I, o as m, H as ce, x as W, y as fe, z as ue, Q as R, A as he } from "./CashierPage-Bl4ava_U.js";
18
- import { s as me, a as ge, b as pe } from "./CashierHeader-CV1mrRsd.js";
17
+ import { S as ie, O as ne, a1 as oe, E as M, f as le, x as S, ae as O, ad as z, L as se, j as ae, Q as H, z as C, Y as re, aa as j, r as B, ag as F, H as D, I as R, ac as T, e as v, c as de, a6 as I, g as m, d as ce, h as W, V as fe, T as ue, a8 as U, o as he } from "./CashierPage-Yklnwu-d.js";
18
+ import { s as me, a as ge, b as pe } from "./CashierHeader-YhgwXeCk.js";
19
19
  function we(i) {
20
20
  le(i, "svelte-e2luo5", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
21
21
  }
22
- const ye = (i) => ({}), U = (i) => ({}), _e = (i) => ({}), A = (i) => ({});
23
- function G(i) {
22
+ const ye = (i) => ({}), q = (i) => ({}), _e = (i) => ({}), P = (i) => ({});
23
+ function Q(i) {
24
24
  let e, t, n, a, f, h, g, p, x, b, k, u, d = (
25
25
  /*modaltype*/
26
26
  (i[3] == "error" || /*modaltype*/
27
- i[3] == "bonusDescription") && P()
27
+ i[3] == "bonusDescription") && V()
28
28
  );
29
29
  const w = (
30
30
  /*#slots*/
31
31
  i[14].title
32
- ), y = F(
32
+ ), y = B(
33
33
  w,
34
34
  i,
35
35
  /*$$scope*/
36
36
  i[13],
37
- A
37
+ P
38
38
  );
39
39
  let r = (
40
40
  /*modaltype*/
41
- i[3] != "2fa-old" && Q(i)
41
+ i[3] != "2fa-old" && Z(i)
42
42
  ), l = (
43
43
  /*isloading*/
44
- i[4] === "true" && Z()
44
+ i[4] === "true" && A()
45
45
  );
46
46
  const L = (
47
47
  /*#slots*/
48
48
  i[14].content
49
- ), c = F(
49
+ ), c = B(
50
50
  L,
51
51
  i,
52
52
  /*$$scope*/
53
53
  i[13],
54
- U
54
+ q
55
55
  );
56
56
  return {
57
57
  c() {
@@ -85,44 +85,44 @@ function G(i) {
85
85
  p(s, _) {
86
86
  /*modaltype*/
87
87
  s[3] == "error" || /*modaltype*/
88
- s[3] == "bonusDescription" ? d || (d = P(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), y && y.p && (!u || _ & /*$$scope*/
89
- 8192) && Y(
88
+ s[3] == "bonusDescription" ? d || (d = V(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), y && y.p && (!u || _ & /*$$scope*/
89
+ 8192) && F(
90
90
  y,
91
91
  w,
92
92
  s,
93
93
  /*$$scope*/
94
94
  s[13],
95
- u ? D(
95
+ u ? R(
96
96
  w,
97
97
  /*$$scope*/
98
98
  s[13],
99
99
  _,
100
100
  _e
101
- ) : q(
101
+ ) : D(
102
102
  /*$$scope*/
103
103
  s[13]
104
104
  ),
105
- A
105
+ P
106
106
  ), /*modaltype*/
107
- s[3] != "2fa-old" ? r ? r.p(s, _) : (r = Q(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
108
- s[4] === "true" ? l || (l = Z(), l.c(), l.m(t, x)) : l && (l.d(1), l = null), c && c.p && (!u || _ & /*$$scope*/
109
- 8192) && Y(
107
+ s[3] != "2fa-old" ? r ? r.p(s, _) : (r = Z(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
108
+ s[4] === "true" ? l || (l = A(), l.c(), l.m(t, x)) : l && (l.d(1), l = null), c && c.p && (!u || _ & /*$$scope*/
109
+ 8192) && F(
110
110
  c,
111
111
  L,
112
112
  s,
113
113
  /*$$scope*/
114
114
  s[13],
115
- u ? D(
115
+ u ? R(
116
116
  L,
117
117
  /*$$scope*/
118
118
  s[13],
119
119
  _,
120
120
  ye
121
- ) : q(
121
+ ) : D(
122
122
  /*$$scope*/
123
123
  s[13]
124
124
  ),
125
- U
125
+ q
126
126
  ), (!u || _ & /*isloading*/
127
127
  16) && T(
128
128
  b,
@@ -154,7 +154,7 @@ function G(i) {
154
154
  }
155
155
  };
156
156
  }
157
- function P(i) {
157
+ function V(i) {
158
158
  let e;
159
159
  return {
160
160
  c() {
@@ -168,11 +168,11 @@ function P(i) {
168
168
  }
169
169
  };
170
170
  }
171
- function Q(i) {
171
+ function Z(i) {
172
172
  let e, t, n, a, f;
173
173
  return {
174
174
  c() {
175
- e = C("div"), t = R("svg"), n = R("path"), m(n, "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"), m(t, "xmlns", "http://www.w3.org/2000/svg"), m(t, "viewBox", "0 0 13 13"), m(t, "fill", "none"), m(t, "class", "CloseButton"), m(e, "class", "ModalCloseIcon");
175
+ e = C("div"), t = U("svg"), n = U("path"), m(n, "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"), m(t, "xmlns", "http://www.w3.org/2000/svg"), m(t, "viewBox", "0 0 13 13"), m(t, "fill", "none"), m(t, "class", "CloseButton"), m(e, "class", "ModalCloseIcon");
176
176
  },
177
177
  m(h, g) {
178
178
  H(h, e, g), v(e, t), v(t, n), a || (f = ue(
@@ -188,7 +188,7 @@ function Q(i) {
188
188
  }
189
189
  };
190
190
  }
191
- function Z(i) {
191
+ function A(i) {
192
192
  let e;
193
193
  return {
194
194
  c() {
@@ -205,7 +205,7 @@ function Z(i) {
205
205
  function be(i) {
206
206
  let e, t, n = (
207
207
  /*show*/
208
- i[2] === "true" && G(i)
208
+ i[2] === "true" && Q(i)
209
209
  );
210
210
  return {
211
211
  c() {
@@ -217,7 +217,7 @@ function be(i) {
217
217
  p(a, [f]) {
218
218
  /*show*/
219
219
  a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
220
- 4 && z(n, 1)) : (n = G(a), n.c(), z(n, 1), n.m(e, null)) : n && (se(), O(n, 1, 1, () => {
220
+ 4 && z(n, 1)) : (n = Q(a), n.c(), z(n, 1), n.m(e, null)) : n && (se(), O(n, 1, 1, () => {
221
221
  n = null;
222
222
  }), ae());
223
223
  },
@@ -241,7 +241,7 @@ function ve(i, e, t) {
241
241
  },
242
242
  200
243
243
  ));
244
- }, E = () => B(this, null, function* () {
244
+ }, E = () => Y(this, null, function* () {
245
245
  if (!l || !r || L)
246
246
  return;
247
247
  s && clearTimeout(c), L = !0;
@@ -270,22 +270,22 @@ function ve(i, e, t) {
270
270
  c && clearTimeout(c), s && clearTimeout(c);
271
271
  };
272
272
  });
273
- function J(o) {
273
+ function G(o) {
274
274
  W[o ? "unshift" : "push"](() => {
275
275
  r = o, t(7, r);
276
276
  });
277
277
  }
278
- function K(o) {
278
+ function J(o) {
279
279
  W[o ? "unshift" : "push"](() => {
280
280
  l = o, t(8, l);
281
281
  });
282
282
  }
283
- function N(o) {
283
+ function K(o) {
284
284
  W[o ? "unshift" : "push"](() => {
285
285
  d = o, t(6, d);
286
286
  });
287
287
  }
288
- function V() {
288
+ function N() {
289
289
  k = this.clientWidth, u = this.clientHeight, t(0, k), t(1, u);
290
290
  }
291
291
  function X(o) {
@@ -319,10 +319,10 @@ function ve(i, e, t) {
319
319
  g,
320
320
  a,
321
321
  n,
322
+ G,
322
323
  J,
323
324
  K,
324
325
  N,
325
- V,
326
326
  X
327
327
  ];
328
328
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-C7hbc8P5.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),g=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{l.appendChild(g)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class h extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(h,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-DFc7t9CJ.cjs");function y(i){t.append_styles(i,"svelte-ags340",".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}")}function b(i){let e,s,c,f,o,a,l,d;return{c(){e=t.element("div"),s=t.element("span"),c=t.text(i[0]),f=t.space(),o=t.element("button"),a=t.text(i[1]),t.attr(e,"class","CashierNotifications")},m(r,u){t.insert(r,e,u),t.append(e,s),t.append(s,c),t.append(e,f),t.append(e,o),t.append(o,a),i[6](e),l||(d=t.listen(o,"click",i[3]),l=!0)},p(r,[u]){u&1&&t.set_data(c,r[0]),u&2&&t.set_data(a,r[1])},i:t.noop,o:t.noop,d(r){r&&t.detach(e),i[6](null),l=!1,d()}}}function x(i,e,s){let{text:c}=e,{button:f}=e,{clientstyling:o=""}=e,{clientstylingurl:a=""}=e,l;const d=()=>{window.postMessage({type:"NotificationButtonClick"},window.location.href)},r=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},u=()=>{let n=new URL(a),g=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{l.appendChild(g)},1)})};function p(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(2,l)})}return i.$$set=n=>{"text"in n&&s(0,c=n.text),"button"in n&&s(1,f=n.button),"clientstyling"in n&&s(4,o=n.clientstyling),"clientstylingurl"in n&&s(5,a=n.clientstylingurl)},i.$$.update=()=>{i.$$.dirty&20&&o&&l&&r(),i.$$.dirty&36&&a&&l&&u()},[c,f,l,d,o,a,p]}class h extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,x,b,t.safe_not_equal,{text:0,button:1,clientstyling:4,clientstylingurl:5},y)}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),t.flush()}get button(){return this.$$.ctx[1]}set button(e){this.$$set({button:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}}t.create_custom_element(h,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=h;
@@ -1,26 +1,26 @@
1
- import { S as C, b as v, s as _, f as d, c as k, y as b, e as N, v as p, k as z, l as f, z as S, m as h, w as x, n as E, o as L, x as M, A as T } from "./CashierPage-Bl4ava_U.js";
2
- function H(n) {
3
- k(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
1
+ import { S as C, O as v, a1 as _, E as g, f as N, V as b, x as k, a3 as p, Q as z, e as f, T as E, z as h, a9 as x, a6 as S, g as L, h as T, o as M } from "./CashierPage-CyVP1RTq.js";
2
+ function H(i) {
3
+ N(i, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
- function R(n) {
6
- let t, s, r, u, l, a, i, m;
5
+ function R(i) {
6
+ let t, s, r, u, l, a, n, m;
7
7
  return {
8
8
  c() {
9
9
  t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
- n[0]
12
- ), u = E(), l = h("button"), a = x(
11
+ i[0]
12
+ ), u = S(), l = h("button"), a = x(
13
13
  /*button*/
14
- n[1]
14
+ i[1]
15
15
  ), L(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = E(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
22
- n[3]
23
- ), i = !0);
22
+ i[3]
23
+ ), n = !0);
24
24
  },
25
25
  p(o, [c]) {
26
26
  c & /*text*/
@@ -38,43 +38,43 @@ function R(n) {
38
38
  i: b,
39
39
  o: b,
40
40
  d(o) {
41
- o && N(t), n[6](null), i = !1, m();
41
+ o && k(t), i[6](null), n = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function U(n, t, s) {
46
- let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
45
+ function U(i, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
49
  }, o = () => {
50
50
  let e = document.createElement("style");
51
- e.innerHTML = l, i.appendChild(e);
51
+ e.innerHTML = l, n.appendChild(e);
52
52
  }, c = () => {
53
53
  let e = new URL(a), y = document.createElement("style");
54
- fetch(e.href).then((g) => g.text()).then((g) => {
55
- y.innerHTML = g, setTimeout(
54
+ fetch(e.href).then((d) => d.text()).then((d) => {
55
+ y.innerHTML = d, setTimeout(
56
56
  () => {
57
- i.appendChild(y);
57
+ n.appendChild(y);
58
58
  },
59
59
  1
60
60
  );
61
61
  });
62
62
  };
63
63
  function w(e) {
64
- M[e ? "unshift" : "push"](() => {
65
- i = e, s(2, i);
64
+ T[e ? "unshift" : "push"](() => {
65
+ n = e, s(2, n);
66
66
  });
67
67
  }
68
- return n.$$set = (e) => {
68
+ return i.$$set = (e) => {
69
69
  "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
- }, n.$$.update = () => {
71
- n.$$.dirty & /*clientstyling, customStylingContainer*/
72
- 20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
- 36 && a && i && c();
70
+ }, i.$$.update = () => {
71
+ i.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && n && c();
74
74
  }, [
75
75
  r,
76
76
  u,
77
- i,
77
+ n,
78
78
  m,
79
79
  l,
80
80
  a,
@@ -102,28 +102,28 @@ class q extends C {
102
102
  return this.$$.ctx[0];
103
103
  }
104
104
  set text(t) {
105
- this.$$set({ text: t }), d();
105
+ this.$$set({ text: t }), g();
106
106
  }
107
107
  get button() {
108
108
  return this.$$.ctx[1];
109
109
  }
110
110
  set button(t) {
111
- this.$$set({ button: t }), d();
111
+ this.$$set({ button: t }), g();
112
112
  }
113
113
  get clientstyling() {
114
114
  return this.$$.ctx[4];
115
115
  }
116
116
  set clientstyling(t) {
117
- this.$$set({ clientstyling: t }), d();
117
+ this.$$set({ clientstyling: t }), g();
118
118
  }
119
119
  get clientstylingurl() {
120
120
  return this.$$.ctx[5];
121
121
  }
122
122
  set clientstylingurl(t) {
123
- this.$$set({ clientstylingurl: t }), d();
123
+ this.$$set({ clientstylingurl: t }), g();
124
124
  }
125
125
  }
126
- T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ M(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
128
  q as default
129
129
  };
@@ -1,26 +1,26 @@
1
- import { S as C, b as v, s as _, f as d, d as N, z as b, g as k, w as p, l as z, m as f, A as S, n as h, x, o as E, p as L, y as M, c as T } from "./CashierPage-DY5ngRhg.js";
2
- function H(n) {
3
- N(n, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
1
+ import { S as C, O as v, a1 as _, E as g, f as N, V as b, x as k, a3 as p, Q as z, e as f, T as E, z as h, a9 as x, a6 as S, g as L, h as T, o as M } from "./CashierPage-Yklnwu-d.js";
2
+ function H(i) {
3
+ N(i, "svelte-ags340", ".CashierNotifications{position:absolute;z-index:2;background-color:var(--emw--color-background, #111);color:var(--emw--color-white, #fff);display:flex;border-radius:var(--emw--border-radius-medium, 4px);align-items:center;gap:var(--emw--spacing-small, 12px);font-size:var(--emw--font-size-small, 14px);padding:var(--emw--spacing-small, 12px) var(--emw--spacing-medium, 15px);min-height:50px;pointer-events:auto;bottom:0;width:calc(100% - 30px)}.CashierNotifications span,.CashierNotifications button{font-family:inherit;border:none;font-variant:normal}.CashierNotifications span{line-height:normal}.CashierNotifications button{color:var(--emw--color-primary, #7EC51E);background-color:transparent;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-bold, 700);font-family:inherit}");
4
4
  }
5
- function R(n) {
6
- let t, s, r, u, l, a, i, m;
5
+ function R(i) {
6
+ let t, s, r, u, l, a, n, m;
7
7
  return {
8
8
  c() {
9
9
  t = h("div"), s = h("span"), r = x(
10
10
  /*text*/
11
- n[0]
12
- ), u = E(), l = h("button"), a = x(
11
+ i[0]
12
+ ), u = S(), l = h("button"), a = x(
13
13
  /*button*/
14
- n[1]
14
+ i[1]
15
15
  ), L(t, "class", "CashierNotifications");
16
16
  },
17
17
  m(o, c) {
18
- z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), n[6](t), i || (m = S(
18
+ z(o, t, c), f(t, s), f(s, r), f(t, u), f(t, l), f(l, a), i[6](t), n || (m = E(
19
19
  l,
20
20
  "click",
21
21
  /*notificationClick*/
22
- n[3]
23
- ), i = !0);
22
+ i[3]
23
+ ), n = !0);
24
24
  },
25
25
  p(o, [c]) {
26
26
  c & /*text*/
@@ -38,43 +38,43 @@ function R(n) {
38
38
  i: b,
39
39
  o: b,
40
40
  d(o) {
41
- o && k(t), n[6](null), i = !1, m();
41
+ o && k(t), i[6](null), n = !1, m();
42
42
  }
43
43
  };
44
44
  }
45
- function U(n, t, s) {
46
- let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
45
+ function U(i, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, n;
47
47
  const m = () => {
48
48
  window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
49
  }, o = () => {
50
50
  let e = document.createElement("style");
51
- e.innerHTML = l, i.appendChild(e);
51
+ e.innerHTML = l, n.appendChild(e);
52
52
  }, c = () => {
53
53
  let e = new URL(a), y = document.createElement("style");
54
- fetch(e.href).then((g) => g.text()).then((g) => {
55
- y.innerHTML = g, setTimeout(
54
+ fetch(e.href).then((d) => d.text()).then((d) => {
55
+ y.innerHTML = d, setTimeout(
56
56
  () => {
57
- i.appendChild(y);
57
+ n.appendChild(y);
58
58
  },
59
59
  1
60
60
  );
61
61
  });
62
62
  };
63
63
  function w(e) {
64
- M[e ? "unshift" : "push"](() => {
65
- i = e, s(2, i);
64
+ T[e ? "unshift" : "push"](() => {
65
+ n = e, s(2, n);
66
66
  });
67
67
  }
68
- return n.$$set = (e) => {
68
+ return i.$$set = (e) => {
69
69
  "text" in e && s(0, r = e.text), "button" in e && s(1, u = e.button), "clientstyling" in e && s(4, l = e.clientstyling), "clientstylingurl" in e && s(5, a = e.clientstylingurl);
70
- }, n.$$.update = () => {
71
- n.$$.dirty & /*clientstyling, customStylingContainer*/
72
- 20 && l && i && o(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
- 36 && a && i && c();
70
+ }, i.$$.update = () => {
71
+ i.$$.dirty & /*clientstyling, customStylingContainer*/
72
+ 20 && l && n && o(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
73
+ 36 && a && n && c();
74
74
  }, [
75
75
  r,
76
76
  u,
77
- i,
77
+ n,
78
78
  m,
79
79
  l,
80
80
  a,
@@ -102,28 +102,28 @@ class q extends C {
102
102
  return this.$$.ctx[0];
103
103
  }
104
104
  set text(t) {
105
- this.$$set({ text: t }), d();
105
+ this.$$set({ text: t }), g();
106
106
  }
107
107
  get button() {
108
108
  return this.$$.ctx[1];
109
109
  }
110
110
  set button(t) {
111
- this.$$set({ button: t }), d();
111
+ this.$$set({ button: t }), g();
112
112
  }
113
113
  get clientstyling() {
114
114
  return this.$$.ctx[4];
115
115
  }
116
116
  set clientstyling(t) {
117
- this.$$set({ clientstyling: t }), d();
117
+ this.$$set({ clientstyling: t }), g();
118
118
  }
119
119
  get clientstylingurl() {
120
120
  return this.$$.ctx[5];
121
121
  }
122
122
  set clientstylingurl(t) {
123
- this.$$set({ clientstylingurl: t }), d();
123
+ this.$$set({ clientstylingurl: t }), g();
124
124
  }
125
125
  }
126
- T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
126
+ M(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
127
  export {
128
128
  q as default
129
129
  };