@everymatrix/cashier-page 1.50.111 → 1.50.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/components/CashierCarousel-BYV8Xckb.cjs +1 -0
  2. package/components/CashierCarousel-C6yCHnNu.js +711 -0
  3. package/components/CashierCarousel-CLvMcbY2.js +711 -0
  4. package/components/CashierCarousel-CzGNWLJO.js +711 -0
  5. package/components/CashierCarousel-D4YPJJSf.cjs +1 -0
  6. package/components/CashierCarousel-RgQcR298.js +708 -0
  7. package/components/CashierCarousel-Zwpfq5jr.js +708 -0
  8. package/components/CashierCarousel-qSYP5NCN.js +708 -0
  9. package/components/CashierCarousel-zU8L8Yam.cjs +1 -0
  10. package/components/CashierError-BL0jeQ4_.js +849 -0
  11. package/components/CashierError-BVdl-0pi.js +857 -0
  12. package/components/CashierError-C2ruon3b.js +849 -0
  13. package/components/CashierError-DPGJyyLW.cjs +1 -0
  14. package/components/CashierError-DgkAGP_e.cjs +1 -0
  15. package/components/CashierError-GqYpZTX0.js +857 -0
  16. package/components/CashierError-LuAGDH_D.js +849 -0
  17. package/components/CashierError-WrE-pTbs.cjs +1 -0
  18. package/components/CashierError-mcfx0wTg.js +849 -0
  19. package/components/CashierHeader-6MLbSyIx.cjs +1 -0
  20. package/components/CashierHeader-BGSzlhTj.cjs +1 -0
  21. package/components/CashierHeader-Bjhl9m25.js +477 -0
  22. package/components/CashierHeader-CAsEVisq.js +477 -0
  23. package/components/CashierHeader-CNS7j6eE.js +477 -0
  24. package/components/CashierHeader-CwvF548z.js +477 -0
  25. package/components/CashierHeader-D9Pd3FE7.js +477 -0
  26. package/components/CashierHeader-DOgjR6nW.cjs +1 -0
  27. package/components/CashierHeader-NByP26Hh.js +477 -0
  28. package/components/CashierIframeRedirect-33BCyM5c.js +387 -0
  29. package/components/CashierIframeRedirect-BQdPQBYK.cjs +1 -0
  30. package/components/CashierIframeRedirect-Bibs1BQl.js +387 -0
  31. package/components/CashierIframeRedirect-BrsKHiD-.js +387 -0
  32. package/components/CashierIframeRedirect-CpZppvVh.js +387 -0
  33. package/components/CashierIframeRedirect-CsBH1gmJ.cjs +1 -0
  34. package/components/CashierIframeRedirect-Dd5B3UEI.js +387 -0
  35. package/components/CashierIframeRedirect-DmxcVBgy.js +387 -0
  36. package/components/CashierIframeRedirect-UurUphr3.cjs +1 -0
  37. package/components/CashierMethodDetails-BHDPppNJ.js +11320 -0
  38. package/components/CashierMethodDetails-BK3Ds1Di.js +11233 -0
  39. package/components/CashierMethodDetails-BmEO4K5V.js +11368 -0
  40. package/components/CashierMethodDetails-C6l6jsdt.cjs +85 -0
  41. package/components/CashierMethodDetails-CKMBfDFW.js +11274 -0
  42. package/components/CashierMethodDetails-CfB2Kudp.js +11319 -0
  43. package/components/CashierMethodDetails-D-3xXEA0.cjs +85 -0
  44. package/components/CashierMethodDetails-Dmm5-4Bg.cjs +85 -0
  45. package/components/CashierMethodDetails-eIkkI2Ds.js +11369 -0
  46. package/components/CashierMethodsList-BG3ZXNnv.cjs +1 -0
  47. package/components/CashierMethodsList-BUNXenEI.js +955 -0
  48. package/components/CashierMethodsList-BoxIF7vP.js +969 -0
  49. package/components/CashierMethodsList-CZ6X0-B0.js +969 -0
  50. package/components/CashierMethodsList-ChF0ggt5.js +955 -0
  51. package/components/CashierMethodsList-Cw5gyvuC.cjs +1 -0
  52. package/components/CashierMethodsList-DJXZcEPK.js +955 -0
  53. package/components/CashierMethodsList-DVKqlXQx.js +969 -0
  54. package/components/CashierMethodsList-Dj8c1drZ.cjs +1 -0
  55. package/components/CashierModal-BLFNSD0R.js +386 -0
  56. package/components/CashierModal-BVB84K7O.js +386 -0
  57. package/components/CashierModal-BsdvB2xr.js +402 -0
  58. package/components/CashierModal-BwdcNkWX.cjs +1 -0
  59. package/components/CashierModal-CNlh3Dz8.js +402 -0
  60. package/components/CashierModal-CaPaRAyn.js +386 -0
  61. package/components/CashierModal-PgkqZ-dD.cjs +1 -0
  62. package/components/CashierModal-X0JXE-VV.js +402 -0
  63. package/components/CashierModal-wFY3s5dP.cjs +1 -0
  64. package/components/CashierNotifications-Blsm-_hR.js +129 -0
  65. package/components/CashierNotifications-CauDPpd0.cjs +1 -0
  66. package/components/CashierNotifications-CjJEjdxA.js +129 -0
  67. package/components/CashierNotifications-D6UwpqKr.cjs +1 -0
  68. package/components/CashierNotifications-DBFOcZ9S.js +129 -0
  69. package/components/CashierNotifications-DupzES3u.js +129 -0
  70. package/components/CashierNotifications-ImD80dd9.js +129 -0
  71. package/components/CashierNotifications-MbBHgYUi.js +129 -0
  72. package/components/CashierNotifications-aocI0dwK.cjs +1 -0
  73. package/components/CashierPage-BLmYMRAT.js +10286 -0
  74. package/components/CashierPage-BcoUz4sy.js +10304 -0
  75. package/components/CashierPage-C-_uS0DP.cjs +23 -0
  76. package/components/CashierPage-D5nA8HEN.cjs +23 -0
  77. package/components/CashierPage-DAY_poj0.cjs +23 -0
  78. package/components/CashierPage-DDoMQsij.js +10304 -0
  79. package/components/CashierPage-DK6Ng6dD.js +10251 -0
  80. package/components/CashierPage-DWHzDWE-.js +10233 -0
  81. package/components/CashierPage-Db-fNMwu.js +10251 -0
  82. package/components/CashierReceiptPage-B_r5svXm.js +2063 -0
  83. package/components/CashierReceiptPage-BkJJ9VMR.js +2063 -0
  84. package/components/CashierReceiptPage-BtbixKyh.cjs +29 -0
  85. package/components/CashierReceiptPage-ByhsQi-Y.cjs +29 -0
  86. package/components/CashierReceiptPage-CYO3A4px.js +2043 -0
  87. package/components/CashierReceiptPage-CYWNzS-t.js +2043 -0
  88. package/components/CashierReceiptPage-D2LF-Cfs.js +2063 -0
  89. package/components/CashierReceiptPage-DbU3gGyp.js +2043 -0
  90. package/components/CashierReceiptPage-vKqYhCZl.cjs +29 -0
  91. package/components/CashierSessionExpirationModal-B3so8FGP.cjs +2 -0
  92. package/components/CashierSessionExpirationModal-BLrVVg8r.js +1212 -0
  93. package/components/CashierSessionExpirationModal-C9QplNCU.js +1212 -0
  94. package/components/CashierSessionExpirationModal-Cll5D4xS.cjs +2 -0
  95. package/components/CashierSessionExpirationModal-D7438bGG.js +1212 -0
  96. package/components/CashierSessionExpirationModal-DFs76eVZ.js +1212 -0
  97. package/components/CashierSessionExpirationModal-DGGLAXRf.js +1212 -0
  98. package/components/CashierSessionExpirationModal-DUi74T2N.js +1212 -0
  99. package/components/CashierSessionExpirationModal-pEEj89lN.cjs +2 -0
  100. package/components/CashierSpinner-Bojn3cx4.cjs +1 -0
  101. package/components/CashierSpinner-CrLzUq-b.js +79 -0
  102. package/components/CashierSpinner-DFa2JUv1.js +79 -0
  103. package/components/CashierSpinner-DeQUisHv.js +79 -0
  104. package/components/CashierSpinner-Dk_AWH9k.js +79 -0
  105. package/components/CashierSpinner-DsEoOmar.cjs +1 -0
  106. package/components/CashierSpinner-UnUIC_vy.js +79 -0
  107. package/components/CashierSpinner-VEuFkxJO.js +79 -0
  108. package/components/CashierSpinner-vS1pC0X6.cjs +1 -0
  109. package/components/CashierStepUp-2Ac01AmQ.js +1161 -0
  110. package/components/CashierStepUp-8LupN5IV.js +1161 -0
  111. package/components/CashierStepUp-BsU_s7T9.js +1161 -0
  112. package/components/CashierStepUp-CRvIkD4C.js +1200 -0
  113. package/components/CashierStepUp-D5N2i9dr.js +1201 -0
  114. package/components/CashierStepUp-D5pMbD33.cjs +1 -0
  115. package/components/CashierStepUp-DWfy-EhN.cjs +1 -0
  116. package/components/CashierStepUp-DzJFcK-D.cjs +1 -0
  117. package/components/CashierStepUp-ovaXA_le.js +1200 -0
  118. package/components/CashierTransactionHistory-B04fOH7Y.js +1415 -0
  119. package/components/CashierTransactionHistory-BH0-fPO5.js +1415 -0
  120. package/components/CashierTransactionHistory-C1sFc875.js +1415 -0
  121. package/components/CashierTransactionHistory-CuY66DYm.js +1415 -0
  122. package/components/CashierTransactionHistory-Cw3Cp13n.cjs +1 -0
  123. package/components/CashierTransactionHistory-D1gojTnz.cjs +1 -0
  124. package/components/CashierTransactionHistory-DSoU4BAt.cjs +1 -0
  125. package/components/CashierTransactionHistory-DVNnMTBU.js +1415 -0
  126. package/components/CashierTransactionHistory-wrsYe4Kj.js +1415 -0
  127. package/components/CashierVerifications-BIhkT7xC.js +700 -0
  128. package/components/CashierVerifications-BcQ2LHrN.cjs +1 -0
  129. package/components/CashierVerifications-BoypDVWQ.cjs +1 -0
  130. package/components/CashierVerifications-CCHd_J3y.js +700 -0
  131. package/components/CashierVerifications-Ccrp5BP2.js +696 -0
  132. package/components/CashierVerifications-DYxNLeFk.js +700 -0
  133. package/components/CashierVerifications-DgpLTX5u.js +696 -0
  134. package/components/CashierVerifications-DiC2yoLU.js +696 -0
  135. package/components/CashierVerifications-xAtq_Nw_.cjs +1 -0
  136. package/components/TxnStatusIcon-5XmjXdYX.js +142 -0
  137. package/components/TxnStatusIcon-CKN6xRTe.cjs +1 -0
  138. package/components/TxnStatusIcon-CZEwNSRj.js +142 -0
  139. package/components/TxnStatusIcon-D8sZqoF_.cjs +1 -0
  140. package/components/TxnStatusIcon-DEYsExEh.js +142 -0
  141. package/components/TxnStatusIcon-Dnu-8W2z.js +142 -0
  142. package/components/TxnStatusIcon-KjjF6vov.js +142 -0
  143. package/components/TxnStatusIcon-vkIBVdfU.js +142 -0
  144. package/components/TxnStatusIcon-xSYt11Zt.cjs +1 -0
  145. package/components/TxnTypeIcons-BH3JMq5I.cjs +1 -0
  146. package/components/TxnTypeIcons-BTHWx7gk.cjs +1 -0
  147. package/components/TxnTypeIcons-BewtXIqm.js +101 -0
  148. package/components/TxnTypeIcons-BvLnF_at.cjs +1 -0
  149. package/components/TxnTypeIcons-CcB8sFEb.js +101 -0
  150. package/components/TxnTypeIcons-DEkSxez6.js +101 -0
  151. package/components/TxnTypeIcons-DczwMwTe.js +101 -0
  152. package/components/TxnTypeIcons-VbuF3Vpq.js +101 -0
  153. package/components/TxnTypeIcons-ci3PNKW-.js +101 -0
  154. package/es2015/cashier-page.cjs +1 -1
  155. package/es2015/cashier-page.js +1 -1
  156. package/esnext/cashier-page.js +1 -1
  157. 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-BcoUz4sy.js";
18
+ import { s as me, a as ge, b as pe } from "./CashierHeader-D9Pd3FE7.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-D5nA8HEN.cjs"),M=require("./CashierHeader-DOgjR6nW.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;
@@ -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-DK6Ng6dD.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-D5nA8HEN.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;