@everymatrix/cashier-page-nd 1.69.111 → 1.69.113

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 (63) hide show
  1. package/components/{CashierCarousel-D77wRYrP.js → CashierCarousel-2AotVxhB.js} +164 -160
  2. package/components/CashierCarousel-Bmkxhtnm.cjs +23 -0
  3. package/components/{CashierCarousel-8HuPK_WY.js → CashierCarousel-Cm5G9dJd.js} +171 -167
  4. package/components/{CashierError-Dnk0H5ib.js → CashierError-BkWwLoWt.js} +1 -1
  5. package/components/{CashierError-DFOslnwl.js → CashierError-CO7-9OnG.js} +1 -1
  6. package/components/{CashierError-BJv9Ma-S.cjs → CashierError-Cwm9eY8c.cjs} +1 -1
  7. package/components/{CashierHeader-Dr5EUw02.js → CashierHeader-BOEVulz3.js} +1 -1
  8. package/components/{CashierHeader-C4luE8Rt.js → CashierHeader-CTZl2NGQ.js} +1 -1
  9. package/components/{CashierHeader-D_pRK2ix.cjs → CashierHeader-D40gryOj.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-CiTWXkv1.cjs → CashierIframeRedirect-BKExS9o2.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-DAAmzCia.js → CashierIframeRedirect-CFYNnH6I.js} +3 -3
  12. package/components/{CashierIframeRedirect-C2UPjyTE.js → CashierIframeRedirect-DCJH25FN.js} +3 -3
  13. package/components/{CashierMethodDetails-BcL5uTl0.cjs → CashierMethodDetails-B9yThWJd.cjs} +4 -4
  14. package/components/{CashierMethodDetails-CxzHJpNT.js → CashierMethodDetails-BvIuXYaF.js} +541 -537
  15. package/components/{CashierMethodDetails-C_ILvlcp.js → CashierMethodDetails-CrNz38mk.js} +380 -376
  16. package/components/{CashierMethodsList-D1-4p9Fo.js → CashierMethodsList-BE8SmqSJ.js} +2 -2
  17. package/components/{CashierMethodsList-CdZFk5wU.js → CashierMethodsList-BN2dT78W.js} +2 -2
  18. package/components/{CashierMethodsList-CEZVckvw.cjs → CashierMethodsList-DkmiAf3O.cjs} +1 -1
  19. package/components/CashierModal-BE_2P0FX.js +336 -0
  20. package/components/CashierModal-fcLWE2y3.cjs +1 -0
  21. package/components/CashierModal-whn0174R.js +336 -0
  22. package/components/{CashierNotifications-pGgsWSdS.cjs → CashierNotifications-AE1W98Am.cjs} +1 -1
  23. package/components/{CashierNotifications-C4esiIE1.js → CashierNotifications-DvukNd9l.js} +1 -1
  24. package/components/{CashierNotifications-HbBlW919.js → CashierNotifications-h-sC7KWl.js} +1 -1
  25. package/components/{CashierPage-BhXnLqVP.js → CashierPage-B0SFLnbl.js} +525 -533
  26. package/components/{CashierPage-Cu_FfnAW.js → CashierPage-BqLJ1Za1.js} +521 -529
  27. package/components/CashierPage-DIrw7Ur0.cjs +1 -0
  28. package/components/{CashierReceiptPage-C1pvLNPQ.js → CashierReceiptPage-B1GE254E.js} +2 -2
  29. package/components/{CashierReceiptPage-4EMwW_oF.cjs → CashierReceiptPage-BqrdBMp3.cjs} +1 -1
  30. package/components/{CashierReceiptPage-CzCxraC4.js → CashierReceiptPage-OE7gpibk.js} +2 -2
  31. package/components/{CashierSessionExpirationModal-DC3xtfId.cjs → CashierSessionExpirationModal-BAZy0IPX.cjs} +1 -1
  32. package/components/{CashierSessionExpirationModal-DOAn1f7Q.js → CashierSessionExpirationModal-CNBDiaWq.js} +3 -3
  33. package/components/{CashierSessionExpirationModal-wcX6WNwx.js → CashierSessionExpirationModal-D1lAoUuI.js} +3 -3
  34. package/components/{CashierSpinner-1V0fFMq0.js → CashierSpinner-Dc_apDAz.js} +1 -1
  35. package/components/{CashierSpinner-CPWKt5dY.cjs → CashierSpinner-d2hvjlSo.cjs} +1 -1
  36. package/components/{CashierSpinner-Cx52pbwV.js → CashierSpinner-viEKbLWC.js} +1 -1
  37. package/components/CashierStepUp-BLCOLltJ.js +786 -0
  38. package/components/CashierStepUp-B_HWgCcn.cjs +1 -0
  39. package/components/CashierStepUp-CeqsqBhX.js +814 -0
  40. package/components/{CashierTransactionHistory-DnPl2II3.js → CashierTransactionHistory-Bod4CZm1.js} +5 -5
  41. package/components/{CashierTransactionHistory-CfPdd7w-.cjs → CashierTransactionHistory-CicwRm4P.cjs} +1 -1
  42. package/components/{CashierTransactionHistory-BU9zzhMH.js → CashierTransactionHistory-Ck-a7FJf.js} +5 -5
  43. package/components/{CashierVerifications-DBaC7Yq5.js → CashierVerifications-66ej7eXN.js} +2 -2
  44. package/components/{CashierVerifications-Cl0o1vbf.js → CashierVerifications-Cg5TE5jO.js} +2 -2
  45. package/components/{CashierVerifications-CR73ohxW.cjs → CashierVerifications-D5bq7j2I.cjs} +1 -1
  46. package/components/{TxnStatusIcon-CmFT6r06.cjs → TxnStatusIcon-Bs5XHdDd.cjs} +1 -1
  47. package/components/{TxnStatusIcon-C9c7Vat6.js → TxnStatusIcon-CvoyaPHp.js} +1 -1
  48. package/components/{TxnStatusIcon-CuygBt_X.js → TxnStatusIcon-DB7vrGws.js} +1 -1
  49. package/components/{TxnTypeIcons-BubLyQlU.js → TxnTypeIcons-BVU-p7ld.js} +1 -1
  50. package/components/{TxnTypeIcons-CwWZ2MoD.cjs → TxnTypeIcons-CPhGhukx.cjs} +1 -1
  51. package/components/{TxnTypeIcons-Cpt8i9KB.js → TxnTypeIcons-lKOKRAjP.js} +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/CashierCarousel-BkoYZVP7.cjs +0 -23
  57. package/components/CashierModal-CJf0aCey.cjs +0 -1
  58. package/components/CashierModal-Cpef67LD.js +0 -239
  59. package/components/CashierModal-VPZkXwtJ.js +0 -239
  60. package/components/CashierPage-CJVbHJ9b.cjs +0 -1
  61. package/components/CashierStepUp-CjnkMvDj.js +0 -834
  62. package/components/CashierStepUp-Ck5JQ0Nm.cjs +0 -1
  63. package/components/CashierStepUp-Cy8j5UPe.js +0 -806
