@everymatrix/cashier-method-details 1.87.26 → 1.87.27

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 (27) hide show
  1. package/components/CashierError-BpmuBmVP.cjs +1 -0
  2. package/components/CashierError-Mvxqp2ap.js +450 -0
  3. package/components/CashierError-O5ic9U7e.js +450 -0
  4. package/components/CashierMethodDetails-BBNnxVjz.cjs +107 -0
  5. package/components/CashierMethodDetails-CUEnJ8gY.js +15473 -0
  6. package/components/CashierMethodDetails-f1gSK7cf.js +15420 -0
  7. package/components/{CashierModal-BzNDQkzs.js → CashierModal-D6FPktz0.js} +129 -129
  8. package/components/{CashierModal-BMHnCII1.js → CashierModal-Dnp3eUbg.js} +145 -145
  9. package/components/CashierModal-laFwE1w3.cjs +1 -0
  10. package/components/{CashierNotifications-De7de8Hg.js → CashierNotifications-2GtjS3B9.js} +28 -28
  11. package/components/CashierNotifications-DCLdvxaG.cjs +1 -0
  12. package/components/{CashierNotifications-BxRuN6EX.js → CashierNotifications-DVdiX6d3.js} +28 -28
  13. package/components/{CashierReceiptPage-CIxG9Oev.js → CashierReceiptPage-Bz1JaXZG.js} +496 -497
  14. package/components/{CashierReceiptPage-BN4ghEfB.cjs → CashierReceiptPage-DHiSQNvk.cjs} +2 -2
  15. package/components/{CashierReceiptPage-FCPBrZm8.js → CashierReceiptPage-ThnfKN3f.js} +496 -497
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CashierError-CGK1vujl.js +0 -4648
  21. package/components/CashierError-D6xl461v.cjs +0 -8
  22. package/components/CashierError-wi6a-II9.js +0 -4611
  23. package/components/CashierMethodDetails-CqrJLR8u.js +0 -11248
  24. package/components/CashierMethodDetails-D-fBBTyE.js +0 -11291
  25. package/components/CashierMethodDetails-tC7hUGh_.cjs +0 -100
  26. package/components/CashierModal-BAyFcb0s.cjs +0 -1
  27. package/components/CashierNotifications-BxbVuW3E.cjs +0 -1
