@everymatrix/cashier-page 1.50.113 → 1.50.115

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 (106) hide show
  1. package/components/CashierCarousel-B5OOfRI9.js +711 -0
  2. package/components/CashierCarousel-BJL6bP5t.js +711 -0
  3. package/components/CashierCarousel-BZaE-HBO.js +708 -0
  4. package/components/CashierCarousel-C0xqkxA6.cjs +1 -0
  5. package/components/CashierCarousel-DCkHsqt0.js +708 -0
  6. package/components/CashierCarousel-dURK2vXI.cjs +1 -0
  7. package/components/CashierError-Ba9xgy9f.cjs +1 -0
  8. package/components/CashierError-CRXl9ENt.js +857 -0
  9. package/components/CashierError-CTZyVvlO.cjs +1 -0
  10. package/components/CashierError-D744IvSO.js +849 -0
  11. package/components/CashierError-Dku7Y4-t.js +849 -0
  12. package/components/CashierError-aqUIFZue.js +857 -0
  13. package/components/CashierHeader-CGr3mL9r.js +477 -0
  14. package/components/CashierHeader-CSAVj9SF.js +477 -0
  15. package/components/CashierHeader-Cg3sA4RI.cjs +1 -0
  16. package/components/CashierHeader-DWP-EJrr.cjs +1 -0
  17. package/components/CashierHeader-DgHarxmz.js +477 -0
  18. package/components/CashierHeader-DvH0xYvl.js +477 -0
  19. package/components/CashierIframeRedirect-9QGkIRhg.js +387 -0
  20. package/components/CashierIframeRedirect-CCChQQLa.cjs +1 -0
  21. package/components/CashierIframeRedirect-CRLI5l0D.js +387 -0
  22. package/components/CashierIframeRedirect-CWXIKXPO.cjs +1 -0
  23. package/components/CashierIframeRedirect-Cyq3zsQv.js +387 -0
  24. package/components/CashierIframeRedirect-cZSKrgJg.js +387 -0
  25. package/components/CashierMethodDetails-BvhEbEIA.cjs +85 -0
  26. package/components/CashierMethodDetails-C0x4V5_k.js +11368 -0
  27. package/components/CashierMethodDetails-CNlrJKcb.js +11369 -0
  28. package/components/CashierMethodDetails-CPgurNVh.cjs +85 -0
  29. package/components/CashierMethodDetails-CthVzjve.js +11320 -0
  30. package/components/CashierMethodDetails-EaWmYTF7.js +11319 -0
  31. package/components/CashierMethodsList-BYyb45FM.js +969 -0
  32. package/components/CashierMethodsList-BfjMcjes.cjs +1 -0
  33. package/components/CashierMethodsList-DYBttLwI.cjs +1 -0
  34. package/components/CashierMethodsList-DuSmxd0X.js +955 -0
  35. package/components/CashierMethodsList-DuZVFg3d.js +969 -0
  36. package/components/CashierMethodsList-f9Dk403j.js +955 -0
  37. package/components/CashierModal-C2NYst4Q.js +386 -0
  38. package/components/CashierModal-Cv2oQoQP.js +402 -0
  39. package/components/CashierModal-CxndND2G.cjs +1 -0
  40. package/components/CashierModal-DT9US166.js +386 -0
  41. package/components/CashierModal-DrfNY78Y.cjs +1 -0
  42. package/components/CashierModal-pzQgQX_F.js +402 -0
  43. package/components/CashierNotifications-2UyxRNzk.js +129 -0
  44. package/components/CashierNotifications-CjBbYeCS.cjs +1 -0
  45. package/components/CashierNotifications-CxsEXzeC.js +129 -0
  46. package/components/CashierNotifications-Do53a0ao.js +129 -0
  47. package/components/CashierNotifications-OeWGIP8S.cjs +1 -0
  48. package/components/CashierNotifications-ozSoZa69.js +129 -0
  49. package/components/CashierPage-CYTlI9ls.js +10304 -0
  50. package/components/CashierPage-D5mCtgkh.js +10304 -0
  51. package/components/CashierPage-DEE9GGzq.cjs +23 -0
  52. package/components/CashierPage-Dw7sy-xI.cjs +23 -0
  53. package/components/CashierPage-dY-yCGDi.js +10251 -0
  54. package/components/CashierPage-wxrDVzvW.js +10251 -0
  55. package/components/CashierReceiptPage-89vtqXi2.js +2043 -0
  56. package/components/CashierReceiptPage-BF-gJlUa.cjs +29 -0
  57. package/components/CashierReceiptPage-BaTtxFBZ.js +2063 -0
  58. package/components/CashierReceiptPage-BsITJvsB.cjs +29 -0
  59. package/components/CashierReceiptPage-CJxv7XON.js +2043 -0
  60. package/components/CashierReceiptPage-DzDRifSu.js +2063 -0
  61. package/components/CashierSessionExpirationModal-BHtTXsi2.js +1212 -0
  62. package/components/CashierSessionExpirationModal-BytDPHAl.cjs +2 -0
  63. package/components/CashierSessionExpirationModal-CmpIwiJ6.cjs +2 -0
  64. package/components/CashierSessionExpirationModal-DVAhhCRM.js +1212 -0
  65. package/components/CashierSessionExpirationModal-DmPkWaAV.js +1212 -0
  66. package/components/CashierSessionExpirationModal-_6FPrJ0w.js +1212 -0
  67. package/components/CashierSpinner-97TEqMY7.js +79 -0
  68. package/components/CashierSpinner-BF3RXFD4.js +79 -0
  69. package/components/CashierSpinner-D7SqASK-.js +79 -0
  70. package/components/CashierSpinner-DMpNjieW.cjs +1 -0
  71. package/components/CashierSpinner-aillfgLt.cjs +1 -0
  72. package/components/CashierSpinner-lImZUEOo.js +79 -0
  73. package/components/CashierStepUp-C-tNM7lX.cjs +1 -0
  74. package/components/CashierStepUp-CJWqZLNO.js +1161 -0
  75. package/components/CashierStepUp-CR9b4Ri6.cjs +1 -0
  76. package/components/CashierStepUp-DAVSFyah.js +1200 -0
  77. package/components/CashierStepUp-DHiAEDyf.js +1161 -0
  78. package/components/CashierStepUp-DlTqccY1.js +1200 -0
  79. package/components/CashierTransactionHistory-BKCDWjQx.cjs +1 -0
  80. package/components/CashierTransactionHistory-BrJwQ5fC.js +1415 -0
  81. package/components/CashierTransactionHistory-CjlBa-zh.js +1415 -0
  82. package/components/CashierTransactionHistory-Dbk8msNZ.js +1415 -0
  83. package/components/CashierTransactionHistory-UbZ06BL9.cjs +1 -0
  84. package/components/CashierTransactionHistory-nmmdiEgV.js +1415 -0
  85. package/components/CashierVerifications-4_GEdzvw.js +700 -0
  86. package/components/CashierVerifications-BOIITz9f.js +696 -0
  87. package/components/CashierVerifications-BQFvxaoK.cjs +1 -0
  88. package/components/CashierVerifications-CWGrnMfW.cjs +1 -0
  89. package/components/CashierVerifications-Cv_4jJ-z.js +700 -0
  90. package/components/CashierVerifications-lEO6ROir.js +696 -0
  91. package/components/TxnStatusIcon-BHQcRr0R.js +142 -0
  92. package/components/TxnStatusIcon-Cl6YlZns.js +142 -0
  93. package/components/TxnStatusIcon-D4IMjaH1.cjs +1 -0
  94. package/components/TxnStatusIcon-DMhFgRjw.js +142 -0
  95. package/components/TxnStatusIcon-DNZqU6dV.js +142 -0
  96. package/components/TxnStatusIcon-DlSKJ63c.cjs +1 -0
  97. package/components/TxnTypeIcons-BSp749wU.cjs +1 -0
  98. package/components/TxnTypeIcons-ChaIFeJO.js +101 -0
  99. package/components/TxnTypeIcons-Dy42Tn7n.js +101 -0
  100. package/components/TxnTypeIcons-Z4Fhdqqm.cjs +1 -0
  101. package/components/TxnTypeIcons-hnkEJQ8p.js +101 -0
  102. package/components/TxnTypeIcons-yY9ppEMo.js +101 -0
  103. package/es2015/cashier-page.cjs +1 -1
  104. package/es2015/cashier-page.js +1 -1
  105. package/esnext/cashier-page.js +1 -1
  106. package/package.json +1 -1
