@everymatrix/player-account-modal 1.54.12 → 1.56.0
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.
- package/components/{PlayerAccountModal-iQXYtlM3.js → PlayerAccountModal-CPM7dPdd.js} +302 -283
- package/components/PlayerAccountModal-D_UQLBx9.cjs +4 -0
- package/components/{PlayerAccountModal-DvUSX30P.js → PlayerAccountModal-yw79evC1.js} +320 -301
- package/es2015/player-account-modal.cjs +1 -1
- package/es2015/player-account-modal.js +1 -1
- package/esnext/player-account-modal.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountModal-D9UzxCzq.cjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function L() {
|
|
2
2
|
}
|
|
3
3
|
const st = (t) => t;
|
|
4
4
|
function dt(t, e) {
|
|
@@ -8,14 +8,14 @@ function dt(t, e) {
|
|
|
8
8
|
t
|
|
9
9
|
);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function rt(t) {
|
|
12
12
|
return t();
|
|
13
13
|
}
|
|
14
14
|
function Y() {
|
|
15
15
|
return /* @__PURE__ */ Object.create(null);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
t.forEach(
|
|
17
|
+
function k(t) {
|
|
18
|
+
t.forEach(rt);
|
|
19
19
|
}
|
|
20
20
|
function G(t) {
|
|
21
21
|
return typeof t == "function";
|
|
@@ -28,20 +28,20 @@ function $t(t) {
|
|
|
28
28
|
}
|
|
29
29
|
function _t(t, e, n, i) {
|
|
30
30
|
if (t) {
|
|
31
|
-
const s =
|
|
31
|
+
const s = ot(t, e, n, i);
|
|
32
32
|
return t[0](s);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function ot(t, e, n, i) {
|
|
36
36
|
return t[1] && i ? dt(n.ctx.slice(), t[1](i(e))) : n.ctx;
|
|
37
37
|
}
|
|
38
38
|
function mt(t, e, n, i) {
|
|
39
39
|
return t[2], e.dirty;
|
|
40
40
|
}
|
|
41
|
-
function gt(t, e, n, i, s,
|
|
41
|
+
function gt(t, e, n, i, s, o) {
|
|
42
42
|
if (s) {
|
|
43
|
-
const
|
|
44
|
-
t.p(
|
|
43
|
+
const f = ot(e, n, i, o);
|
|
44
|
+
t.p(f, s);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
function yt(t) {
|
|
@@ -53,22 +53,22 @@ function yt(t) {
|
|
|
53
53
|
}
|
|
54
54
|
return -1;
|
|
55
55
|
}
|
|
56
|
-
const
|
|
57
|
-
let pt =
|
|
58
|
-
const
|
|
59
|
-
function
|
|
60
|
-
|
|
61
|
-
e.c(t) || (
|
|
62
|
-
}),
|
|
56
|
+
const ct = typeof window < "u";
|
|
57
|
+
let pt = ct ? () => window.performance.now() : () => Date.now(), K = ct ? (t) => requestAnimationFrame(t) : L;
|
|
58
|
+
const x = /* @__PURE__ */ new Set();
|
|
59
|
+
function lt(t) {
|
|
60
|
+
x.forEach((e) => {
|
|
61
|
+
e.c(t) || (x.delete(e), e.f());
|
|
62
|
+
}), x.size !== 0 && K(lt);
|
|
63
63
|
}
|
|
64
64
|
function wt(t) {
|
|
65
65
|
let e;
|
|
66
|
-
return
|
|
66
|
+
return x.size === 0 && K(lt), {
|
|
67
67
|
promise: new Promise((n) => {
|
|
68
|
-
|
|
68
|
+
x.add(e = { c: t, f: n });
|
|
69
69
|
}),
|
|
70
70
|
abort() {
|
|
71
|
-
|
|
71
|
+
x.delete(e);
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
}
|
|
@@ -78,7 +78,7 @@ function V(t, e) {
|
|
|
78
78
|
function bt(t, e, n) {
|
|
79
79
|
const i = Q(t);
|
|
80
80
|
if (!i.getElementById(e)) {
|
|
81
|
-
const s =
|
|
81
|
+
const s = E("style");
|
|
82
82
|
s.id = e, s.textContent = n, ut(i, s);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -92,7 +92,7 @@ function Q(t) {
|
|
|
92
92
|
) : t.ownerDocument;
|
|
93
93
|
}
|
|
94
94
|
function xt(t) {
|
|
95
|
-
const e =
|
|
95
|
+
const e = E("style");
|
|
96
96
|
return e.textContent = "/* empty */", ut(Q(t), e), e.sheet;
|
|
97
97
|
}
|
|
98
98
|
function ut(t, e) {
|
|
@@ -105,10 +105,10 @@ function ut(t, e) {
|
|
|
105
105
|
function X(t, e, n) {
|
|
106
106
|
t.insertBefore(e, n || null);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function A(t) {
|
|
109
109
|
t.parentNode && t.parentNode.removeChild(t);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function E(t) {
|
|
112
112
|
return document.createElement(t);
|
|
113
113
|
}
|
|
114
114
|
function Et(t) {
|
|
@@ -117,13 +117,13 @@ function Et(t) {
|
|
|
117
117
|
function Ct() {
|
|
118
118
|
return Et("");
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function P(t, e, n) {
|
|
121
121
|
n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function kt(t) {
|
|
124
124
|
return Array.from(t.childNodes);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function vt(t, e, { bubbles: n = !1, cancelable: i = !1 } = {}) {
|
|
127
127
|
return new CustomEvent(t, { detail: e, bubbles: n, cancelable: i });
|
|
128
128
|
}
|
|
129
129
|
function Mt(t) {
|
|
@@ -135,225 +135,225 @@ function Mt(t) {
|
|
|
135
135
|
}
|
|
136
136
|
), e;
|
|
137
137
|
}
|
|
138
|
-
const
|
|
139
|
-
let
|
|
140
|
-
function
|
|
138
|
+
const T = /* @__PURE__ */ new Map();
|
|
139
|
+
let D = 0;
|
|
140
|
+
function St(t) {
|
|
141
141
|
let e = 5381, n = t.length;
|
|
142
142
|
for (; n--; ) e = (e << 5) - e ^ t.charCodeAt(n);
|
|
143
143
|
return e >>> 0;
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Lt(t, e) {
|
|
146
146
|
const n = { stylesheet: xt(e), rules: {} };
|
|
147
|
-
return
|
|
147
|
+
return T.set(t, n), n;
|
|
148
148
|
}
|
|
149
|
-
function Z(t, e, n, i, s,
|
|
150
|
-
const
|
|
151
|
-
let
|
|
149
|
+
function Z(t, e, n, i, s, o, f, r = 0) {
|
|
150
|
+
const c = 16.666 / i;
|
|
151
|
+
let l = `{
|
|
152
152
|
`;
|
|
153
|
-
for (let
|
|
154
|
-
const
|
|
155
|
-
|
|
153
|
+
for (let u = 0; u <= 1; u += c) {
|
|
154
|
+
const p = e + (n - e) * o(u);
|
|
155
|
+
l += u * 100 + `%{${f(p, 1 - p)}}
|
|
156
156
|
`;
|
|
157
157
|
}
|
|
158
|
-
const h =
|
|
159
|
-
}`,
|
|
160
|
-
a
|
|
158
|
+
const h = l + `100% {${f(n, 1 - n)}}
|
|
159
|
+
}`, a = `__svelte_${St(h)}_${r}`, $ = Q(t), { stylesheet: m, rules: d } = T.get($) || Lt($, t);
|
|
160
|
+
d[a] || (d[a] = !0, m.insertRule(`@keyframes ${a} ${h}`, m.cssRules.length));
|
|
161
161
|
const _ = t.style.animation || "";
|
|
162
|
-
return t.style.animation = `${_ ? `${_}, ` : ""}${
|
|
162
|
+
return t.style.animation = `${_ ? `${_}, ` : ""}${a} ${i}ms linear ${s}ms 1 both`, D += 1, a;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Ot(t, e) {
|
|
165
165
|
const n = (t.style.animation || "").split(", "), i = n.filter(
|
|
166
|
-
e ? (
|
|
166
|
+
e ? (o) => o.indexOf(e) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
167
167
|
// remove all Svelte animations
|
|
168
168
|
), s = n.length - i.length;
|
|
169
|
-
s && (t.style.animation = i.join(", "),
|
|
169
|
+
s && (t.style.animation = i.join(", "), D -= s, D || jt());
|
|
170
170
|
}
|
|
171
171
|
function jt() {
|
|
172
172
|
K(() => {
|
|
173
|
-
|
|
173
|
+
D || (T.forEach((t) => {
|
|
174
174
|
const { ownerNode: e } = t.stylesheet;
|
|
175
|
-
e &&
|
|
176
|
-
}),
|
|
175
|
+
e && A(e);
|
|
176
|
+
}), T.clear());
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
|
-
let
|
|
180
|
-
function
|
|
181
|
-
|
|
179
|
+
let O;
|
|
180
|
+
function M(t) {
|
|
181
|
+
O = t;
|
|
182
182
|
}
|
|
183
183
|
function At() {
|
|
184
|
-
if (!
|
|
185
|
-
return
|
|
184
|
+
if (!O) throw new Error("Function called outside component initialization");
|
|
185
|
+
return O;
|
|
186
186
|
}
|
|
187
187
|
function Nt(t) {
|
|
188
188
|
At().$$.on_mount.push(t);
|
|
189
189
|
}
|
|
190
|
-
const
|
|
191
|
-
let
|
|
190
|
+
const b = [], H = [];
|
|
191
|
+
let C = [];
|
|
192
192
|
const tt = [], Pt = /* @__PURE__ */ Promise.resolve();
|
|
193
193
|
let W = !1;
|
|
194
|
-
function
|
|
195
|
-
W || (W = !0, Pt.then(
|
|
194
|
+
function Bt() {
|
|
195
|
+
W || (W = !0, Pt.then(y));
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
|
|
197
|
+
function j(t) {
|
|
198
|
+
C.push(t);
|
|
199
199
|
}
|
|
200
|
-
const
|
|
201
|
-
let
|
|
202
|
-
function
|
|
203
|
-
if (
|
|
200
|
+
const I = /* @__PURE__ */ new Set();
|
|
201
|
+
let w = 0;
|
|
202
|
+
function y() {
|
|
203
|
+
if (w !== 0)
|
|
204
204
|
return;
|
|
205
|
-
const t =
|
|
205
|
+
const t = O;
|
|
206
206
|
do {
|
|
207
207
|
try {
|
|
208
|
-
for (;
|
|
209
|
-
const e =
|
|
210
|
-
|
|
208
|
+
for (; w < b.length; ) {
|
|
209
|
+
const e = b[w];
|
|
210
|
+
w++, M(e), Rt(e.$$);
|
|
211
211
|
}
|
|
212
212
|
} catch (e) {
|
|
213
|
-
throw
|
|
213
|
+
throw b.length = 0, w = 0, e;
|
|
214
214
|
}
|
|
215
|
-
for (
|
|
216
|
-
for (let e = 0; e <
|
|
217
|
-
const n =
|
|
218
|
-
|
|
215
|
+
for (M(null), b.length = 0, w = 0; H.length; ) H.pop()();
|
|
216
|
+
for (let e = 0; e < C.length; e += 1) {
|
|
217
|
+
const n = C[e];
|
|
218
|
+
I.has(n) || (I.add(n), n());
|
|
219
219
|
}
|
|
220
|
-
|
|
221
|
-
} while (
|
|
220
|
+
C.length = 0;
|
|
221
|
+
} while (b.length);
|
|
222
222
|
for (; tt.length; )
|
|
223
223
|
tt.pop()();
|
|
224
|
-
W = !1,
|
|
224
|
+
W = !1, I.clear(), M(t);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Rt(t) {
|
|
227
227
|
if (t.fragment !== null) {
|
|
228
|
-
t.update(),
|
|
228
|
+
t.update(), k(t.before_update);
|
|
229
229
|
const e = t.dirty;
|
|
230
|
-
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(
|
|
230
|
+
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(j);
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function Tt(t) {
|
|
234
234
|
const e = [], n = [];
|
|
235
|
-
|
|
235
|
+
C.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), C = e;
|
|
236
236
|
}
|
|
237
|
-
let
|
|
238
|
-
function
|
|
239
|
-
return
|
|
240
|
-
|
|
241
|
-
})),
|
|
237
|
+
let v;
|
|
238
|
+
function Dt() {
|
|
239
|
+
return v || (v = Promise.resolve(), v.then(() => {
|
|
240
|
+
v = null;
|
|
241
|
+
})), v;
|
|
242
242
|
}
|
|
243
243
|
function J(t, e, n) {
|
|
244
|
-
t.dispatchEvent(
|
|
244
|
+
t.dispatchEvent(vt(`${e ? "intro" : "outro"}${n}`));
|
|
245
245
|
}
|
|
246
|
-
const
|
|
247
|
-
let
|
|
248
|
-
function
|
|
249
|
-
|
|
246
|
+
const B = /* @__PURE__ */ new Set();
|
|
247
|
+
let g;
|
|
248
|
+
function Ht() {
|
|
249
|
+
g = {
|
|
250
250
|
r: 0,
|
|
251
251
|
c: [],
|
|
252
|
-
p:
|
|
252
|
+
p: g
|
|
253
253
|
// parent group
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
|
-
function
|
|
257
|
-
|
|
256
|
+
function zt() {
|
|
257
|
+
g.r || k(g.c), g = g.p;
|
|
258
258
|
}
|
|
259
259
|
function S(t, e) {
|
|
260
|
-
t && t.i && (
|
|
260
|
+
t && t.i && (B.delete(t), t.i(e));
|
|
261
261
|
}
|
|
262
262
|
function q(t, e, n, i) {
|
|
263
263
|
if (t && t.o) {
|
|
264
|
-
if (
|
|
265
|
-
|
|
266
|
-
|
|
264
|
+
if (B.has(t)) return;
|
|
265
|
+
B.add(t), g.c.push(() => {
|
|
266
|
+
B.delete(t), i && (n && t.d(1), i());
|
|
267
267
|
}), t.o(e);
|
|
268
268
|
} else i && i();
|
|
269
269
|
}
|
|
270
|
-
const
|
|
270
|
+
const Ut = { duration: 0 };
|
|
271
271
|
function et(t, e, n, i) {
|
|
272
|
-
let
|
|
273
|
-
function
|
|
274
|
-
|
|
272
|
+
let o = e(t, n, { direction: "both" }), f = i ? 0 : 1, r = null, c = null, l = null, h;
|
|
273
|
+
function a() {
|
|
274
|
+
l && Ot(t, l);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
277
|
-
const
|
|
276
|
+
function $(d, _) {
|
|
277
|
+
const u = (
|
|
278
278
|
/** @type {Program['d']} */
|
|
279
|
-
|
|
279
|
+
d.b - f
|
|
280
280
|
);
|
|
281
|
-
return _ *= Math.abs(
|
|
282
|
-
a:
|
|
283
|
-
b:
|
|
284
|
-
d:
|
|
281
|
+
return _ *= Math.abs(u), {
|
|
282
|
+
a: f,
|
|
283
|
+
b: d.b,
|
|
284
|
+
d: u,
|
|
285
285
|
duration: _,
|
|
286
|
-
start:
|
|
287
|
-
end:
|
|
288
|
-
group:
|
|
286
|
+
start: d.start,
|
|
287
|
+
end: d.start + _,
|
|
288
|
+
group: d.group
|
|
289
289
|
};
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function m(d) {
|
|
292
292
|
const {
|
|
293
293
|
delay: _ = 0,
|
|
294
|
-
duration:
|
|
295
|
-
easing:
|
|
296
|
-
tick:
|
|
297
|
-
css:
|
|
298
|
-
} =
|
|
294
|
+
duration: u = 300,
|
|
295
|
+
easing: p = st,
|
|
296
|
+
tick: z = L,
|
|
297
|
+
css: U
|
|
298
|
+
} = o || Ut, F = {
|
|
299
299
|
start: pt() + _,
|
|
300
|
-
b:
|
|
300
|
+
b: d
|
|
301
301
|
};
|
|
302
|
-
|
|
303
|
-
t.inert, t.inert = !0)),
|
|
304
|
-
if (
|
|
302
|
+
d || (F.group = g, g.r += 1), "inert" in t && (d ? h !== void 0 && (t.inert = h) : (h = /** @type {HTMLElement} */
|
|
303
|
+
t.inert, t.inert = !0)), r || c ? c = F : (U && (a(), l = Z(t, f, d, u, _, p, U)), d && z(0, 1), r = $(F, u), j(() => J(t, d, "start")), wt((N) => {
|
|
304
|
+
if (c && N > c.start && (r = $(c, u), c = null, J(t, r.b, "start"), U && (a(), l = Z(
|
|
305
305
|
t,
|
|
306
|
-
u,
|
|
307
|
-
o.b,
|
|
308
|
-
o.duration,
|
|
309
|
-
0,
|
|
310
306
|
f,
|
|
311
|
-
r.
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
307
|
+
r.b,
|
|
308
|
+
r.duration,
|
|
309
|
+
0,
|
|
310
|
+
p,
|
|
311
|
+
o.css
|
|
312
|
+
))), r) {
|
|
313
|
+
if (N >= r.end)
|
|
314
|
+
z(f = r.b, 1 - f), J(t, r.b, "end"), c || (r.b ? a() : --r.group.r || k(r.group.c)), r = null;
|
|
315
|
+
else if (N >= r.start) {
|
|
316
|
+
const at = N - r.start;
|
|
317
|
+
f = r.a + r.d * p(at / r.duration), z(f, 1 - f);
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
return !!(
|
|
320
|
+
return !!(r || c);
|
|
321
321
|
}));
|
|
322
322
|
}
|
|
323
323
|
return {
|
|
324
|
-
run(
|
|
325
|
-
G(
|
|
326
|
-
|
|
327
|
-
}) :
|
|
324
|
+
run(d) {
|
|
325
|
+
G(o) ? Dt().then(() => {
|
|
326
|
+
o = o({ direction: d ? "in" : "out" }), m(d);
|
|
327
|
+
}) : m(d);
|
|
328
328
|
},
|
|
329
329
|
end() {
|
|
330
|
-
|
|
330
|
+
a(), r = c = null;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function Ft(t, e, n) {
|
|
335
335
|
const { fragment: i, after_update: s } = t.$$;
|
|
336
|
-
i && i.m(e, n),
|
|
337
|
-
const
|
|
338
|
-
t.$$.on_destroy ? t.$$.on_destroy.push(...
|
|
339
|
-
}), s.forEach(
|
|
336
|
+
i && i.m(e, n), j(() => {
|
|
337
|
+
const o = t.$$.on_mount.map(rt).filter(G);
|
|
338
|
+
t.$$.on_destroy ? t.$$.on_destroy.push(...o) : k(o), t.$$.on_mount = [];
|
|
339
|
+
}), s.forEach(j);
|
|
340
340
|
}
|
|
341
|
-
function
|
|
341
|
+
function It(t, e) {
|
|
342
342
|
const n = t.$$;
|
|
343
|
-
n.fragment !== null && (
|
|
343
|
+
n.fragment !== null && (Tt(n.after_update), k(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
344
344
|
}
|
|
345
345
|
function Jt(t, e) {
|
|
346
|
-
t.$$.dirty[0] === -1 && (
|
|
346
|
+
t.$$.dirty[0] === -1 && (b.push(t), Bt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
347
347
|
}
|
|
348
|
-
function Vt(t, e, n, i, s,
|
|
349
|
-
const
|
|
350
|
-
|
|
351
|
-
const
|
|
348
|
+
function Vt(t, e, n, i, s, o, f = null, r = [-1]) {
|
|
349
|
+
const c = O;
|
|
350
|
+
M(t);
|
|
351
|
+
const l = t.$$ = {
|
|
352
352
|
fragment: null,
|
|
353
353
|
ctx: [],
|
|
354
354
|
// state
|
|
355
|
-
props:
|
|
356
|
-
update:
|
|
355
|
+
props: o,
|
|
356
|
+
update: L,
|
|
357
357
|
not_equal: s,
|
|
358
358
|
bound: Y(),
|
|
359
359
|
// lifecycle
|
|
@@ -362,27 +362,27 @@ function Vt(t, e, n, i, s, r, u = null, o = [-1]) {
|
|
|
362
362
|
on_disconnect: [],
|
|
363
363
|
before_update: [],
|
|
364
364
|
after_update: [],
|
|
365
|
-
context: new Map(e.context || (
|
|
365
|
+
context: new Map(e.context || (c ? c.$$.context : [])),
|
|
366
366
|
// everything else
|
|
367
367
|
callbacks: Y(),
|
|
368
|
-
dirty:
|
|
368
|
+
dirty: r,
|
|
369
369
|
skip_bound: !1,
|
|
370
|
-
root: e.target ||
|
|
370
|
+
root: e.target || c.$$.root
|
|
371
371
|
};
|
|
372
|
-
|
|
372
|
+
f && f(l.root);
|
|
373
373
|
let h = !1;
|
|
374
|
-
if (
|
|
375
|
-
const
|
|
376
|
-
return
|
|
377
|
-
}) : [],
|
|
374
|
+
if (l.ctx = n ? n(t, e.props || {}, (a, $, ...m) => {
|
|
375
|
+
const d = m.length ? m[0] : $;
|
|
376
|
+
return l.ctx && s(l.ctx[a], l.ctx[a] = d) && (!l.skip_bound && l.bound[a] && l.bound[a](d), h && Jt(t, a)), $;
|
|
377
|
+
}) : [], l.update(), h = !0, k(l.before_update), l.fragment = i ? i(l.ctx) : !1, e.target) {
|
|
378
378
|
if (e.hydrate) {
|
|
379
|
-
const
|
|
380
|
-
|
|
379
|
+
const a = kt(e.target);
|
|
380
|
+
l.fragment && l.fragment.l(a), a.forEach(A);
|
|
381
381
|
} else
|
|
382
|
-
|
|
383
|
-
e.intro && S(t.$$.fragment),
|
|
382
|
+
l.fragment && l.fragment.c();
|
|
383
|
+
e.intro && S(t.$$.fragment), Ft(t, e.target, e.anchor), y();
|
|
384
384
|
}
|
|
385
|
-
|
|
385
|
+
M(c);
|
|
386
386
|
}
|
|
387
387
|
let ft;
|
|
388
388
|
typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
@@ -424,20 +424,20 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
424
424
|
if (this.$$cn = !0, !this.$$c) {
|
|
425
425
|
let t = function(s) {
|
|
426
426
|
return () => {
|
|
427
|
-
let
|
|
427
|
+
let o;
|
|
428
428
|
return {
|
|
429
429
|
c: function() {
|
|
430
|
-
|
|
430
|
+
o = E("slot"), s !== "default" && P(o, "name", s);
|
|
431
431
|
},
|
|
432
432
|
/**
|
|
433
433
|
* @param {HTMLElement} target
|
|
434
434
|
* @param {HTMLElement} [anchor]
|
|
435
435
|
*/
|
|
436
|
-
m: function(
|
|
437
|
-
X(
|
|
436
|
+
m: function(c, l) {
|
|
437
|
+
X(c, o, l);
|
|
438
438
|
},
|
|
439
|
-
d: function(
|
|
440
|
-
|
|
439
|
+
d: function(c) {
|
|
440
|
+
c && A(o);
|
|
441
441
|
}
|
|
442
442
|
};
|
|
443
443
|
};
|
|
@@ -448,8 +448,8 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
448
448
|
for (const s of this.$$s)
|
|
449
449
|
s in n && (e[s] = [t(s)]);
|
|
450
450
|
for (const s of this.attributes) {
|
|
451
|
-
const
|
|
452
|
-
|
|
451
|
+
const o = this.$$g_p(s.name);
|
|
452
|
+
o in this.$$d || (this.$$d[o] = R(o, s.value, this.$$p_d, "toProp"));
|
|
453
453
|
}
|
|
454
454
|
for (const s in this.$$p_d)
|
|
455
455
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
@@ -467,21 +467,21 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
467
467
|
this.$$r = !0;
|
|
468
468
|
for (const s in this.$$p_d)
|
|
469
469
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
470
|
-
const
|
|
470
|
+
const o = R(
|
|
471
471
|
s,
|
|
472
472
|
this.$$d[s],
|
|
473
473
|
this.$$p_d,
|
|
474
474
|
"toAttribute"
|
|
475
475
|
);
|
|
476
|
-
|
|
476
|
+
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
|
477
477
|
}
|
|
478
478
|
this.$$r = !1;
|
|
479
479
|
};
|
|
480
480
|
this.$$c.$$.after_update.push(i), i();
|
|
481
481
|
for (const s in this.$$l)
|
|
482
|
-
for (const
|
|
483
|
-
const
|
|
484
|
-
this.$$l_u.set(
|
|
482
|
+
for (const o of this.$$l[s]) {
|
|
483
|
+
const f = this.$$c.$on(s, o);
|
|
484
|
+
this.$$l_u.set(o, f);
|
|
485
485
|
}
|
|
486
486
|
this.$$l = {};
|
|
487
487
|
}
|
|
@@ -489,7 +489,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
489
489
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
490
490
|
// and setting attributes through setAttribute etc, this is helpful
|
|
491
491
|
attributeChangedCallback(t, e, n) {
|
|
492
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
492
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = R(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
|
|
493
493
|
}
|
|
494
494
|
disconnectedCallback() {
|
|
495
495
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -502,7 +502,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
502
502
|
) || t;
|
|
503
503
|
}
|
|
504
504
|
});
|
|
505
|
-
function
|
|
505
|
+
function R(t, e, n, i) {
|
|
506
506
|
const s = n[t]?.type;
|
|
507
507
|
if (e = s === "Boolean" && typeof e != "boolean" ? e != null : e, !i || !n[t])
|
|
508
508
|
return e;
|
|
@@ -531,34 +531,34 @@ function T(t, e, n, i) {
|
|
|
531
531
|
return e;
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function Wt(t, e, n, i, s,
|
|
535
|
-
let
|
|
534
|
+
function Wt(t, e, n, i, s, o) {
|
|
535
|
+
let f = class extends ft {
|
|
536
536
|
constructor() {
|
|
537
537
|
super(t, n, s), this.$$p_d = e;
|
|
538
538
|
}
|
|
539
539
|
static get observedAttributes() {
|
|
540
540
|
return Object.keys(e).map(
|
|
541
|
-
(
|
|
541
|
+
(r) => (e[r].attribute || r).toLowerCase()
|
|
542
542
|
);
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
|
-
return Object.keys(e).forEach((
|
|
546
|
-
Object.defineProperty(
|
|
545
|
+
return Object.keys(e).forEach((r) => {
|
|
546
|
+
Object.defineProperty(f.prototype, r, {
|
|
547
547
|
get() {
|
|
548
|
-
return this.$$c &&
|
|
548
|
+
return this.$$c && r in this.$$c ? this.$$c[r] : this.$$d[r];
|
|
549
549
|
},
|
|
550
|
-
set(
|
|
551
|
-
|
|
550
|
+
set(c) {
|
|
551
|
+
c = R(r, c, e), this.$$d[r] = c, this.$$c?.$set({ [r]: c });
|
|
552
552
|
}
|
|
553
553
|
});
|
|
554
|
-
}), i.forEach((
|
|
555
|
-
Object.defineProperty(
|
|
554
|
+
}), i.forEach((r) => {
|
|
555
|
+
Object.defineProperty(f.prototype, r, {
|
|
556
556
|
get() {
|
|
557
|
-
return this.$$c?.[
|
|
557
|
+
return this.$$c?.[r];
|
|
558
558
|
}
|
|
559
559
|
});
|
|
560
560
|
}), t.element = /** @type {any} */
|
|
561
|
-
|
|
561
|
+
f, f;
|
|
562
562
|
}
|
|
563
563
|
class qt {
|
|
564
564
|
/**
|
|
@@ -579,7 +579,7 @@ class qt {
|
|
|
579
579
|
$$set = void 0;
|
|
580
580
|
/** @returns {void} */
|
|
581
581
|
$destroy() {
|
|
582
|
-
|
|
582
|
+
It(this, 1), this.$destroy = L;
|
|
583
583
|
}
|
|
584
584
|
/**
|
|
585
585
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -589,7 +589,7 @@ class qt {
|
|
|
589
589
|
*/
|
|
590
590
|
$on(e, n) {
|
|
591
591
|
if (!G(n))
|
|
592
|
-
return
|
|
592
|
+
return L;
|
|
593
593
|
const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
594
594
|
return i.push(n), () => {
|
|
595
595
|
const s = i.indexOf(n);
|
|
@@ -612,72 +612,95 @@ function nt(t, { delay: e = 0, duration: n = 400, easing: i = st } = {}) {
|
|
|
612
612
|
delay: e,
|
|
613
613
|
duration: n,
|
|
614
614
|
easing: i,
|
|
615
|
-
css: (
|
|
615
|
+
css: (o) => `opacity: ${o * s}`
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
|
-
function Kt(t) {
|
|
618
|
+
function Kt(t, e) {
|
|
619
|
+
if (t) {
|
|
620
|
+
const n = document.createElement("style");
|
|
621
|
+
n.innerHTML = e, t.appendChild(n);
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
function Qt(t, e) {
|
|
625
|
+
const n = new URL(e);
|
|
626
|
+
fetch(n.href).then((i) => i.text()).then((i) => {
|
|
627
|
+
const s = document.createElement("style");
|
|
628
|
+
s.innerHTML = i, t && t.appendChild(s);
|
|
629
|
+
}).catch((i) => {
|
|
630
|
+
console.error("There was an error while trying to load client styling from URL", i);
|
|
631
|
+
});
|
|
632
|
+
}
|
|
633
|
+
function Xt(t, e, n) {
|
|
634
|
+
if (window.emMessageBus) {
|
|
635
|
+
const i = document.createElement("style");
|
|
636
|
+
window.emMessageBus.subscribe(e, (s) => {
|
|
637
|
+
i.innerHTML = s, t && t.appendChild(i);
|
|
638
|
+
});
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
function Yt(t) {
|
|
619
642
|
bt(t, "svelte-126fglp", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}");
|
|
620
643
|
}
|
|
621
644
|
function it(t) {
|
|
622
|
-
let e, n, i, s,
|
|
623
|
-
const
|
|
645
|
+
let e, n, i, s, o;
|
|
646
|
+
const f = (
|
|
624
647
|
/*#slots*/
|
|
625
|
-
t[
|
|
626
|
-
),
|
|
627
|
-
|
|
648
|
+
t[9].default
|
|
649
|
+
), r = _t(
|
|
650
|
+
f,
|
|
628
651
|
t,
|
|
629
652
|
/*$$scope*/
|
|
630
|
-
t[
|
|
653
|
+
t[8],
|
|
631
654
|
null
|
|
632
655
|
);
|
|
633
656
|
return {
|
|
634
657
|
c() {
|
|
635
|
-
e =
|
|
658
|
+
e = E("div"), n = E("div"), i = E("div"), r && r.c(), P(i, "class", "ModalContainer"), P(n, "class", "ModalWindow"), P(n, "id", "Modal");
|
|
636
659
|
},
|
|
637
|
-
m(
|
|
638
|
-
X(
|
|
660
|
+
m(c, l) {
|
|
661
|
+
X(c, e, l), V(e, n), V(n, i), r && r.m(i, null), t[10](n), t[11](e), o = !0;
|
|
639
662
|
},
|
|
640
|
-
p(
|
|
641
|
-
t =
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
663
|
+
p(c, l) {
|
|
664
|
+
t = c, r && r.p && (!o || l & /*$$scope*/
|
|
665
|
+
256) && gt(
|
|
666
|
+
r,
|
|
667
|
+
f,
|
|
645
668
|
t,
|
|
646
669
|
/*$$scope*/
|
|
647
|
-
t[
|
|
648
|
-
|
|
649
|
-
|
|
670
|
+
t[8],
|
|
671
|
+
o ? mt(
|
|
672
|
+
f,
|
|
650
673
|
/*$$scope*/
|
|
651
|
-
t[
|
|
652
|
-
|
|
674
|
+
t[8],
|
|
675
|
+
l,
|
|
653
676
|
null
|
|
654
677
|
) : yt(
|
|
655
678
|
/*$$scope*/
|
|
656
|
-
t[
|
|
679
|
+
t[8]
|
|
657
680
|
),
|
|
658
681
|
null
|
|
659
682
|
);
|
|
660
683
|
},
|
|
661
|
-
i(
|
|
662
|
-
|
|
663
|
-
|
|
684
|
+
i(c) {
|
|
685
|
+
o || (S(r, c), c && j(() => {
|
|
686
|
+
o && (s || (s = et(n, nt, { transitionDuration: (
|
|
664
687
|
/*duration*/
|
|
665
688
|
t[1]
|
|
666
689
|
) }, !0)), s.run(1));
|
|
667
|
-
}),
|
|
690
|
+
}), o = !0);
|
|
668
691
|
},
|
|
669
|
-
o(
|
|
670
|
-
q(
|
|
692
|
+
o(c) {
|
|
693
|
+
q(r, c), c && (s || (s = et(n, nt, { transitionDuration: (
|
|
671
694
|
/*duration*/
|
|
672
695
|
t[1]
|
|
673
|
-
) }, !1)), s.run(0)),
|
|
696
|
+
) }, !1)), s.run(0)), o = !1;
|
|
674
697
|
},
|
|
675
|
-
d(
|
|
676
|
-
|
|
698
|
+
d(c) {
|
|
699
|
+
c && A(e), r && r.d(c), t[10](null), c && s && s.end(), t[11](null);
|
|
677
700
|
}
|
|
678
701
|
};
|
|
679
702
|
}
|
|
680
|
-
function
|
|
703
|
+
function Zt(t) {
|
|
681
704
|
let e, n, i = (
|
|
682
705
|
/*show*/
|
|
683
706
|
t[0] && it(t)
|
|
@@ -686,15 +709,15 @@ function Qt(t) {
|
|
|
686
709
|
c() {
|
|
687
710
|
i && i.c(), e = Ct();
|
|
688
711
|
},
|
|
689
|
-
m(s,
|
|
690
|
-
i && i.m(s,
|
|
712
|
+
m(s, o) {
|
|
713
|
+
i && i.m(s, o), X(s, e, o), n = !0;
|
|
691
714
|
},
|
|
692
|
-
p(s, [
|
|
715
|
+
p(s, [o]) {
|
|
693
716
|
/*show*/
|
|
694
|
-
s[0] ? i ? (i.p(s,
|
|
695
|
-
1 && S(i, 1)) : (i = it(s), i.c(), S(i, 1), i.m(e.parentNode, e)) : i && (
|
|
717
|
+
s[0] ? i ? (i.p(s, o), o & /*show*/
|
|
718
|
+
1 && S(i, 1)) : (i = it(s), i.c(), S(i, 1), i.m(e.parentNode, e)) : i && (Ht(), q(i, 1, 1, () => {
|
|
696
719
|
i = null;
|
|
697
|
-
}),
|
|
720
|
+
}), zt());
|
|
698
721
|
},
|
|
699
722
|
i(s) {
|
|
700
723
|
n || (S(i), n = !0);
|
|
@@ -703,118 +726,114 @@ function Qt(t) {
|
|
|
703
726
|
q(i), n = !1;
|
|
704
727
|
},
|
|
705
728
|
d(s) {
|
|
706
|
-
s &&
|
|
729
|
+
s && A(e), i && i.d(s);
|
|
707
730
|
}
|
|
708
731
|
};
|
|
709
732
|
}
|
|
710
|
-
function
|
|
711
|
-
let { $$slots: i = {}, $$scope: s } = e, { show:
|
|
712
|
-
const m = (
|
|
713
|
-
switch (
|
|
733
|
+
function te(t, e, n) {
|
|
734
|
+
let { $$slots: i = {}, $$scope: s } = e, { show: o = !1 } = e, { duration: f = 350 } = e, { clientstyling: r = "" } = e, { clientstylingurl: c = "" } = e, { mbsource: l } = e, { showmodaleventname: h = "ShowLimitsConfirmationModal" } = e, a, $;
|
|
735
|
+
const m = (u) => {
|
|
736
|
+
switch (u.data.type) {
|
|
714
737
|
case "ModalClosed":
|
|
715
|
-
n(0,
|
|
738
|
+
n(0, o = !1);
|
|
716
739
|
break;
|
|
717
|
-
case
|
|
718
|
-
n(0,
|
|
740
|
+
case h:
|
|
741
|
+
n(0, o = !0), window.postMessage({ type: "DisableScroll" }, window.location.href);
|
|
719
742
|
break;
|
|
720
743
|
}
|
|
721
|
-
}, g = () => {
|
|
722
|
-
let f = document.createElement("style");
|
|
723
|
-
f.innerHTML = o, h.appendChild(f);
|
|
724
|
-
}, a = () => {
|
|
725
|
-
let f = new URL(l), b = document.createElement("style");
|
|
726
|
-
fetch(f.href).then((p) => p.text()).then((p) => {
|
|
727
|
-
b.innerHTML = p, setTimeout(
|
|
728
|
-
() => {
|
|
729
|
-
h.appendChild(b);
|
|
730
|
-
},
|
|
731
|
-
1
|
|
732
|
-
);
|
|
733
|
-
});
|
|
734
744
|
};
|
|
735
745
|
Nt(() => (window.addEventListener("message", m, !1), () => {
|
|
736
746
|
window.removeEventListener("message", m);
|
|
737
747
|
}));
|
|
738
|
-
function
|
|
739
|
-
|
|
740
|
-
|
|
748
|
+
function d(u) {
|
|
749
|
+
H[u ? "unshift" : "push"](() => {
|
|
750
|
+
$ = u, n(3, $);
|
|
741
751
|
});
|
|
742
752
|
}
|
|
743
|
-
function
|
|
744
|
-
|
|
745
|
-
|
|
753
|
+
function _(u) {
|
|
754
|
+
H[u ? "unshift" : "push"](() => {
|
|
755
|
+
a = u, n(2, a);
|
|
746
756
|
});
|
|
747
757
|
}
|
|
748
|
-
return t.$$set = (
|
|
749
|
-
"show" in
|
|
758
|
+
return t.$$set = (u) => {
|
|
759
|
+
"show" in u && n(0, o = u.show), "duration" in u && n(1, f = u.duration), "clientstyling" in u && n(4, r = u.clientstyling), "clientstylingurl" in u && n(5, c = u.clientstylingurl), "mbsource" in u && n(6, l = u.mbsource), "showmodaleventname" in u && n(7, h = u.showmodaleventname), "$$scope" in u && n(8, s = u.$$scope);
|
|
750
760
|
}, t.$$.update = () => {
|
|
751
|
-
t.$$.dirty & /*
|
|
752
|
-
|
|
753
|
-
|
|
761
|
+
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
762
|
+
20 && r && a && Kt(a, r), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
763
|
+
36 && c && a && Qt(a, c), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
764
|
+
68 && l && a && Xt(a, `${l}.Style`);
|
|
754
765
|
}, [
|
|
755
|
-
r,
|
|
756
|
-
u,
|
|
757
|
-
h,
|
|
758
|
-
d,
|
|
759
766
|
o,
|
|
760
|
-
|
|
767
|
+
f,
|
|
768
|
+
a,
|
|
769
|
+
$,
|
|
770
|
+
r,
|
|
761
771
|
c,
|
|
772
|
+
l,
|
|
773
|
+
h,
|
|
762
774
|
s,
|
|
763
775
|
i,
|
|
764
|
-
|
|
765
|
-
|
|
776
|
+
d,
|
|
777
|
+
_
|
|
766
778
|
];
|
|
767
779
|
}
|
|
768
|
-
class
|
|
780
|
+
class ee extends qt {
|
|
769
781
|
constructor(e) {
|
|
770
782
|
super(), Vt(
|
|
771
783
|
this,
|
|
772
784
|
e,
|
|
773
|
-
|
|
774
|
-
|
|
785
|
+
te,
|
|
786
|
+
Zt,
|
|
775
787
|
ht,
|
|
776
788
|
{
|
|
777
789
|
show: 0,
|
|
778
790
|
duration: 1,
|
|
779
791
|
clientstyling: 4,
|
|
780
792
|
clientstylingurl: 5,
|
|
781
|
-
|
|
793
|
+
mbsource: 6,
|
|
794
|
+
showmodaleventname: 7
|
|
782
795
|
},
|
|
783
|
-
|
|
796
|
+
Yt
|
|
784
797
|
);
|
|
785
798
|
}
|
|
786
799
|
get show() {
|
|
787
800
|
return this.$$.ctx[0];
|
|
788
801
|
}
|
|
789
802
|
set show(e) {
|
|
790
|
-
this.$$set({ show: e }),
|
|
803
|
+
this.$$set({ show: e }), y();
|
|
791
804
|
}
|
|
792
805
|
get duration() {
|
|
793
806
|
return this.$$.ctx[1];
|
|
794
807
|
}
|
|
795
808
|
set duration(e) {
|
|
796
|
-
this.$$set({ duration: e }),
|
|
809
|
+
this.$$set({ duration: e }), y();
|
|
797
810
|
}
|
|
798
811
|
get clientstyling() {
|
|
799
812
|
return this.$$.ctx[4];
|
|
800
813
|
}
|
|
801
814
|
set clientstyling(e) {
|
|
802
|
-
this.$$set({ clientstyling: e }),
|
|
815
|
+
this.$$set({ clientstyling: e }), y();
|
|
803
816
|
}
|
|
804
817
|
get clientstylingurl() {
|
|
805
818
|
return this.$$.ctx[5];
|
|
806
819
|
}
|
|
807
820
|
set clientstylingurl(e) {
|
|
808
|
-
this.$$set({ clientstylingurl: e }),
|
|
821
|
+
this.$$set({ clientstylingurl: e }), y();
|
|
809
822
|
}
|
|
810
|
-
get
|
|
823
|
+
get mbsource() {
|
|
811
824
|
return this.$$.ctx[6];
|
|
812
825
|
}
|
|
826
|
+
set mbsource(e) {
|
|
827
|
+
this.$$set({ mbsource: e }), y();
|
|
828
|
+
}
|
|
829
|
+
get showmodaleventname() {
|
|
830
|
+
return this.$$.ctx[7];
|
|
831
|
+
}
|
|
813
832
|
set showmodaleventname(e) {
|
|
814
|
-
this.$$set({ showmodaleventname: e }),
|
|
833
|
+
this.$$set({ showmodaleventname: e }), y();
|
|
815
834
|
}
|
|
816
835
|
}
|
|
817
|
-
Wt(
|
|
836
|
+
Wt(ee, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
|
|
818
837
|
export {
|
|
819
|
-
|
|
838
|
+
ee as P
|
|
820
839
|
};
|