@everymatrix/cashier-page 1.69.104 → 1.69.123

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 (92) hide show
  1. package/components/CashierCarousel-Bmkxhtnm.cjs +23 -0
  2. package/components/{CashierCarousel-6PpXL5Qp.js → CashierCarousel-D_wSKCMs.js} +752 -716
  3. package/components/{CashierCarousel-CukH4aEC.js → CashierCarousel-U2ysEkZo.js} +668 -632
  4. package/components/{CashierError-BbxnJqdU.cjs → CashierError-Cwm9eY8c.cjs} +1 -1
  5. package/components/{CashierError-CfHBjTAV.js → CashierError-D2jZsClG.js} +2 -2
  6. package/components/{CashierError-DUp1jL7u.js → CashierError-ZLpQCZ7N.js} +2 -2
  7. package/components/{CashierHeader-DppgdJvh.js → CashierHeader-BCCA_87T.js} +1 -1
  8. package/components/{CashierHeader-BAQT942H.cjs → CashierHeader-D40gryOj.cjs} +1 -1
  9. package/components/{CashierHeader-mNIfX_8X.js → CashierHeader-DyFARvnF.js} +1 -1
  10. package/components/{CashierIframeRedirect-D16g3FOL.cjs → CashierIframeRedirect-BKExS9o2.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-CUNGOWqF.js → CashierIframeRedirect-BMGvaxHv.js} +3 -3
  12. package/components/{CashierIframeRedirect-OFn0nnKy.js → CashierIframeRedirect-Hz0t-XHA.js} +3 -3
  13. package/components/CashierMethodDetails-D0wpum5b.js +9564 -0
  14. package/components/CashierMethodDetails-FeiyXoHw.js +9523 -0
  15. package/components/CashierMethodDetails-ziUU0Tui.cjs +85 -0
  16. package/components/CashierMethodsList-CI_1-_NW.js +737 -0
  17. package/components/CashierMethodsList-PbOH7p79.cjs +1 -0
  18. package/components/CashierMethodsList-WQndorD0.js +725 -0
  19. package/components/CashierModal-Bm1ZHiKF.js +337 -0
  20. package/components/CashierModal-CZXS870r.cjs +1 -0
  21. package/components/CashierModal-DA9pYzjv.js +353 -0
  22. package/components/{CashierNotifications-TCeibGW7.cjs → CashierNotifications-AE1W98Am.cjs} +1 -1
  23. package/components/{CashierNotifications-B4mMHPzM.js → CashierNotifications-BKEjPFOe.js} +1 -1
  24. package/components/{CashierNotifications-C9N_cyjp.js → CashierNotifications-BhTVfc_q.js} +1 -1
  25. package/components/CashierPage-B2478cGI.cjs +1 -0
  26. package/components/CashierPage-Bu-Q7zGW.js +3202 -0
  27. package/components/CashierPage-DRqoyxvy.js +3202 -0
  28. package/components/{CashierReceiptPage-D3bSdrMR.js → CashierReceiptPage-BCdXtAQy.js} +687 -645
  29. package/components/CashierReceiptPage-BTnWWxrf.cjs +26 -0
  30. package/components/{CashierReceiptPage-nV_QGl-h.js → CashierReceiptPage-mprh7bxR.js} +722 -680
  31. package/components/{CashierSessionExpirationModal-Dex-iDiX.cjs → CashierSessionExpirationModal-CO21pLuC.cjs} +2 -2
  32. package/components/{CashierSessionExpirationModal-XOwOZhfl.js → CashierSessionExpirationModal-Cf9kV9t-.js} +62 -62
  33. package/components/{CashierSessionExpirationModal-DPlehL-t.js → CashierSessionExpirationModal-DmelwHmk.js} +89 -89
  34. package/components/{CashierSpinner-BQgydcZ_.js → CashierSpinner-BafoqXXx.js} +1 -1
  35. package/components/{CashierSpinner-CzYDxJhX.js → CashierSpinner-BoT5LgPd.js} +1 -1
  36. package/components/{CashierSpinner-DxJ8w6Oz.cjs → CashierSpinner-d2hvjlSo.cjs} +1 -1
  37. package/components/CashierStepUp-DAwEA9m8.js +1118 -0
  38. package/components/CashierStepUp-DHD1RjqN.js +1079 -0
  39. package/components/CashierStepUp-DPLCXGpo.cjs +1 -0
  40. package/components/{CashierTransactionHistory-BWy9gkLT.js → CashierTransactionHistory-BKgkxlMX.js} +6 -6
  41. package/components/{CashierTransactionHistory-BE1joO9K.js → CashierTransactionHistory-C8ds2Zwi.js} +6 -6
  42. package/components/{CashierTransactionHistory-TKDNzqMX.cjs → CashierTransactionHistory-CBn28kTC.cjs} +1 -1
  43. package/components/{CashierVerifications-Cz6thwea.js → CashierVerifications-B5x1jg3q.js} +9 -9
  44. package/components/{CashierVerifications-BC3_kyP4.cjs → CashierVerifications-Hi5EfxuQ.cjs} +1 -1
  45. package/components/{CashierVerifications-AUHQ5YBD.js → CashierVerifications-fksQOX8S.js} +9 -9
  46. package/components/{TxnStatusIcon-BhLc40xR.cjs → TxnStatusIcon-Bs5XHdDd.cjs} +1 -1
  47. package/components/{TxnStatusIcon-C9Qf16Sv.js → TxnStatusIcon-Ck-w1f1a.js} +1 -1
  48. package/components/{TxnStatusIcon-CllgBQ_-.js → TxnStatusIcon-ZhJG6FAv.js} +1 -1
  49. package/components/{TxnTypeIcons-D5s1NIcq.js → TxnTypeIcons-BJMvuKXL.js} +1 -1
  50. package/components/{TxnTypeIcons-DTmlDMr_.cjs → TxnTypeIcons-CPhGhukx.cjs} +1 -1
  51. package/components/{TxnTypeIcons-lLjMKCFg.js → TxnTypeIcons-OgWLkxli.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/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-B6BYeRne.js} +1 -1
  57. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-BOr4KAqq.js} +1 -1
  58. package/stencil/{index-97d17652-BhLhk_xz.cjs → index-97d17652-zTl06Vn9.cjs} +1 -1
  59. package/stencil/{index-b2193545-B8kMF2bI.cjs → index-b2193545-B5Q7rnAU.cjs} +1 -1
  60. package/stencil/{index-b2193545-BoSqyMpB.js → index-b2193545-CF_fVoFe.js} +1 -1
  61. package/stencil/{index-b2193545-D4dOaNlR.js → index-b2193545-DfttkCgg.js} +1 -1
  62. package/stencil/{ui-image-DIEeZy5u.js → ui-image-BsYHwNhO.js} +1 -1
  63. package/stencil/{ui-image-BWJXFWH1.js → ui-image-CNaRr0ax.js} +1 -1
  64. package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-IJc7Zz_R.cjs} +1 -1
  65. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  66. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  67. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  68. package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-image_2-CmVho0dS.js} +14 -12
  69. package/stencil/ui-image_2-CyqE6j_W.cjs +55 -0
  70. package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-image_2-Daq38JGa.js} +14 -12
  71. package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-B9YTz-WD.js} +2 -2
  72. package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-CQ-FgYMx.js} +2 -2
  73. package/stencil/{ui-skeleton-_yJvAdAL.cjs → ui-skeleton-UxIIZ8UD.cjs} +1 -1
  74. package/stencil/ui-skeleton-ed169f8f-BEwquWmd.cjs +55 -0
  75. package/stencil/{ui-image_2-Bm97-wkj.js → ui-skeleton-ed169f8f-BMrkXoR5.js} +12 -14
  76. package/stencil/{ui-image_2-qO3reSlr.js → ui-skeleton-ed169f8f-BNn31z1X.js} +12 -14
  77. package/components/CashierCarousel-Cd1TzgE8.cjs +0 -23
  78. package/components/CashierMethodDetails-BYNgkyXG.js +0 -9006
  79. package/components/CashierMethodDetails-D6dPCYFG.cjs +0 -85
  80. package/components/CashierMethodDetails-DfoHgNtY.js +0 -9027
  81. package/components/CashierMethodsList-CuMP4TC9.cjs +0 -1
  82. package/components/CashierMethodsList-Di9Oe4JI.js +0 -691
  83. package/components/CashierMethodsList-mN4PR-DW.js +0 -703
  84. package/components/CashierModal-C19ykcBp.js +0 -237
  85. package/components/CashierModal-fzrJshmv.cjs +0 -1
  86. package/components/CashierModal-tHIgxmTG.js +0 -237
  87. package/components/CashierPage-Bz-x5NYC.js +0 -2832
  88. package/components/CashierPage-CKSxChJM.cjs +0 -1
  89. package/components/CashierPage-CS_ZG6Xb.js +0 -2832
  90. package/components/CashierReceiptPage-CiPr9s04.cjs +0 -26
  91. package/stencil/ui-image_2-DdFjzzNO.cjs +0 -55
  92. package/stencil/ui-skeleton-ae35c6f2-CKgUXOQC.cjs +0 -55