@@ -0,0 +1,402 @@
1
+ var B = (i, e, t) => new Promise((n, a) => {
2
+ var f = (p) => {
3
+ try {
4
+ g(t.next(p));
5
+ } catch (x) {
6
+ a(x);
7
+ }
8
+ }, h = (p) => {
9
+ try {
10
+ g(t.throw(p));
11
+ } catch (x) {
12
+ a(x);
13
+ }
14
+ }, g = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(f, h);
15
+ g((t = t.apply(i, e)).next());
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-CYTlI9ls.js";
18
+ import { s as me, a as ge, b as pe } from "./CashierHeader-DgHarxmz.js";
19
+ function we(i) {
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
+ }
22
+ const ye = (i) => ({}), U = (i) => ({}), _e = (i) => ({}), A = (i) => ({});
23
+ function G(i) {
24
+ let e, t, n, a, f, h, g, p, x, b, k, u, d = (
25
+ /*modaltype*/
26
+ (i[3] == "error" || /*modaltype*/
27
+ i[3] == "bonusDescription") && P()
28
+ );
29
+ const w = (
30
+ /*#slots*/
31
+ i[14].title
32
+ ), y = F(
33
+ w,
34
+ i,
35
+ /*$$scope*/
36
+ i[13],
37
+ A
38
+ );
39
+ let r = (
40
+ /*modaltype*/
41
+ i[3] != "2fa-old" && Q(i)
42
+ ), l = (
43
+ /*isloading*/
44
+ i[4] === "true" && Z()
45
+ );
46
+ const L = (
47
+ /*#slots*/
48
+ i[14].content
49
+ ), c = F(
50
+ L,
51
+ i,
52
+ /*$$scope*/
53
+ i[13],
54
+ U
55
+ );
56
+ return {
57
+ c() {
58
+ e = C("div"), t = C("div"), n = C("div"), a = C("div"), d && d.c(), f = I(), h = C("div"), y && y.c(), g = I(), r && r.c(), p = I(), l && l.c(), x = I(), b = C("div"), c && c.c(), m(h, "class", "TitleText"), m(a, "class", "ModalTitle"), m(n, "class", "ModalHeader"), m(b, "class", "ModalContentWrapper"), T(
59
+ b,
60
+ "hidden",
61
+ /*isloading*/
62
+ i[4] === "true"
63
+ ), m(t, "class", "ModalContainer"), T(
64
+ t,
65
+ "video-mode",
66
+ /*modaltype*/
67
+ i[3] === "video"
68
+ ), T(
69
+ t,
70
+ "twofa-mode",
71
+ /*modaltype*/
72
+ i[3] === "2fa"
73
+ ), m(e, "id", "Modal"), ce(() => (
74
+ /*div5_elementresize_handler*/
75
+ i[18].call(e)
76
+ ));
77
+ },
78
+ m(s, _) {
79
+ H(s, e, _), v(e, t), v(t, n), v(n, a), d && d.m(a, null), v(a, f), v(a, h), y && y.m(h, null), v(n, g), r && r.m(n, null), v(t, p), l && l.m(t, null), v(t, x), v(t, b), c && c.m(b, null), i[15](b), i[16](t), i[17](e), k = de(
80
+ e,
81
+ /*div5_elementresize_handler*/
82
+ i[18].bind(e)
83
+ ), u = !0;
84
+ },
85
+ p(s, _) {
86
+ /*modaltype*/
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(
90
+ y,
91
+ w,
92
+ s,
93
+ /*$$scope*/
94
+ s[13],
95
+ u ? D(
96
+ w,
97
+ /*$$scope*/
98
+ s[13],
99
+ _,
100
+ _e
101
+ ) : q(
102
+ /*$$scope*/
103
+ s[13]
104
+ ),
105
+ A
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(
110
+ c,
111
+ L,
112
+ s,
113
+ /*$$scope*/
114
+ s[13],
115
+ u ? D(
116
+ L,
117
+ /*$$scope*/
118
+ s[13],
119
+ _,
120
+ ye
121
+ ) : q(
122
+ /*$$scope*/
123
+ s[13]
124
+ ),
125
+ U
126
+ ), (!u || _ & /*isloading*/
127
+ 16) && T(
128
+ b,
129
+ "hidden",
130
+ /*isloading*/
131
+ s[4] === "true"
132
+ ), (!u || _ & /*modaltype*/
133
+ 8) && T(
134
+ t,
135
+ "video-mode",
136
+ /*modaltype*/
137
+ s[3] === "video"
138
+ ), (!u || _ & /*modaltype*/
139
+ 8) && T(
140
+ t,
141
+ "twofa-mode",
142
+ /*modaltype*/
143
+ s[3] === "2fa"
144
+ );
145
+ },
146
+ i(s) {
147
+ u || (z(y, s), z(c, s), u = !0);
148
+ },
149
+ o(s) {
150
+ O(y, s), O(c, s), u = !1;
151
+ },
152
+ d(s) {
153
+ s && S(e), d && d.d(), y && y.d(s), r && r.d(), l && l.d(), c && c.d(s), i[15](null), i[16](null), i[17](null), k();
154
+ }
155
+ };
156
+ }
157
+ function P(i) {
158
+ let e;
159
+ return {
160
+ c() {
161
+ e = C("div"), e.innerHTML = '<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>', m(e, "class", "WarningIcon");
162
+ },
163
+ m(t, n) {
164
+ H(t, e, n);
165
+ },
166
+ d(t) {
167
+ t && S(e);
168
+ }
169
+ };
170
+ }
171
+ function Q(i) {
172
+ let e, t, n, a, f;
173
+ return {
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");
176
+ },
177
+ m(h, g) {
178
+ H(h, e, g), v(e, t), v(t, n), a || (f = ue(
179
+ t,
180
+ "click",
181
+ /*closeModal*/
182
+ i[9]
183
+ ), a = !0);
184
+ },
185
+ p: fe,
186
+ d(h) {
187
+ h && S(e), a = !1, f();
188
+ }
189
+ };
190
+ }
191
+ function Z(i) {
192
+ let e;
193
+ return {
194
+ c() {
195
+ e = C("div"), e.innerHTML = '<div class="ModalLoader"></div>', m(e, "class", "ModalLoadingOverlay");
196
+ },
197
+ m(t, n) {
198
+ H(t, e, n);
199
+ },
200
+ d(t) {
201
+ t && S(e);
202
+ }
203
+ };
204
+ }
205
+ function be(i) {
206
+ let e, t, n = (
207
+ /*show*/
208
+ i[2] === "true" && G(i)
209
+ );
210
+ return {
211
+ c() {
212
+ e = C("div"), n && n.c();
213
+ },
214
+ m(a, f) {
215
+ H(a, e, f), n && n.m(e, null), i[19](e), t = !0;
216
+ },
217
+ p(a, [f]) {
218
+ /*show*/
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, () => {
221
+ n = null;
222
+ }), ae());
223
+ },
224
+ i(a) {
225
+ t || (z(n), t = !0);
226
+ },
227
+ o(a) {
228
+ O(n), t = !1;
229
+ },
230
+ d(a) {
231
+ a && S(e), n && n.d(), i[19](null);
232
+ }
233
+ };
234
+ }
235
+ function ve(i, e, t) {
236
+ let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: h } = e, { clientstylingurl: g } = e, { show: p } = e, { modaltype: x = "" } = e, { isloading: b = "false" } = e, { width: k } = e, { height: u } = e, d, w, y, r, l, L = !1, c, s;
237
+ const _ = () => {
238
+ c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
239
+ () => {
240
+ window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
241
+ },
242
+ 200
243
+ ));
244
+ }, E = () => B(this, null, function* () {
245
+ if (!l || !r || L)
246
+ return;
247
+ s && clearTimeout(c), L = !0;
248
+ const o = l.offsetWidth, $ = l.offsetHeight;
249
+ t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${$}px`, l), l.offsetHeight, yield j();
250
+ const ee = r.scrollHeight, te = r.scrollWidth;
251
+ t(8, l.style.width = `${te}px`, l), t(8, l.style.height = `${ee}px`, l), s = setTimeout(
252
+ () => {
253
+ l && (t(8, l.style.width = "auto", l), t(8, l.style.height = "auto", l)), L = !1;
254
+ },
255
+ 300
256
+ );
257
+ });
258
+ re(() => {
259
+ if (j().then(() => {
260
+ E();
261
+ }), r) {
262
+ const o = new ResizeObserver(() => {
263
+ E();
264
+ });
265
+ return o.observe(r), () => {
266
+ o.disconnect();
267
+ };
268
+ }
269
+ return () => {
270
+ c && clearTimeout(c), s && clearTimeout(c);
271
+ };
272
+ });
273
+ function J(o) {
274
+ W[o ? "unshift" : "push"](() => {
275
+ r = o, t(7, r);
276
+ });
277
+ }
278
+ function K(o) {
279
+ W[o ? "unshift" : "push"](() => {
280
+ l = o, t(8, l);
281
+ });
282
+ }
283
+ function N(o) {
284
+ W[o ? "unshift" : "push"](() => {
285
+ d = o, t(6, d);
286
+ });
287
+ }
288
+ function V() {
289
+ k = this.clientWidth, u = this.clientHeight, t(0, k), t(1, u);
290
+ }
291
+ function X(o) {
292
+ W[o ? "unshift" : "push"](() => {
293
+ w = o, t(5, w);
294
+ });
295
+ }
296
+ return i.$$set = (o) => {
297
+ "mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, h = o.clientstyling), "clientstylingurl" in o && t(12, g = o.clientstylingurl), "show" in o && t(2, p = o.show), "modaltype" in o && t(3, x = o.modaltype), "isloading" in o && t(4, b = o.isloading), "width" in o && t(0, k = o.width), "height" in o && t(1, u = o.height), "$$scope" in o && t(13, a = o.$$scope);
298
+ }, i.$$.update = () => {
299
+ i.$$.dirty & /*isloading*/
300
+ 16 && b && j().then(() => {
301
+ E();
302
+ }), i.$$.dirty & /*clientstyling, customStylingContainer*/
303
+ 2080 && h && w && me(w, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
304
+ 4128 && g && w && ge(w, g), i.$$.dirty & /*mbsource, customStylingContainer*/
305
+ 1056 && f && w && pe(w, `${f}.Style`, y);
306
+ }, [
307
+ k,
308
+ u,
309
+ p,
310
+ x,
311
+ b,
312
+ w,
313
+ d,
314
+ r,
315
+ l,
316
+ _,
317
+ f,
318
+ h,
319
+ g,
320
+ a,
321
+ n,
322
+ J,
323
+ K,
324
+ N,
325
+ V,
326
+ X
327
+ ];
328
+ }
329
+ class xe extends ie {
330
+ constructor(e) {
331
+ super(), ne(
332
+ this,
333
+ e,
334
+ ve,
335
+ be,
336
+ oe,
337
+ {
338
+ mbsource: 10,
339
+ clientstyling: 11,
340
+ clientstylingurl: 12,
341
+ show: 2,
342
+ modaltype: 3,
343
+ isloading: 4,
344
+ width: 0,
345
+ height: 1
346
+ },
347
+ we
348
+ );
349
+ }
350
+ get mbsource() {
351
+ return this.$$.ctx[10];
352
+ }
353
+ set mbsource(e) {
354
+ this.$$set({ mbsource: e }), M();
355
+ }
356
+ get clientstyling() {
357
+ return this.$$.ctx[11];
358
+ }
359
+ set clientstyling(e) {
360
+ this.$$set({ clientstyling: e }), M();
361
+ }
362
+ get clientstylingurl() {
363
+ return this.$$.ctx[12];
364
+ }
365
+ set clientstylingurl(e) {
366
+ this.$$set({ clientstylingurl: e }), M();
367
+ }
368
+ get show() {
369
+ return this.$$.ctx[2];
370
+ }
371
+ set show(e) {
372
+ this.$$set({ show: e }), M();
373
+ }
374
+ get modaltype() {
375
+ return this.$$.ctx[3];
376
+ }
377
+ set modaltype(e) {
378
+ this.$$set({ modaltype: e }), M();
379
+ }
380
+ get isloading() {
381
+ return this.$$.ctx[4];
382
+ }
383
+ set isloading(e) {
384
+ this.$$set({ isloading: e }), M();
385
+ }
386
+ get width() {
387
+ return this.$$.ctx[0];
388
+ }
389
+ set width(e) {
390
+ this.$$set({ width: e }), M();
391
+ }
392
+ get height() {
393
+ return this.$$.ctx[1];
394
+ }
395
+ set height(e) {
396
+ this.$$set({ height: e }), M();
397
+ }
398
+ }
399
+ he(xe, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
400
+ export {
401
+ xe as default
402
+ };
@@ -0,0 +1,129 @@
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-wxrDVzvW.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}");
4
+ }
5
+ function R(n) {
6
+ let t, s, r, u, l, a, i, m;
7
+ return {
8
+ c() {
9
+ t = h("div"), s = h("span"), r = x(
10
+ /*text*/
11
+ n[0]
12
+ ), u = E(), l = h("button"), a = x(
13
+ /*button*/
14
+ n[1]
15
+ ), L(t, "class", "CashierNotifications");
16
+ },
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(
19
+ l,
20
+ "click",
21
+ /*notificationClick*/
22
+ n[3]
23
+ ), i = !0);
24
+ },
25
+ p(o, [c]) {
26
+ c & /*text*/
27
+ 1 && p(
28
+ r,
29
+ /*text*/
30
+ o[0]
31
+ ), c & /*button*/
32
+ 2 && p(
33
+ a,
34
+ /*button*/
35
+ o[1]
36
+ );
37
+ },
38
+ i: b,
39
+ o: b,
40
+ d(o) {
41
+ o && k(t), n[6](null), i = !1, m();
42
+ }
43
+ };
44
+ }
45
+ function U(n, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
+ const m = () => {
48
+ window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
+ }, o = () => {
50
+ let e = document.createElement("style");
51
+ e.innerHTML = l, i.appendChild(e);
52
+ }, c = () => {
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(
56
+ () => {
57
+ i.appendChild(y);
58
+ },
59
+ 1
60
+ );
61
+ });
62
+ };
63
+ function w(e) {
64
+ M[e ? "unshift" : "push"](() => {
65
+ i = e, s(2, i);
66
+ });
67
+ }
68
+ return n.$$set = (e) => {
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();
74
+ }, [
75
+ r,
76
+ u,
77
+ i,
78
+ m,
79
+ l,
80
+ a,
81
+ w
82
+ ];
83
+ }
84
+ class q extends C {
85
+ constructor(t) {
86
+ super(), v(
87
+ this,
88
+ t,
89
+ U,
90
+ R,
91
+ _,
92
+ {
93
+ text: 0,
94
+ button: 1,
95
+ clientstyling: 4,
96
+ clientstylingurl: 5
97
+ },
98
+ H
99
+ );
100
+ }
101
+ get text() {
102
+ return this.$$.ctx[0];
103
+ }
104
+ set text(t) {
105
+ this.$$set({ text: t }), d();
106
+ }
107
+ get button() {
108
+ return this.$$.ctx[1];
109
+ }
110
+ set button(t) {
111
+ this.$$set({ button: t }), d();
112
+ }
113
+ get clientstyling() {
114
+ return this.$$.ctx[4];
115
+ }
116
+ set clientstyling(t) {
117
+ this.$$set({ clientstyling: t }), d();
118
+ }
119
+ get clientstylingurl() {
120
+ return this.$$.ctx[5];
121
+ }
122
+ set clientstylingurl(t) {
123
+ this.$$set({ clientstylingurl: t }), d();
124
+ }
125
+ }
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
+ export {
128
+ q as default
129
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierPage-DEE9GGzq.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;
@@ -0,0 +1,129 @@
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-dY-yCGDi.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}");
4
+ }
5
+ function R(n) {
6
+ let t, s, r, u, l, a, i, m;
7
+ return {
8
+ c() {
9
+ t = h("div"), s = h("span"), r = x(
10
+ /*text*/
11
+ n[0]
12
+ ), u = E(), l = h("button"), a = x(
13
+ /*button*/
14
+ n[1]
15
+ ), L(t, "class", "CashierNotifications");
16
+ },
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(
19
+ l,
20
+ "click",
21
+ /*notificationClick*/
22
+ n[3]
23
+ ), i = !0);
24
+ },
25
+ p(o, [c]) {
26
+ c & /*text*/
27
+ 1 && p(
28
+ r,
29
+ /*text*/
30
+ o[0]
31
+ ), c & /*button*/
32
+ 2 && p(
33
+ a,
34
+ /*button*/
35
+ o[1]
36
+ );
37
+ },
38
+ i: b,
39
+ o: b,
40
+ d(o) {
41
+ o && k(t), n[6](null), i = !1, m();
42
+ }
43
+ };
44
+ }
45
+ function U(n, t, s) {
46
+ let { text: r } = t, { button: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, i;
47
+ const m = () => {
48
+ window.postMessage({ type: "NotificationButtonClick" }, window.location.href);
49
+ }, o = () => {
50
+ let e = document.createElement("style");
51
+ e.innerHTML = l, i.appendChild(e);
52
+ }, c = () => {
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(
56
+ () => {
57
+ i.appendChild(y);
58
+ },
59
+ 1
60
+ );
61
+ });
62
+ };
63
+ function w(e) {
64
+ M[e ? "unshift" : "push"](() => {
65
+ i = e, s(2, i);
66
+ });
67
+ }
68
+ return n.$$set = (e) => {
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();
74
+ }, [
75
+ r,
76
+ u,
77
+ i,
78
+ m,
79
+ l,
80
+ a,
81
+ w
82
+ ];
83
+ }
84
+ class q extends C {
85
+ constructor(t) {
86
+ super(), v(
87
+ this,
88
+ t,
89
+ U,
90
+ R,
91
+ _,
92
+ {
93
+ text: 0,
94
+ button: 1,
95
+ clientstyling: 4,
96
+ clientstylingurl: 5
97
+ },
98
+ H
99
+ );
100
+ }
101
+ get text() {
102
+ return this.$$.ctx[0];
103
+ }
104
+ set text(t) {
105
+ this.$$set({ text: t }), d();
106
+ }
107
+ get button() {
108
+ return this.$$.ctx[1];
109
+ }
110
+ set button(t) {
111
+ this.$$set({ button: t }), d();
112
+ }
113
+ get clientstyling() {
114
+ return this.$$.ctx[4];
115
+ }
116
+ set clientstyling(t) {
117
+ this.$$set({ clientstyling: t }), d();
118
+ }
119
+ get clientstylingurl() {
120
+ return this.$$.ctx[5];
121
+ }
122
+ set clientstylingurl(t) {
123
+ this.$$set({ clientstylingurl: t }), d();
124
+ }
125
+ }
126
+ T(q, { text: {}, button: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
127
+ export {
128
+ q as default
129
+ };