@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-D5mCtgkh.js";
18
+ import { s as me, a as ge, b as pe } from "./CashierHeader-CGr3mL9r.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 @@
1
+ "use strict";var L=(n,t,i)=>new Promise((o,r)=>{var u=p=>{try{g(i.next(p))}catch(v){r(v)}},m=p=>{try{g(i.throw(p))}catch(v){r(v)}},g=p=>p.done?o(p.value):Promise.resolve(p.value).then(u,m);g((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-DEE9GGzq.cjs"),M=require("./CashierHeader-DWP-EJrr.cjs");function R(n){e.append_styles(n,"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}}')}const U=n=>({}),T=n=>({}),Z=n=>({}),S=n=>({});function z(n){let t,i,o,r,u,m,g,p,v,b,C,h,c=(n[3]=="error"||n[3]=="bonusDescription")&&H();const _=n[14].title,w=e.create_slot(_,n,n[13],S);let d=n[3]!="2fa-old"&&I(n),s=n[4]==="true"&&W();const x=n[14].content,f=e.create_slot(x,n,n[13],T);return{c(){t=e.element("div"),i=e.element("div"),o=e.element("div"),r=e.element("div"),c&&c.c(),u=e.space(),m=e.element("div"),w&&w.c(),g=e.space(),d&&d.c(),p=e.space(),s&&s.c(),v=e.space(),b=e.element("div"),f&&f.c(),e.attr(m,"class","TitleText"),e.attr(r,"class","ModalTitle"),e.attr(o,"class","ModalHeader"),e.attr(b,"class","ModalContentWrapper"),e.toggle_class(b,"hidden",n[4]==="true"),e.attr(i,"class","ModalContainer"),e.toggle_class(i,"video-mode",n[3]==="video"),e.toggle_class(i,"twofa-mode",n[3]==="2fa"),e.attr(t,"id","Modal"),e.add_render_callback(()=>n[18].call(t))},m(a,y){e.insert(a,t,y),e.append(t,i),e.append(i,o),e.append(o,r),c&&c.m(r,null),e.append(r,u),e.append(r,m),w&&w.m(m,null),e.append(o,g),d&&d.m(o,null),e.append(i,p),s&&s.m(i,null),e.append(i,v),e.append(i,b),f&&f.m(b,null),n[15](b),n[16](i),n[17](t),C=e.add_iframe_resize_listener(t,n[18].bind(t)),h=!0},p(a,y){a[3]=="error"||a[3]=="bonusDescription"?c||(c=H(),c.c(),c.m(r,u)):c&&(c.d(1),c=null),w&&w.p&&(!h||y&8192)&&e.update_slot_base(w,_,a,a[13],h?e.get_slot_changes(_,a[13],y,Z):e.get_all_dirty_from_scope(a[13]),S),a[3]!="2fa-old"?d?d.p(a,y):(d=I(a),d.c(),d.m(o,null)):d&&(d.d(1),d=null),a[4]==="true"?s||(s=W(),s.c(),s.m(i,v)):s&&(s.d(1),s=null),f&&f.p&&(!h||y&8192)&&e.update_slot_base(f,x,a,a[13],h?e.get_slot_changes(x,a[13],y,U):e.get_all_dirty_from_scope(a[13]),T),(!h||y&16)&&e.toggle_class(b,"hidden",a[4]==="true"),(!h||y&8)&&e.toggle_class(i,"video-mode",a[3]==="video"),(!h||y&8)&&e.toggle_class(i,"twofa-mode",a[3]==="2fa")},i(a){h||(e.transition_in(w,a),e.transition_in(f,a),h=!0)},o(a){e.transition_out(w,a),e.transition_out(f,a),h=!1},d(a){a&&e.detach(t),c&&c.d(),w&&w.d(a),d&&d.d(),s&&s.d(),f&&f.d(a),n[15](null),n[16](null),n[17](null),C()}}}function H(n){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","WarningIcon")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function I(n){let t,i,o,r,u;return{c(){t=e.element("div"),i=e.svg_element("svg"),o=e.svg_element("path"),e.attr(o,"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"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"viewBox","0 0 13 13"),e.attr(i,"fill","none"),e.attr(i,"class","CloseButton"),e.attr(t,"class","ModalCloseIcon")},m(m,g){e.insert(m,t,g),e.append(t,i),e.append(i,o),r||(u=e.listen(i,"click",n[9]),r=!0)},p:e.noop,d(m){m&&e.detach(t),r=!1,u()}}}function W(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,o){e.insert(i,t,o)},d(i){i&&e.detach(t)}}}function A(n){let t,i,o=n[2]==="true"&&z(n);return{c(){t=e.element("div"),o&&o.c()},m(r,u){e.insert(r,t,u),o&&o.m(t,null),n[19](t),i=!0},p(r,[u]){r[2]==="true"?o?(o.p(r,u),u&4&&e.transition_in(o,1)):(o=z(r),o.c(),e.transition_in(o,1),o.m(t,null)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(r){i||(e.transition_in(o),i=!0)},o(r){e.transition_out(o),i=!1},d(r){r&&e.detach(t),o&&o.d(),n[19](null)}}}function G(n,t,i){let{$$slots:o={},$$scope:r}=t,{mbsource:u}=t,{clientstyling:m}=t,{clientstylingurl:g}=t,{show:p}=t,{modaltype:v=""}=t,{isloading:b="false"}=t,{width:C}=t,{height:h}=t,c,_,w,d,s,x=!1,f,a;const y=()=>{f&&clearTimeout(f),c&&(c.classList.add("closing"),window.dispatchEvent(new CustomEvent("manualClosePopup")),f=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},k=()=>L(this,null,function*(){if(!s||!d||x)return;a&&clearTimeout(f),x=!0;const l=s.offsetWidth,q=s.offsetHeight;i(8,s.style.width=`${l}px`,s),i(8,s.style.height=`${q}px`,s),s.offsetHeight,yield e.tick();const P=d.scrollHeight,D=d.scrollWidth;i(8,s.style.width=`${D}px`,s),i(8,s.style.height=`${P}px`,s),a=setTimeout(()=>{s&&(i(8,s.style.width="auto",s),i(8,s.style.height="auto",s)),x=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{k()}),d){const l=new ResizeObserver(()=>{k()});return l.observe(d),()=>{l.disconnect()}}return()=>{f&&clearTimeout(f),a&&clearTimeout(f)}});function E(l){e.binding_callbacks[l?"unshift":"push"](()=>{d=l,i(7,d)})}function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{s=l,i(8,s)})}function B(l){e.binding_callbacks[l?"unshift":"push"](()=>{c=l,i(6,c)})}function F(){C=this.clientWidth,h=this.clientHeight,i(0,C),i(1,h)}function Y(l){e.binding_callbacks[l?"unshift":"push"](()=>{_=l,i(5,_)})}return n.$$set=l=>{"mbsource"in l&&i(10,u=l.mbsource),"clientstyling"in l&&i(11,m=l.clientstyling),"clientstylingurl"in l&&i(12,g=l.clientstylingurl),"show"in l&&i(2,p=l.show),"modaltype"in l&&i(3,v=l.modaltype),"isloading"in l&&i(4,b=l.isloading),"width"in l&&i(0,C=l.width),"height"in l&&i(1,h=l.height),"$$scope"in l&&i(13,r=l.$$scope)},n.$$.update=()=>{n.$$.dirty&16&&b&&e.tick().then(()=>{k()}),n.$$.dirty&2080&&m&&_&&M.setClientStyling(_,m),n.$$.dirty&4128&&g&&_&&M.setClientStylingURL(_,g),n.$$.dirty&1056&&u&&_&&M.setStreamStyling(_,`${u}.Style`,w)},[C,h,p,v,b,_,c,d,s,y,u,m,g,r,o,E,j,B,F,Y]}class O extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,G,A,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},R)}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get show(){return this.$$.ctx[2]}set show(t){this.$$set({show:t}),e.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(t){this.$$set({modaltype:t}),e.flush()}get isloading(){return this.$$.ctx[4]}set isloading(t){this.$$set({isloading:t}),e.flush()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),e.flush()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),e.flush()}}e.create_custom_element(O,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=O;