@@ -0,0 +1,337 @@
1
+ import { S as U, b as V, s as Z, f as _, c as A, e as M, t as W, g as k, a0 as J, a1 as P, k as L, r as X, q as $, a2 as O, d as tt, u as et, h as it, j as nt, V as C, l as w, a3 as ot, m as x, n as H, o as g, K as st, y as v, G as at, x as lt, Q as I, B as rt, C as dt, D as ct, E as ut } from "./CashierCarousel-D_wSKCMs.js";
2
+ function ht(n) {
3
+ A(n, "svelte-10nykxd", '*,*::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}.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.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%)}.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 ft = (n) => ({}), j = (n) => ({});
6
+ function E(n) {
7
+ let t, e, i, a, d, h, p, m, c = (
8
+ /*modaltype*/
9
+ n[3] !== "error" && /*modaltype*/
10
+ n[3] !== "bonusList" && B(n)
11
+ ), u = (
12
+ /*isloading*/
13
+ n[4] === "true" && F()
14
+ );
15
+ const y = (
16
+ /*#slots*/
17
+ n[14].content
18
+ ), f = tt(
19
+ y,
20
+ n,
21
+ /*$$scope*/
22
+ n[13],
23
+ j
24
+ );
25
+ return {
26
+ c() {
27
+ t = x("div"), e = x("div"), i = x("div"), c && c.c(), a = H(), u && u.c(), d = H(), h = x("div"), f && f.c(), g(h, "class", "ModalContentWrapper"), C(
28
+ h,
29
+ "hidden",
30
+ /*isloading*/
31
+ n[4] === "true"
32
+ ), g(i, "class", "ModalContainer"), C(
33
+ i,
34
+ "video-mode",
35
+ /*modaltype*/
36
+ n[3] === "video"
37
+ ), C(
38
+ i,
39
+ "twofa-mode",
40
+ /*modaltype*/
41
+ n[3] === "2fa"
42
+ ), g(e, "id", "Modal"), st(() => (
43
+ /*div2_elementresize_handler*/
44
+ n[18].call(e)
45
+ ));
46
+ },
47
+ m(s, r) {
48
+ L(s, t, r), w(t, e), w(e, i), c && c.m(i, null), w(i, a), u && u.m(i, null), w(i, d), w(i, h), f && f.m(h, null), n[15](h), n[16](i), n[17](e), p = ot(
49
+ e,
50
+ /*div2_elementresize_handler*/
51
+ n[18].bind(e)
52
+ ), n[19](t), m = !0;
53
+ },
54
+ p(s, r) {
55
+ /*modaltype*/
56
+ s[3] !== "error" && /*modaltype*/
57
+ s[3] !== "bonusList" ? c ? c.p(s, r) : (c = B(s), c.c(), c.m(i, a)) : c && (c.d(1), c = null), /*isloading*/
58
+ s[4] === "true" ? u || (u = F(), u.c(), u.m(i, d)) : u && (u.d(1), u = null), f && f.p && (!m || r & /*$$scope*/
59
+ 8192) && et(
60
+ f,
61
+ y,
62
+ s,
63
+ /*$$scope*/
64
+ s[13],
65
+ m ? nt(
66
+ y,
67
+ /*$$scope*/
68
+ s[13],
69
+ r,
70
+ ft
71
+ ) : it(
72
+ /*$$scope*/
73
+ s[13]
74
+ ),
75
+ j
76
+ ), (!m || r & /*isloading*/
77
+ 16) && C(
78
+ h,
79
+ "hidden",
80
+ /*isloading*/
81
+ s[4] === "true"
82
+ ), (!m || r & /*modaltype*/
83
+ 8) && C(
84
+ i,
85
+ "video-mode",
86
+ /*modaltype*/
87
+ s[3] === "video"
88
+ ), (!m || r & /*modaltype*/
89
+ 8) && C(
90
+ i,
91
+ "twofa-mode",
92
+ /*modaltype*/
93
+ s[3] === "2fa"
94
+ );
95
+ },
96
+ i(s) {
97
+ m || (k(f, s), m = !0);
98
+ },
99
+ o(s) {
100
+ W(f, s), m = !1;
101
+ },
102
+ d(s) {
103
+ s && M(t), c && c.d(), u && u.d(), f && f.d(s), n[15](null), n[16](null), n[17](null), p(), n[19](null);
104
+ }
105
+ };
106
+ }
107
+ function B(n) {
108
+ let t, e, i, a, d;
109
+ return {
110
+ c() {
111
+ t = x("div"), e = I("svg"), i = I("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(e, "xmlns", "http://www.w3.org/2000/svg"), g(e, "viewBox", "0 0 13 13"), g(e, "fill", "none"), g(e, "class", "CloseButton"), g(t, "class", "ModalCloseIcon");
112
+ },
113
+ m(h, p) {
114
+ L(h, t, p), w(t, e), w(e, i), a || (d = lt(
115
+ e,
116
+ "click",
117
+ /*closeModal*/
118
+ n[9]
119
+ ), a = !0);
120
+ },
121
+ p: at,
122
+ d(h) {
123
+ h && M(t), a = !1, d();
124
+ }
125
+ };
126
+ }
127
+ function F(n) {
128
+ let t;
129
+ return {
130
+ c() {
131
+ t = x("div"), t.innerHTML = '<div class="ModalLoader"></div>', g(t, "class", "ModalLoadingOverlay");
132
+ },
133
+ m(e, i) {
134
+ L(e, t, i);
135
+ },
136
+ d(e) {
137
+ e && M(t);
138
+ }
139
+ };
140
+ }
141
+ function mt(n) {
142
+ let t, e, i = (
143
+ /*show*/
144
+ n[2] === "true" && E(n)
145
+ );
146
+ return {
147
+ c() {
148
+ i && i.c(), t = X();
149
+ },
150
+ m(a, d) {
151
+ i && i.m(a, d), L(a, t, d), e = !0;
152
+ },
153
+ p(a, [d]) {
154
+ /*show*/
155
+ a[2] === "true" ? i ? (i.p(a, d), d & /*show*/
156
+ 4 && k(i, 1)) : (i = E(a), i.c(), k(i, 1), i.m(t.parentNode, t)) : i && (J(), W(i, 1, 1, () => {
157
+ i = null;
158
+ }), P());
159
+ },
160
+ i(a) {
161
+ e || (k(i), e = !0);
162
+ },
163
+ o(a) {
164
+ W(i), e = !1;
165
+ },
166
+ d(a) {
167
+ a && M(t), i && i.d(a);
168
+ }
169
+ };
170
+ }
171
+ function gt(n, t, e) {
172
+ let { $$slots: i = {}, $$scope: a } = t, { mbsource: d } = t, { clientstyling: h } = t, { clientstylingurl: p } = t, { show: m } = t, { modaltype: c = "" } = t, { isloading: u = "false" } = t, { width: y } = t, { height: f } = t, s, r, b, l, S = !1;
173
+ const T = () => {
174
+ s && (s.classList.add("closing"), setTimeout(
175
+ () => {
176
+ window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
177
+ },
178
+ 200
179
+ ));
180
+ }, z = async () => {
181
+ if (!l || !b || S)
182
+ return;
183
+ S = !0;
184
+ const o = l.offsetWidth, K = l.offsetHeight;
185
+ e(8, l.style.width = `${o}px`, l), e(8, l.style.height = `${K}px`, l), l.offsetHeight, await O();
186
+ const N = b.scrollHeight, Q = b.scrollWidth;
187
+ e(8, l.style.width = `${Q}px`, l), e(8, l.style.height = `${N}px`, l), setTimeout(
188
+ () => {
189
+ l && (e(8, l.style.width = "auto", l), e(8, l.style.height = "auto", l)), S = !1;
190
+ },
191
+ 300
192
+ );
193
+ };
194
+ $(() => {
195
+ if (O().then(() => {
196
+ z();
197
+ }), b) {
198
+ const o = new ResizeObserver(() => {
199
+ z();
200
+ });
201
+ return o.observe(b), () => {
202
+ o.disconnect();
203
+ };
204
+ }
205
+ return () => {
206
+ };
207
+ });
208
+ function Y(o) {
209
+ v[o ? "unshift" : "push"](() => {
210
+ b = o, e(7, b);
211
+ });
212
+ }
213
+ function q(o) {
214
+ v[o ? "unshift" : "push"](() => {
215
+ l = o, e(8, l);
216
+ });
217
+ }
218
+ function R(o) {
219
+ v[o ? "unshift" : "push"](() => {
220
+ s = o, e(6, s);
221
+ });
222
+ }
223
+ function D() {
224
+ y = this.clientWidth, f = this.clientHeight, e(0, y), e(1, f);
225
+ }
226
+ function G(o) {
227
+ v[o ? "unshift" : "push"](() => {
228
+ r = o, e(5, r);
229
+ });
230
+ }
231
+ return n.$$set = (o) => {
232
+ "mbsource" in o && e(10, d = o.mbsource), "clientstyling" in o && e(11, h = o.clientstyling), "clientstylingurl" in o && e(12, p = o.clientstylingurl), "show" in o && e(2, m = o.show), "modaltype" in o && e(3, c = o.modaltype), "isloading" in o && e(4, u = o.isloading), "width" in o && e(0, y = o.width), "height" in o && e(1, f = o.height), "$$scope" in o && e(13, a = o.$$scope);
233
+ }, n.$$.update = () => {
234
+ n.$$.dirty & /*isloading*/
235
+ 16 && u && O().then(() => {
236
+ z();
237
+ }), n.$$.dirty & /*clientstyling, customStylingContainer*/
238
+ 2080 && h && r && rt(r, h), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
239
+ 4128 && p && r && dt(r, p), n.$$.dirty & /*mbsource, customStylingContainer*/
240
+ 1056 && d && r && ct(r, `${d}.Style`);
241
+ }, [
242
+ y,
243
+ f,
244
+ m,
245
+ c,
246
+ u,
247
+ r,
248
+ s,
249
+ b,
250
+ l,
251
+ T,
252
+ d,
253
+ h,
254
+ p,
255
+ a,
256
+ i,
257
+ Y,
258
+ q,
259
+ R,
260
+ D,
261
+ G
262
+ ];
263
+ }
264
+ class pt extends U {
265
+ constructor(t) {
266
+ super(), V(
267
+ this,
268
+ t,
269
+ gt,
270
+ mt,
271
+ Z,
272
+ {
273
+ mbsource: 10,
274
+ clientstyling: 11,
275
+ clientstylingurl: 12,
276
+ show: 2,
277
+ modaltype: 3,
278
+ isloading: 4,
279
+ width: 0,
280
+ height: 1
281
+ },
282
+ ht
283
+ );
284
+ }
285
+ get mbsource() {
286
+ return this.$$.ctx[10];
287
+ }
288
+ set mbsource(t) {
289
+ this.$$set({ mbsource: t }), _();
290
+ }
291
+ get clientstyling() {
292
+ return this.$$.ctx[11];
293
+ }
294
+ set clientstyling(t) {
295
+ this.$$set({ clientstyling: t }), _();
296
+ }
297
+ get clientstylingurl() {
298
+ return this.$$.ctx[12];
299
+ }
300
+ set clientstylingurl(t) {
301
+ this.$$set({ clientstylingurl: t }), _();
302
+ }
303
+ get show() {
304
+ return this.$$.ctx[2];
305
+ }
306
+ set show(t) {
307
+ this.$$set({ show: t }), _();
308
+ }
309
+ get modaltype() {
310
+ return this.$$.ctx[3];
311
+ }
312
+ set modaltype(t) {
313
+ this.$$set({ modaltype: t }), _();
314
+ }
315
+ get isloading() {
316
+ return this.$$.ctx[4];
317
+ }
318
+ set isloading(t) {
319
+ this.$$set({ isloading: t }), _();
320
+ }
321
+ get width() {
322
+ return this.$$.ctx[0];
323
+ }
324
+ set width(t) {
325
+ this.$$set({ width: t }), _();
326
+ }
327
+ get height() {
328
+ return this.$$.ctx[1];
329
+ }
330
+ set height(t) {
331
+ this.$$set({ height: t }), _();
332
+ }
333
+ }
334
+ ut(pt, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["content"], [], !0);
335
+ export {
336
+ pt as default
337
+ };
@@ -0,0 +1 @@
1
+ "use strict";var C=(o,e,i)=>new Promise((n,a)=>{var u=d=>{try{p(i.next(d))}catch(r){a(r)}},h=d=>{try{p(i.throw(d))}catch(r){a(r)}},p=d=>d.done?n(d.value):Promise.resolve(d.value).then(u,h);p((i=i.apply(o,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierCarousel-Bmkxhtnm.cjs");function F(o){t.append_styles(o,"svelte-10nykxd",'*,*::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}.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.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%)}.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}}')}const Y=o=>({}),x=o=>({});function k(o){let e,i,n,a,u,h,p,d,r=o[3]!=="error"&&o[3]!=="bonusList"&&v(o),g=o[4]==="true"&&M();const _=o[14].content,m=t.create_slot(_,o,o[13],x);return{c(){e=t.element("div"),i=t.element("div"),n=t.element("div"),r&&r.c(),a=t.space(),g&&g.c(),u=t.space(),h=t.element("div"),m&&m.c(),t.attr(h,"class","ModalContentWrapper"),t.toggle_class(h,"hidden",o[4]==="true"),t.attr(n,"class","ModalContainer"),t.toggle_class(n,"video-mode",o[3]==="video"),t.toggle_class(n,"twofa-mode",o[3]==="2fa"),t.attr(i,"id","Modal"),t.add_render_callback(()=>o[18].call(i))},m(l,f){t.insert(l,e,f),t.append(e,i),t.append(i,n),r&&r.m(n,null),t.append(n,a),g&&g.m(n,null),t.append(n,u),t.append(n,h),m&&m.m(h,null),o[15](h),o[16](n),o[17](i),p=t.add_iframe_resize_listener(i,o[18].bind(i)),o[19](e),d=!0},p(l,f){l[3]!=="error"&&l[3]!=="bonusList"?r?r.p(l,f):(r=v(l),r.c(),r.m(n,a)):r&&(r.d(1),r=null),l[4]==="true"?g||(g=M(),g.c(),g.m(n,u)):g&&(g.d(1),g=null),m&&m.p&&(!d||f&8192)&&t.update_slot_base(m,_,l,l[13],d?t.get_slot_changes(_,l[13],f,Y):t.get_all_dirty_from_scope(l[13]),x),(!d||f&16)&&t.toggle_class(h,"hidden",l[4]==="true"),(!d||f&8)&&t.toggle_class(n,"video-mode",l[3]==="video"),(!d||f&8)&&t.toggle_class(n,"twofa-mode",l[3]==="2fa")},i(l){d||(t.transition_in(m,l),d=!0)},o(l){t.transition_out(m,l),d=!1},d(l){l&&t.detach(e),r&&r.d(),g&&g.d(),m&&m.d(l),o[15](null),o[16](null),o[17](null),p(),o[19](null)}}}function v(o){let e,i,n,a,u;return{c(){e=t.element("div"),i=t.svg_element("svg"),n=t.svg_element("path"),t.attr(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"),t.attr(i,"xmlns","http://www.w3.org/2000/svg"),t.attr(i,"viewBox","0 0 13 13"),t.attr(i,"fill","none"),t.attr(i,"class","CloseButton"),t.attr(e,"class","ModalCloseIcon")},m(h,p){t.insert(h,e,p),t.append(e,i),t.append(i,n),a||(u=t.listen(i,"click",o[9]),a=!0)},p:t.noop,d(h){h&&t.detach(e),a=!1,u()}}}function M(o){let e;return{c(){e=t.element("div"),e.innerHTML='<div class="ModalLoader"></div>',t.attr(e,"class","ModalLoadingOverlay")},m(i,n){t.insert(i,e,n)},d(i){i&&t.detach(e)}}}function B(o){let e,i,n=o[2]==="true"&&k(o);return{c(){n&&n.c(),e=t.empty()},m(a,u){n&&n.m(a,u),t.insert(a,e,u),i=!0},p(a,[u]){a[2]==="true"?n?(n.p(a,u),u&4&&t.transition_in(n,1)):(n=k(a),n.c(),t.transition_in(n,1),n.m(e.parentNode,e)):n&&(t.group_outros(),t.transition_out(n,1,1,()=>{n=null}),t.check_outros())},i(a){i||(t.transition_in(n),i=!0)},o(a){t.transition_out(n),i=!1},d(a){a&&t.detach(e),n&&n.d(a)}}}function q(o,e,i){let{$$slots:n={},$$scope:a}=e,{mbsource:u}=e,{clientstyling:h}=e,{clientstylingurl:p}=e,{show:d}=e,{modaltype:r=""}=e,{isloading:g="false"}=e,{width:_}=e,{height:m}=e,l,f,b,c,y=!1;const S=()=>{l&&(l.classList.add("closing"),setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},w=()=>C(this,null,function*(){if(!c||!b||y)return;y=!0;const s=c.offsetWidth,j=c.offsetHeight;i(8,c.style.width=`${s}px`,c),i(8,c.style.height=`${j}px`,c),c.offsetHeight,yield t.tick();const T=b.scrollHeight,E=b.scrollWidth;i(8,c.style.width=`${E}px`,c),i(8,c.style.height=`${T}px`,c),setTimeout(()=>{c&&(i(8,c.style.width="auto",c),i(8,c.style.height="auto",c)),y=!1},300)});t.onMount(()=>{if(t.tick().then(()=>{w()}),b){const s=new ResizeObserver(()=>{w()});return s.observe(b),()=>{s.disconnect()}}return()=>{}});function z(s){t.binding_callbacks[s?"unshift":"push"](()=>{b=s,i(7,b)})}function O(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,i(8,c)})}function W(s){t.binding_callbacks[s?"unshift":"push"](()=>{l=s,i(6,l)})}function H(){_=this.clientWidth,m=this.clientHeight,i(0,_),i(1,m)}function I(s){t.binding_callbacks[s?"unshift":"push"](()=>{f=s,i(5,f)})}return o.$$set=s=>{"mbsource"in s&&i(10,u=s.mbsource),"clientstyling"in s&&i(11,h=s.clientstyling),"clientstylingurl"in s&&i(12,p=s.clientstylingurl),"show"in s&&i(2,d=s.show),"modaltype"in s&&i(3,r=s.modaltype),"isloading"in s&&i(4,g=s.isloading),"width"in s&&i(0,_=s.width),"height"in s&&i(1,m=s.height),"$$scope"in s&&i(13,a=s.$$scope)},o.$$.update=()=>{o.$$.dirty&16&&g&&t.tick().then(()=>{w()}),o.$$.dirty&2080&&h&&f&&t.setClientStyling(f,h),o.$$.dirty&4128&&p&&f&&t.setClientStylingURL(f,p),o.$$.dirty&1056&&u&&f&&t.setStreamStyling(f,`${u}.Style`)},[_,m,d,r,g,f,l,b,c,S,u,h,p,a,n,z,O,W,H,I]}class L extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,q,B,t.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},F)}get mbsource(){return this.$$.ctx[10]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get show(){return this.$$.ctx[2]}set show(e){this.$$set({show:e}),t.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(e){this.$$set({modaltype:e}),t.flush()}get isloading(){return this.$$.ctx[4]}set isloading(e){this.$$set({isloading:e}),t.flush()}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),t.flush()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),t.flush()}}t.create_custom_element(L,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["content"],[],!0);exports.default=L;