@@ -0,0 +1,336 @@
1
+ import { S as K, b as N, s as P, f as _, c as U, e as M, t as S, g as k, a0 as V, a1 as Z, k as L, r as A, q as J, a2 as O, d as Q, u as X, h as $, j as ee, V as C, l as w, a3 as te, m as v, n as I, o as g, K as ie, y as x, G as ne, x as oe, P as j, B as se, C as ae, D as le, E as re } from "./CashierCarousel-Cm5G9dJd.js";
2
+ function de(n) {
3
+ U(n, "svelte-1vi9jru", '*,*::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:scale(0.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:scale(1) translateY(0)}to{opacity:0;transform:scale(0.95) 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.3s ease-out}#Modal.closing{animation:modalFadeOut 0.3s ease-out}.ModalContainer{min-width:300px;width:auto;height:auto;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);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.4s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);animation:modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1)}#Modal.closing .ModalContainer{animation:modalSlideOut 0.3s ease-out}.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%)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20}.ModalCloseIcon svg{width:11px;height:11px}.CloseButton{fill:var(--emw--color-primary);stroke:var(--emw--color-primary);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}}');
4
+ }
5
+ const ce = (n) => ({}), W = (n) => ({});
6
+ function E(n) {
7
+ let e, t, i, a, r, u, p, h, d = (
8
+ /*modaltype*/
9
+ n[3] !== "error" && /*modaltype*/
10
+ n[3] !== "bonusList" && /*modaltype*/
11
+ n[3] !== "2fa" && B(n)
12
+ ), c = (
13
+ /*isloading*/
14
+ n[4] === "true" && F()
15
+ );
16
+ const b = (
17
+ /*#slots*/
18
+ n[14].content
19
+ ), f = Q(
20
+ b,
21
+ n,
22
+ /*$$scope*/
23
+ n[13],
24
+ W
25
+ );
26
+ return {
27
+ c() {
28
+ e = v("div"), t = v("div"), i = v("div"), d && d.c(), a = I(), c && c.c(), r = I(), u = v("div"), f && f.c(), g(u, "class", "ModalContentWrapper"), C(
29
+ u,
30
+ "hidden",
31
+ /*isloading*/
32
+ n[4] === "true"
33
+ ), g(i, "class", "ModalContainer"), C(
34
+ i,
35
+ "video-mode",
36
+ /*modaltype*/
37
+ n[3] === "video"
38
+ ), C(
39
+ i,
40
+ "twofa-mode",
41
+ /*modaltype*/
42
+ n[3] === "2fa"
43
+ ), g(t, "id", "Modal"), ie(() => (
44
+ /*div2_elementresize_handler*/
45
+ n[18].call(t)
46
+ ));
47
+ },
48
+ m(s, l) {
49
+ L(s, e, l), w(e, t), w(t, i), d && d.m(i, null), w(i, a), c && c.m(i, null), w(i, r), w(i, u), f && f.m(u, null), n[15](u), n[16](i), n[17](t), p = te(
50
+ t,
51
+ /*div2_elementresize_handler*/
52
+ n[18].bind(t)
53
+ ), n[19](e), h = !0;
54
+ },
55
+ p(s, l) {
56
+ /*modaltype*/
57
+ s[3] !== "error" && /*modaltype*/
58
+ s[3] !== "bonusList" && /*modaltype*/
59
+ s[3] !== "2fa" ? d ? d.p(s, l) : (d = B(s), d.c(), d.m(i, a)) : d && (d.d(1), d = null), /*isloading*/
60
+ s[4] === "true" ? c || (c = F(), c.c(), c.m(i, r)) : c && (c.d(1), c = null), f && f.p && (!h || l & /*$$scope*/
61
+ 8192) && X(
62
+ f,
63
+ b,
64
+ s,
65
+ /*$$scope*/
66
+ s[13],
67
+ h ? ee(
68
+ b,
69
+ /*$$scope*/
70
+ s[13],
71
+ l,
72
+ ce
73
+ ) : $(
74
+ /*$$scope*/
75
+ s[13]
76
+ ),
77
+ W
78
+ ), (!h || l & /*isloading*/
79
+ 16) && C(
80
+ u,
81
+ "hidden",
82
+ /*isloading*/
83
+ s[4] === "true"
84
+ ), (!h || l & /*modaltype*/
85
+ 8) && C(
86
+ i,
87
+ "video-mode",
88
+ /*modaltype*/
89
+ s[3] === "video"
90
+ ), (!h || l & /*modaltype*/
91
+ 8) && C(
92
+ i,
93
+ "twofa-mode",
94
+ /*modaltype*/
95
+ s[3] === "2fa"
96
+ );
97
+ },
98
+ i(s) {
99
+ h || (k(f, s), h = !0);
100
+ },
101
+ o(s) {
102
+ S(f, s), h = !1;
103
+ },
104
+ d(s) {
105
+ s && M(e), d && d.d(), c && c.d(), f && f.d(s), n[15](null), n[16](null), n[17](null), p(), n[19](null);
106
+ }
107
+ };
108
+ }
109
+ function B(n) {
110
+ let e, t, i, a, r;
111
+ return {
112
+ c() {
113
+ e = v("div"), t = j("svg"), i = j("path"), g(i, "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"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "viewBox", "0 0 13 13"), g(t, "fill", "none"), g(t, "class", "CloseButton"), g(e, "class", "ModalCloseIcon");
114
+ },
115
+ m(u, p) {
116
+ L(u, e, p), w(e, t), w(t, i), a || (r = oe(
117
+ t,
118
+ "click",
119
+ /*closeModal*/
120
+ n[9]
121
+ ), a = !0);
122
+ },
123
+ p: ne,
124
+ d(u) {
125
+ u && M(e), a = !1, r();
126
+ }
127
+ };
128
+ }
129
+ function F(n) {
130
+ let e;
131
+ return {
132
+ c() {
133
+ e = v("div"), e.innerHTML = '<div class="ModalLoader"></div>', g(e, "class", "ModalLoadingOverlay");
134
+ },
135
+ m(t, i) {
136
+ L(t, e, i);
137
+ },
138
+ d(t) {
139
+ t && M(e);
140
+ }
141
+ };
142
+ }
143
+ function ue(n) {
144
+ let e, t, i = (
145
+ /*show*/
146
+ n[2] === "true" && E(n)
147
+ );
148
+ return {
149
+ c() {
150
+ i && i.c(), e = A();
151
+ },
152
+ m(a, r) {
153
+ i && i.m(a, r), L(a, e, r), t = !0;
154
+ },
155
+ p(a, [r]) {
156
+ /*show*/
157
+ a[2] === "true" ? i ? (i.p(a, r), r & /*show*/
158
+ 4 && k(i, 1)) : (i = E(a), i.c(), k(i, 1), i.m(e.parentNode, e)) : i && (V(), S(i, 1, 1, () => {
159
+ i = null;
160
+ }), Z());
161
+ },
162
+ i(a) {
163
+ t || (k(i), t = !0);
164
+ },
165
+ o(a) {
166
+ S(i), t = !1;
167
+ },
168
+ d(a) {
169
+ a && M(e), i && i.d(a);
170
+ }
171
+ };
172
+ }
173
+ function fe(n, e, t) {
174
+ let { $$slots: i = {}, $$scope: a } = e, { mbsource: r } = e, { clientstyling: u } = e, { clientstylingurl: p } = e, { show: h } = e, { modaltype: d = "" } = e, { isloading: c = "false" } = e, { width: b } = e, { height: f } = e, s, l, y, m;
175
+ const H = () => {
176
+ s && (s.classList.add("closing"), setTimeout(
177
+ () => {
178
+ window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
179
+ },
180
+ 300
181
+ ));
182
+ }, z = () => {
183
+ if (!m || !y)
184
+ return;
185
+ const o = y.scrollHeight, G = y.scrollWidth;
186
+ t(8, m.style.width = `${G}px`, m), t(8, m.style.height = `${o}px`, m), setTimeout(
187
+ () => {
188
+ t(8, m.style.width = "auto", m), t(8, m.style.height = "auto", m);
189
+ },
190
+ 150
191
+ );
192
+ };
193
+ J(() => {
194
+ if (O().then(() => {
195
+ z();
196
+ }), y) {
197
+ const o = new ResizeObserver(() => {
198
+ z();
199
+ });
200
+ return o.observe(y), () => {
201
+ o.disconnect();
202
+ };
203
+ }
204
+ return () => {
205
+ };
206
+ });
207
+ function Y(o) {
208
+ x[o ? "unshift" : "push"](() => {
209
+ y = o, t(7, y);
210
+ });
211
+ }
212
+ function T(o) {
213
+ x[o ? "unshift" : "push"](() => {
214
+ m = o, t(8, m);
215
+ });
216
+ }
217
+ function q(o) {
218
+ x[o ? "unshift" : "push"](() => {
219
+ s = o, t(6, s);
220
+ });
221
+ }
222
+ function R() {
223
+ b = this.clientWidth, f = this.clientHeight, t(0, b), t(1, f);
224
+ }
225
+ function D(o) {
226
+ x[o ? "unshift" : "push"](() => {
227
+ l = o, t(5, l);
228
+ });
229
+ }
230
+ return n.$$set = (o) => {
231
+ "mbsource" in o && t(10, r = o.mbsource), "clientstyling" in o && t(11, u = o.clientstyling), "clientstylingurl" in o && t(12, p = o.clientstylingurl), "show" in o && t(2, h = o.show), "modaltype" in o && t(3, d = o.modaltype), "isloading" in o && t(4, c = o.isloading), "width" in o && t(0, b = o.width), "height" in o && t(1, f = o.height), "$$scope" in o && t(13, a = o.$$scope);
232
+ }, n.$$.update = () => {
233
+ n.$$.dirty & /*isloading*/
234
+ 16 && c && O().then(() => {
235
+ z();
236
+ }), n.$$.dirty & /*clientstyling, customStylingContainer*/
237
+ 2080 && u && l && se(l, u), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
238
+ 4128 && p && l && ae(l, p), n.$$.dirty & /*mbsource, customStylingContainer*/
239
+ 1056 && r && l && le(l, `${r}.Style`);
240
+ }, [
241
+ b,
242
+ f,
243
+ h,
244
+ d,
245
+ c,
246
+ l,
247
+ s,
248
+ y,
249
+ m,
250
+ H,
251
+ r,
252
+ u,
253
+ p,
254
+ a,
255
+ i,
256
+ Y,
257
+ T,
258
+ q,
259
+ R,
260
+ D
261
+ ];
262
+ }
263
+ class he extends K {
264
+ constructor(e) {
265
+ super(), N(
266
+ this,
267
+ e,
268
+ fe,
269
+ ue,
270
+ P,
271
+ {
272
+ mbsource: 10,
273
+ clientstyling: 11,
274
+ clientstylingurl: 12,
275
+ show: 2,
276
+ modaltype: 3,
277
+ isloading: 4,
278
+ width: 0,
279
+ height: 1
280
+ },
281
+ de
282
+ );
283
+ }
284
+ get mbsource() {
285
+ return this.$$.ctx[10];
286
+ }
287
+ set mbsource(e) {
288
+ this.$$set({ mbsource: e }), _();
289
+ }
290
+ get clientstyling() {
291
+ return this.$$.ctx[11];
292
+ }
293
+ set clientstyling(e) {
294
+ this.$$set({ clientstyling: e }), _();
295
+ }
296
+ get clientstylingurl() {
297
+ return this.$$.ctx[12];
298
+ }
299
+ set clientstylingurl(e) {
300
+ this.$$set({ clientstylingurl: e }), _();
301
+ }
302
+ get show() {
303
+ return this.$$.ctx[2];
304
+ }
305
+ set show(e) {
306
+ this.$$set({ show: e }), _();
307
+ }
308
+ get modaltype() {
309
+ return this.$$.ctx[3];
310
+ }
311
+ set modaltype(e) {
312
+ this.$$set({ modaltype: e }), _();
313
+ }
314
+ get isloading() {
315
+ return this.$$.ctx[4];
316
+ }
317
+ set isloading(e) {
318
+ this.$$set({ isloading: e }), _();
319
+ }
320
+ get width() {
321
+ return this.$$.ctx[0];
322
+ }
323
+ set width(e) {
324
+ this.$$set({ width: e }), _();
325
+ }
326
+ get height() {
327
+ return this.$$.ctx[1];
328
+ }
329
+ set height(e) {
330
+ this.$$set({ height: e }), _();
331
+ }
332
+ }
333
+ re(he, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["content"], [], !0);
334
+ export {
335
+ he as default
336
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-BkoYZVP7.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),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},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 g 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(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-Bmkxhtnm.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),h=document.createElement("style");fetch(n.href).then(m=>m.text()).then(m=>{h.innerHTML=m,setTimeout(()=>{l.appendChild(h)},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 g 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(g,{text:{},button:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=g;
@@ -1,4 +1,4 @@
1
- import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-D77wRYrP.js";
1
+ import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-2AotVxhB.js";
2
2
  function H(n) {
3
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}");
4
4
  }
@@ -1,4 +1,4 @@
1
- import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-8HuPK_WY.js";
1
+ import { S as C, b as v, s as _, f as d, c as k, G as b, e as N, v as p, k as z, l as f, x as E, m as h, w as x, n as S, o as L, y as M, E as T } from "./CashierCarousel-Cm5G9dJd.js";
2
2
  function H(n) {
3
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}");
4
4
  }