@@ -1,65 +1,65 @@
1
- var j = (i, e, t) => new Promise((n, a) => {
2
- var c = (y) => {
1
+ var F = (i, e, t) => new Promise((n, a) => {
2
+ var f = (p) => {
3
3
  try {
4
- w(t.next(y));
5
- } catch (x) {
6
- a(x);
4
+ g(t.next(p));
5
+ } catch (C) {
6
+ a(C);
7
7
  }
8
- }, h = (y) => {
8
+ }, h = (p) => {
9
9
  try {
10
- w(t.throw(y));
11
- } catch (x) {
12
- a(x);
10
+ g(t.throw(p));
11
+ } catch (C) {
12
+ a(C);
13
13
  }
14
- }, w = (y) => y.done ? n(y.value) : Promise.resolve(y.value).then(c, h);
15
- w((t = t.apply(i, e)).next());
14
+ }, g = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(f, h);
15
+ g((t = t.apply(i, e)).next());
16
16
  });
17
- import { S as te, e as ie, s as ne, f as k, j as oe, l as S, V as O, W as z, X as le, Y as se, m as H, r as M, x as ae, D as E, Z as F, _ as Y, a0 as B, a1 as D, E as T, o as C, a2 as re, t as W, u as p, k as de, z as I, n as ce, p as fe, F as R, R as ue, T as he, U as me, h as ge } from "./CashierError-CGK1vujl.js";
18
- function pe(i) {
19
- oe(i, "svelte-vlp16o", '*,*::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)}.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}}');
17
+ import { S as ie, i as ne, s as oe, f as M, a as le, d as S, r as O, u as z, N as se, O as ae, c as H, g as x, z as re, Y as j, q as Y, v as B, w as q, x as D, Z as T, e as v, _ as de, h as W, j as m, Q as ce, k as I, n as fe, l as ue, W as R, E as he, F as me, G as ge, m as pe } from "./CashierMethodDetails-CUEnJ8gY.js";
18
+ function we(i) {
19
+ le(i, "svelte-vlp16o", '*,*::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)}.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}}');
20
20
  }
21
- const we = (i) => ({}), U = (i) => ({}), ye = (i) => ({}), Z = (i) => ({});
22
- function q(i) {
23
- let e, t, n, a, c, h, w, y, x, b, L, u, d = (
21
+ const ye = (i) => ({}), Z = (i) => ({}), _e = (i) => ({}), G = (i) => ({});
22
+ function N(i) {
23
+ let e, t, n, a, f, h, g, p, C, b, k, u, d = (
24
24
  /*modaltype*/
25
25
  (i[3] == "error" || /*modaltype*/
26
26
  i[3] == "bonusDescription") && P()
27
27
  );
28
- const _ = (
28
+ const w = (
29
29
  /*#slots*/
30
30
  i[14].title
31
- ), r = F(
32
- _,
31
+ ), y = Y(
32
+ w,
33
33
  i,
34
34
  /*$$scope*/
35
35
  i[13],
36
- Z
36
+ G
37
37
  );
38
- let o = (
38
+ let r = (
39
39
  /*modaltype*/
40
- i[3] != "2fa-old" && V(i)
41
- ), f = (
40
+ i[3] != "2fa-old" && Q(i)
41
+ ), l = (
42
42
  /*isloading*/
43
- i[4] === "true" && X()
43
+ i[4] === "true" && U()
44
44
  );
45
- const v = (
45
+ const L = (
46
46
  /*#slots*/
47
47
  i[14].content
48
- ), m = F(
49
- v,
48
+ ), c = Y(
49
+ L,
50
50
  i,
51
51
  /*$$scope*/
52
52
  i[13],
53
- U
53
+ Z
54
54
  );
55
55
  return {
56
56
  c() {
57
- e = M("div"), t = M("div"), n = M("div"), a = M("div"), d && d.c(), c = W(), h = M("div"), r && r.c(), w = W(), o && o.c(), y = W(), f && f.c(), x = W(), b = M("div"), m && m.c(), p(h, "class", "TitleText"), p(a, "class", "ModalTitle"), p(n, "class", "ModalHeader"), p(b, "class", "ModalContentWrapper"), T(
57
+ e = x("div"), t = x("div"), n = x("div"), a = x("div"), d && d.c(), f = W(), h = x("div"), y && y.c(), g = W(), r && r.c(), p = W(), l && l.c(), C = W(), b = x("div"), c && c.c(), m(h, "class", "TitleText"), m(a, "class", "ModalTitle"), m(n, "class", "ModalHeader"), m(b, "class", "ModalContentWrapper"), T(
58
58
  b,
59
59
  "hidden",
60
60
  /*isloading*/
61
61
  i[4] === "true"
62
- ), p(t, "class", "ModalContainer"), T(
62
+ ), m(t, "class", "ModalContainer"), T(
63
63
  t,
64
64
  "video-mode",
65
65
  /*modaltype*/
@@ -69,72 +69,72 @@ function q(i) {
69
69
  "twofa-mode",
70
70
  /*modaltype*/
71
71
  i[3] === "2fa"
72
- ), p(e, "id", "Modal"), de(() => (
72
+ ), m(e, "id", "Modal"), ce(() => (
73
73
  /*div5_elementresize_handler*/
74
74
  i[18].call(e)
75
75
  ));
76
76
  },
77
- m(s, g) {
78
- H(s, e, g), C(e, t), C(t, n), C(n, a), d && d.m(a, null), C(a, c), C(a, h), r && r.m(h, null), C(n, w), o && o.m(n, null), C(t, y), f && f.m(t, null), C(t, x), C(t, b), m && m.m(b, null), i[15](b), i[16](t), i[17](e), L = re(
77
+ m(s, _) {
78
+ 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, C), v(t, b), c && c.m(b, null), i[15](b), i[16](t), i[17](e), k = de(
79
79
  e,
80
80
  /*div5_elementresize_handler*/
81
81
  i[18].bind(e)
82
82
  ), u = !0;
83
83
  },
84
- p(s, g) {
84
+ p(s, _) {
85
85
  /*modaltype*/
86
86
  s[3] == "error" || /*modaltype*/
87
- s[3] == "bonusDescription" ? d || (d = P(), d.c(), d.m(a, c)) : d && (d.d(1), d = null), r && r.p && (!u || g & /*$$scope*/
88
- 8192) && Y(
89
- r,
90
- _,
87
+ s[3] == "bonusDescription" ? d || (d = P(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), y && y.p && (!u || _ & /*$$scope*/
88
+ 8192) && B(
89
+ y,
90
+ w,
91
91
  s,
92
92
  /*$$scope*/
93
93
  s[13],
94
94
  u ? D(
95
- _,
95
+ w,
96
96
  /*$$scope*/
97
97
  s[13],
98
- g,
99
- ye
100
- ) : B(
98
+ _,
99
+ _e
100
+ ) : q(
101
101
  /*$$scope*/
102
102
  s[13]
103
103
  ),
104
- Z
104
+ G
105
105
  ), /*modaltype*/
106
- s[3] != "2fa-old" ? o ? o.p(s, g) : (o = V(s), o.c(), o.m(n, null)) : o && (o.d(1), o = null), /*isloading*/
107
- s[4] === "true" ? f || (f = X(), f.c(), f.m(t, x)) : f && (f.d(1), f = null), m && m.p && (!u || g & /*$$scope*/
108
- 8192) && Y(
109
- m,
110
- v,
106
+ s[3] != "2fa-old" ? r ? r.p(s, _) : (r = Q(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
107
+ s[4] === "true" ? l || (l = U(), l.c(), l.m(t, C)) : l && (l.d(1), l = null), c && c.p && (!u || _ & /*$$scope*/
108
+ 8192) && B(
109
+ c,
110
+ L,
111
111
  s,
112
112
  /*$$scope*/
113
113
  s[13],
114
114
  u ? D(
115
- v,
115
+ L,
116
116
  /*$$scope*/
117
117
  s[13],
118
- g,
119
- we
120
- ) : B(
118
+ _,
119
+ ye
120
+ ) : q(
121
121
  /*$$scope*/
122
122
  s[13]
123
123
  ),
124
- U
125
- ), (!u || g & /*isloading*/
124
+ Z
125
+ ), (!u || _ & /*isloading*/
126
126
  16) && T(
127
127
  b,
128
128
  "hidden",
129
129
  /*isloading*/
130
130
  s[4] === "true"
131
- ), (!u || g & /*modaltype*/
131
+ ), (!u || _ & /*modaltype*/
132
132
  8) && T(
133
133
  t,
134
134
  "video-mode",
135
135
  /*modaltype*/
136
136
  s[3] === "video"
137
- ), (!u || g & /*modaltype*/
137
+ ), (!u || _ & /*modaltype*/
138
138
  8) && T(
139
139
  t,
140
140
  "twofa-mode",
@@ -143,13 +143,13 @@ function q(i) {
143
143
  );
144
144
  },
145
145
  i(s) {
146
- u || (z(r, s), z(m, s), u = !0);
146
+ u || (z(y, s), z(c, s), u = !0);
147
147
  },
148
148
  o(s) {
149
- O(r, s), O(m, s), u = !1;
149
+ O(y, s), O(c, s), u = !1;
150
150
  },
151
151
  d(s) {
152
- s && S(e), d && d.d(), r && r.d(s), o && o.d(), f && f.d(), m && m.d(s), i[15](null), i[16](null), i[17](null), L();
152
+ 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();
153
153
  }
154
154
  };
155
155
  }
@@ -157,7 +157,7 @@ function P(i) {
157
157
  let e;
158
158
  return {
159
159
  c() {
160
- e = M("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>', p(e, "class", "WarningIcon");
160
+ e = x("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");
161
161
  },
162
162
  m(t, n) {
163
163
  H(t, e, n);
@@ -167,31 +167,31 @@ function P(i) {
167
167
  }
168
168
  };
169
169
  }
170
- function V(i) {
171
- let e, t, n, a, c;
170
+ function Q(i) {
171
+ let e, t, n, a, f;
172
172
  return {
173
173
  c() {
174
- e = M("div"), t = R("svg"), n = R("path"), p(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"), p(t, "xmlns", "http://www.w3.org/2000/svg"), p(t, "viewBox", "0 0 13 13"), p(t, "fill", "none"), p(t, "class", "CloseButton"), p(e, "class", "ModalCloseIcon");
174
+ e = x("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");
175
175
  },
176
- m(h, w) {
177
- H(h, e, w), C(e, t), C(t, n), a || (c = fe(
176
+ m(h, g) {
177
+ H(h, e, g), v(e, t), v(t, n), a || (f = ue(
178
178
  t,
179
179
  "click",
180
180
  /*closeModal*/
181
181
  i[9]
182
182
  ), a = !0);
183
183
  },
184
- p: ce,
184
+ p: fe,
185
185
  d(h) {
186
- h && S(e), a = !1, c();
186
+ h && S(e), a = !1, f();
187
187
  }
188
188
  };
189
189
  }
190
- function X(i) {
190
+ function U(i) {
191
191
  let e;
192
192
  return {
193
193
  c() {
194
- e = M("div"), e.innerHTML = '<div class="ModalLoader"></div>', p(e, "class", "ModalLoadingOverlay");
194
+ e = x("div"), e.innerHTML = '<div class="ModalLoader"></div>', m(e, "class", "ModalLoadingOverlay");
195
195
  },
196
196
  m(t, n) {
197
197
  H(t, e, n);
@@ -201,24 +201,24 @@ function X(i) {
201
201
  }
202
202
  };
203
203
  }
204
- function _e(i) {
204
+ function be(i) {
205
205
  let e, t, n = (
206
206
  /*show*/
207
- i[2] === "true" && q(i)
207
+ i[2] === "true" && N(i)
208
208
  );
209
209
  return {
210
210
  c() {
211
- e = M("div"), n && n.c();
211
+ e = x("div"), n && n.c();
212
212
  },
213
- m(a, c) {
214
- H(a, e, c), n && n.m(e, null), i[19](e), t = !0;
213
+ m(a, f) {
214
+ H(a, e, f), n && n.m(e, null), i[19](e), t = !0;
215
215
  },
216
- p(a, [c]) {
216
+ p(a, [f]) {
217
217
  /*show*/
218
- a[2] === "true" ? n ? (n.p(a, c), c & /*show*/
219
- 4 && z(n, 1)) : (n = q(a), n.c(), z(n, 1), n.m(e, null)) : n && (le(), O(n, 1, 1, () => {
218
+ a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
219
+ 4 && z(n, 1)) : (n = N(a), n.c(), z(n, 1), n.m(e, null)) : n && (se(), O(n, 1, 1, () => {
220
220
  n = null;
221
- }), se());
221
+ }), ae());
222
222
  },
223
223
  i(a) {
224
224
  t || (z(n), t = !0);
@@ -231,108 +231,108 @@ function _e(i) {
231
231
  }
232
232
  };
233
233
  }
234
- function be(i, e, t) {
235
- let { $$slots: n = {}, $$scope: a } = e, { mbsource: c } = e, { clientstyling: h } = e, { clientstylingurl: w } = e, { show: y } = e, { modaltype: x = "" } = e, { isloading: b = "false" } = e, { width: L } = e, { height: u } = e, d, _, r, o, f = !1, v, m;
236
- const s = () => {
237
- v && clearTimeout(v), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), v = setTimeout(
234
+ function ve(i, e, t) {
235
+ let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: h } = e, { clientstylingurl: g } = e, { show: p } = e, { modaltype: C = "" } = e, { isloading: b = "false" } = e, { width: k } = e, { height: u } = e, d, w, y, r, l, L = !1, c, s;
236
+ const _ = () => {
237
+ c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
238
238
  () => {
239
239
  window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
240
240
  },
241
241
  200
242
242
  ));
243
- }, g = () => j(this, null, function* () {
244
- if (!o || !r || f)
243
+ }, E = () => F(this, null, function* () {
244
+ if (!l || !r || L)
245
245
  return;
246
- m && clearTimeout(v), f = !0;
247
- const l = o.offsetWidth, Q = o.offsetHeight;
248
- t(8, o.style.width = `${l}px`, o), t(8, o.style.height = `${Q}px`, o), o.offsetHeight, yield E();
249
- const $ = r.scrollHeight, ee = r.scrollWidth;
250
- t(8, o.style.width = `${ee}px`, o), t(8, o.style.height = `${$}px`, o), m = setTimeout(
246
+ s && clearTimeout(c), L = !0;
247
+ const o = l.offsetWidth, $ = l.offsetHeight;
248
+ t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${$}px`, l), l.offsetHeight, yield j();
249
+ const ee = r.scrollHeight, te = r.scrollWidth;
250
+ t(8, l.style.width = `${te}px`, l), t(8, l.style.height = `${ee}px`, l), s = setTimeout(
251
251
  () => {
252
- o && (t(8, o.style.width = "auto", o), t(8, o.style.height = "auto", o)), f = !1;
252
+ l && (t(8, l.style.width = "auto", l), t(8, l.style.height = "auto", l)), L = !1;
253
253
  },
254
254
  300
255
255
  );
256
256
  });
257
- ae(() => {
258
- if (E().then(() => {
259
- g();
257
+ re(() => {
258
+ if (j().then(() => {
259
+ E();
260
260
  }), r) {
261
- const l = new ResizeObserver(() => {
262
- g();
261
+ const o = new ResizeObserver(() => {
262
+ E();
263
263
  });
264
- return l.observe(r), () => {
265
- l.disconnect();
264
+ return o.observe(r), () => {
265
+ o.disconnect();
266
266
  };
267
267
  }
268
268
  return () => {
269
- v && clearTimeout(v), m && clearTimeout(v);
269
+ c && clearTimeout(c), s && clearTimeout(c);
270
270
  };
271
271
  });
272
- function A(l) {
273
- I[l ? "unshift" : "push"](() => {
274
- r = l, t(7, r);
272
+ function A(o) {
273
+ I[o ? "unshift" : "push"](() => {
274
+ r = o, t(7, r);
275
275
  });
276
276
  }
277
- function G(l) {
278
- I[l ? "unshift" : "push"](() => {
279
- o = l, t(8, o);
277
+ function J(o) {
278
+ I[o ? "unshift" : "push"](() => {
279
+ l = o, t(8, l);
280
280
  });
281
281
  }
282
- function J(l) {
283
- I[l ? "unshift" : "push"](() => {
284
- d = l, t(6, d);
282
+ function K(o) {
283
+ I[o ? "unshift" : "push"](() => {
284
+ d = o, t(6, d);
285
285
  });
286
286
  }
287
- function K() {
288
- L = this.clientWidth, u = this.clientHeight, t(0, L), t(1, u);
287
+ function V() {
288
+ k = this.clientWidth, u = this.clientHeight, t(0, k), t(1, u);
289
289
  }
290
- function N(l) {
291
- I[l ? "unshift" : "push"](() => {
292
- _ = l, t(5, _);
290
+ function X(o) {
291
+ I[o ? "unshift" : "push"](() => {
292
+ w = o, t(5, w);
293
293
  });
294
294
  }
295
- return i.$$set = (l) => {
296
- "mbsource" in l && t(10, c = l.mbsource), "clientstyling" in l && t(11, h = l.clientstyling), "clientstylingurl" in l && t(12, w = l.clientstylingurl), "show" in l && t(2, y = l.show), "modaltype" in l && t(3, x = l.modaltype), "isloading" in l && t(4, b = l.isloading), "width" in l && t(0, L = l.width), "height" in l && t(1, u = l.height), "$$scope" in l && t(13, a = l.$$scope);
295
+ return i.$$set = (o) => {
296
+ "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, C = 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);
297
297
  }, i.$$.update = () => {
298
298
  i.$$.dirty & /*isloading*/
299
- 16 && b && E().then(() => {
300
- g();
299
+ 16 && b && j().then(() => {
300
+ E();
301
301
  }), i.$$.dirty & /*clientstyling, customStylingContainer*/
302
- 2080 && h && _ && ue(_, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
303
- 4128 && w && _ && he(_, w), i.$$.dirty & /*mbsource, customStylingContainer*/
304
- 1056 && c && _ && me(_, `${c}.Style`);
302
+ 2080 && h && w && he(w, h), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
303
+ 4128 && g && w && me(w, g), i.$$.dirty & /*mbsource, customStylingContainer*/
304
+ 1056 && f && w && ge(w, `${f}.Style`, y);
305
305
  }, [
306
- L,
306
+ k,
307
307
  u,
308
- y,
309
- x,
308
+ p,
309
+ C,
310
310
  b,
311
- _,
311
+ w,
312
312
  d,
313
313
  r,
314
- o,
315
- s,
316
- c,
314
+ l,
315
+ _,
316
+ f,
317
317
  h,
318
- w,
318
+ g,
319
319
  a,
320
320
  n,
321
321
  A,
322
- G,
323
322
  J,
324
323
  K,
325
- N
324
+ V,
325
+ X
326
326
  ];
327
327
  }
328
- class ve extends te {
328
+ class Ce extends ie {
329
329
  constructor(e) {
330
- super(), ie(
330
+ super(), ne(
331
331
  this,
332
332
  e,
333
+ ve,
333
334
  be,
334
- _e,
335
- ne,
335
+ oe,
336
336
  {
337
337
  mbsource: 10,
338
338
  clientstyling: 11,
@@ -343,59 +343,59 @@ class ve extends te {
343
343
  width: 0,
344
344
  height: 1
345
345
  },
346
- pe
346
+ we
347
347
  );
348
348
  }
349
349
  get mbsource() {
350
350
  return this.$$.ctx[10];
351
351
  }
352
352
  set mbsource(e) {
353
- this.$$set({ mbsource: e }), k();
353
+ this.$$set({ mbsource: e }), M();
354
354
  }
355
355
  get clientstyling() {
356
356
  return this.$$.ctx[11];
357
357
  }
358
358
  set clientstyling(e) {
359
- this.$$set({ clientstyling: e }), k();
359
+ this.$$set({ clientstyling: e }), M();
360
360
  }
361
361
  get clientstylingurl() {
362
362
  return this.$$.ctx[12];
363
363
  }
364
364
  set clientstylingurl(e) {
365
- this.$$set({ clientstylingurl: e }), k();
365
+ this.$$set({ clientstylingurl: e }), M();
366
366
  }
367
367
  get show() {
368
368
  return this.$$.ctx[2];
369
369
  }
370
370
  set show(e) {
371
- this.$$set({ show: e }), k();
371
+ this.$$set({ show: e }), M();
372
372
  }
373
373
  get modaltype() {
374
374
  return this.$$.ctx[3];
375
375
  }
376
376
  set modaltype(e) {
377
- this.$$set({ modaltype: e }), k();
377
+ this.$$set({ modaltype: e }), M();
378
378
  }
379
379
  get isloading() {
380
380
  return this.$$.ctx[4];
381
381
  }
382
382
  set isloading(e) {
383
- this.$$set({ isloading: e }), k();
383
+ this.$$set({ isloading: e }), M();
384
384
  }
385
385
  get width() {
386
386
  return this.$$.ctx[0];
387
387
  }
388
388
  set width(e) {
389
- this.$$set({ width: e }), k();
389
+ this.$$set({ width: e }), M();
390
390
  }
391
391
  get height() {
392
392
  return this.$$.ctx[1];
393
393
  }
394
394
  set height(e) {
395
- this.$$set({ height: e }), k();
395
+ this.$$set({ height: e }), M();
396
396
  }
397
397
  }
398
- ge(ve, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
398
+ pe(Ce, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
399
399
  export {
400
- ve as default
400
+ Ce as default
401
401
  };
@@ -0,0 +1 @@
1
+ "use strict";var k=(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("./CashierMethodDetails-BBNnxVjz.cjs");function P(n){e.append_styles(n,"svelte-vlp16o",'*,*::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)}.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 R=n=>({}),L=n=>({}),U=n=>({}),T=n=>({});function S(n){let t,i,o,r,u,m,g,p,v,b,C,h,c=(n[3]=="error"||n[3]=="bonusDescription")&&z();const _=n[14].title,w=e.create_slot(_,n,n[13],T);let d=n[3]!="2fa-old"&&H(n),s=n[4]==="true"&&I();const x=n[14].content,f=e.create_slot(x,n,n[13],L);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=z(),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,U):e.get_all_dirty_from_scope(a[13]),T),a[3]!="2fa-old"?d?d.p(a,y):(d=H(a),d.c(),d.m(o,null)):d&&(d.d(1),d=null),a[4]==="true"?s||(s=I(),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,R):e.get_all_dirty_from_scope(a[13]),L),(!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 z(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 H(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 I(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 Z(n){let t,i,o=n[2]==="true"&&S(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=S(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 A(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))},M=()=>k(this,null,function*(){if(!s||!d||x)return;a&&clearTimeout(f),x=!0;const l=s.offsetWidth,Y=s.offsetHeight;i(8,s.style.width=`${l}px`,s),i(8,s.style.height=`${Y}px`,s),s.offsetHeight,yield e.tick();const D=d.scrollHeight,q=d.scrollWidth;i(8,s.style.width=`${q}px`,s),i(8,s.style.height=`${D}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(()=>{M()}),d){const l=new ResizeObserver(()=>{M()});return l.observe(d),()=>{l.disconnect()}}return()=>{f&&clearTimeout(f),a&&clearTimeout(f)}});function O(l){e.binding_callbacks[l?"unshift":"push"](()=>{d=l,i(7,d)})}function E(l){e.binding_callbacks[l?"unshift":"push"](()=>{s=l,i(8,s)})}function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{c=l,i(6,c)})}function B(){C=this.clientWidth,h=this.clientHeight,i(0,C),i(1,h)}function F(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(()=>{M()}),n.$$.dirty&2080&&m&&_&&e.setClientStyling(_,m),n.$$.dirty&4128&&g&&_&&e.setClientStylingURL(_,g),n.$$.dirty&1056&&u&&_&&e.setStreamStyling(_,`${u}.Style`,w)},[C,h,p,v,b,_,c,d,s,y,u,m,g,r,o,O,E,j,B,F]}class W extends e.SvelteComponent{constructor(t){super(),e.init(this,t,A,Z,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},P)}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(W,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=W;