@everymatrix/casino-tournaments-page-controller 1.43.4 → 1.45.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/CasinoTournamentsDetails-CpUZgR90.cjs +1 -0
- package/components/CasinoTournamentsDetails-i29jA8rz.js +865 -0
- package/components/CasinoTournamentsPageController-DQ45sNO3.cjs +25 -0
- package/components/CasinoTournamentsPageController-ccenf33p.js +8538 -0
- package/components/CasinoTournamentsRank-D0dnyjxl.cjs +1 -0
- package/components/CasinoTournamentsRank-DCsenD0C.js +271 -0
- package/components/CasinoTournamentsTab-CFqMNyyL.cjs +1 -0
- package/components/CasinoTournamentsTab-DY421_qt.js +283 -0
- package/components/CasinoTournamentsTable-CMFlsTqb.cjs +1 -0
- package/components/CasinoTournamentsTable-QzFroNHV.js +1671 -0
- package/components/CasinoTournamentsThumbnail-DeSrN8lz.js +866 -0
- package/components/CasinoTournamentsThumbnail-XJuOILgc.cjs +4 -0
- package/components/CasinoTournamentsThumbnailController-DyNwJHm-.js +1406 -0
- package/components/CasinoTournamentsThumbnailController-dcrtzpP3.cjs +1 -0
- package/components/CasinoTournamentsThumbnailDuration-BVjz4efB.js +496 -0
- package/components/CasinoTournamentsThumbnailDuration-Dp9sLahL.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-BxG-LO0T.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-GmLhEgpL.js +439 -0
- package/components/CasinoTournamentsThumbnailPrizes-BADuIugn.js +311 -0
- package/components/CasinoTournamentsThumbnailPrizes-Cq3GMug5.cjs +1 -0
- package/components/CasinoTournamentsThumbnailRule-B_eRZkOt.js +1110 -0
- package/components/CasinoTournamentsThumbnailRule-BgZe_JWI.cjs +1 -0
- package/es2015/casino-tournaments-page-controller.cjs +1 -0
- package/es2015/casino-tournaments-page-controller.js +16 -0
- package/package.json +22 -32
- package/.eslintrc +0 -84
- package/CHANGELOG.md +0 -7
- package/README.md +0 -0
- package/dist/casino-tournaments-page-controller.js +0 -2
- package/dist/casino-tournaments-page-controller.js.map +0 -1
- package/documentation.md +0 -119
- package/index.html +0 -35
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/CasinoTournamentsPageController.svelte +0 -873
- package/src/i18n.js +0 -28
- package/src/images/game-casino.svg +0 -684
- package/src/images/game-sports.svg +0 -485
- package/src/index.ts +0 -4
- package/src/translations.js +0 -202
- package/stories/CasinoTournamentsPageController.stories.js +0 -13
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,865 @@
|
|
|
1
|
+
var nt = Object.defineProperty, st = Object.defineProperties;
|
|
2
|
+
var it = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var U = Object.getOwnPropertySymbols;
|
|
4
|
+
var rt = Object.prototype.hasOwnProperty, lt = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var P = (e, t, n) => t in e ? nt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, W = (e, t) => {
|
|
6
|
+
for (var n in t || (t = {}))
|
|
7
|
+
rt.call(t, n) && P(e, n, t[n]);
|
|
8
|
+
if (U)
|
|
9
|
+
for (var n of U(t))
|
|
10
|
+
lt.call(t, n) && P(e, n, t[n]);
|
|
11
|
+
return e;
|
|
12
|
+
}, J = (e, t) => st(e, it(t));
|
|
13
|
+
var h = (e, t, n) => P(e, typeof t != "symbol" ? t + "" : t, n);
|
|
14
|
+
var V = (e, t, n) => new Promise((s, r) => {
|
|
15
|
+
var i = (f) => {
|
|
16
|
+
try {
|
|
17
|
+
u(n.next(f));
|
|
18
|
+
} catch (c) {
|
|
19
|
+
r(c);
|
|
20
|
+
}
|
|
21
|
+
}, l = (f) => {
|
|
22
|
+
try {
|
|
23
|
+
u(n.throw(f));
|
|
24
|
+
} catch (c) {
|
|
25
|
+
r(c);
|
|
26
|
+
}
|
|
27
|
+
}, u = (f) => f.done ? s(f.value) : Promise.resolve(f.value).then(i, l);
|
|
28
|
+
u((n = n.apply(e, t)).next());
|
|
29
|
+
});
|
|
30
|
+
function b() {
|
|
31
|
+
}
|
|
32
|
+
function Y(e) {
|
|
33
|
+
return e();
|
|
34
|
+
}
|
|
35
|
+
function G() {
|
|
36
|
+
return /* @__PURE__ */ Object.create(null);
|
|
37
|
+
}
|
|
38
|
+
function O(e) {
|
|
39
|
+
e.forEach(Y);
|
|
40
|
+
}
|
|
41
|
+
function F(e) {
|
|
42
|
+
return typeof e == "function";
|
|
43
|
+
}
|
|
44
|
+
function ot(e, t) {
|
|
45
|
+
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
|
+
}
|
|
47
|
+
let M;
|
|
48
|
+
function Bt(e, t) {
|
|
49
|
+
return e === t ? !0 : (M || (M = document.createElement("a")), M.href = t, e === M.href);
|
|
50
|
+
}
|
|
51
|
+
function ct(e) {
|
|
52
|
+
return Object.keys(e).length === 0;
|
|
53
|
+
}
|
|
54
|
+
function ut(e, ...t) {
|
|
55
|
+
if (e == null) {
|
|
56
|
+
for (const s of t)
|
|
57
|
+
s(void 0);
|
|
58
|
+
return b;
|
|
59
|
+
}
|
|
60
|
+
const n = e.subscribe(...t);
|
|
61
|
+
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
62
|
+
}
|
|
63
|
+
function zt(e, t, n) {
|
|
64
|
+
e.$$.on_destroy.push(ut(t, n));
|
|
65
|
+
}
|
|
66
|
+
function Ht(e) {
|
|
67
|
+
return e == null ? "" : e;
|
|
68
|
+
}
|
|
69
|
+
function ft(e) {
|
|
70
|
+
return e && F(e.destroy) ? e.destroy : b;
|
|
71
|
+
}
|
|
72
|
+
function g(e, t) {
|
|
73
|
+
e.appendChild(t);
|
|
74
|
+
}
|
|
75
|
+
function dt(e, t, n) {
|
|
76
|
+
const s = at(e);
|
|
77
|
+
if (!s.getElementById(t)) {
|
|
78
|
+
const r = m("style");
|
|
79
|
+
r.id = t, r.textContent = n, ht(s, r);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
function at(e) {
|
|
83
|
+
if (!e) return document;
|
|
84
|
+
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
85
|
+
return t && /** @type {ShadowRoot} */
|
|
86
|
+
t.host ? (
|
|
87
|
+
/** @type {ShadowRoot} */
|
|
88
|
+
t
|
|
89
|
+
) : e.ownerDocument;
|
|
90
|
+
}
|
|
91
|
+
function ht(e, t) {
|
|
92
|
+
return g(
|
|
93
|
+
/** @type {Document} */
|
|
94
|
+
e.head || e,
|
|
95
|
+
t
|
|
96
|
+
), t.sheet;
|
|
97
|
+
}
|
|
98
|
+
function w(e, t, n) {
|
|
99
|
+
e.insertBefore(t, n || null);
|
|
100
|
+
}
|
|
101
|
+
function _(e) {
|
|
102
|
+
e.parentNode && e.parentNode.removeChild(e);
|
|
103
|
+
}
|
|
104
|
+
function Rt(e, t) {
|
|
105
|
+
for (let n = 0; n < e.length; n += 1)
|
|
106
|
+
e[n] && e[n].d(t);
|
|
107
|
+
}
|
|
108
|
+
function m(e) {
|
|
109
|
+
return document.createElement(e);
|
|
110
|
+
}
|
|
111
|
+
function T(e) {
|
|
112
|
+
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
113
|
+
}
|
|
114
|
+
function q(e) {
|
|
115
|
+
return document.createTextNode(e);
|
|
116
|
+
}
|
|
117
|
+
function Z() {
|
|
118
|
+
return q(" ");
|
|
119
|
+
}
|
|
120
|
+
function It() {
|
|
121
|
+
return q("");
|
|
122
|
+
}
|
|
123
|
+
function z(e, t, n, s) {
|
|
124
|
+
return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
|
|
125
|
+
}
|
|
126
|
+
function o(e, t, n) {
|
|
127
|
+
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
128
|
+
}
|
|
129
|
+
function qt(e, t, n) {
|
|
130
|
+
const s = t.toLowerCase();
|
|
131
|
+
s in e ? e[s] = typeof e[s] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : o(e, t, n);
|
|
132
|
+
}
|
|
133
|
+
function $t(e) {
|
|
134
|
+
return Array.from(e.childNodes);
|
|
135
|
+
}
|
|
136
|
+
function pt(e, t) {
|
|
137
|
+
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
138
|
+
t);
|
|
139
|
+
}
|
|
140
|
+
function Ut(e, t, n, s) {
|
|
141
|
+
n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
|
|
142
|
+
}
|
|
143
|
+
let S;
|
|
144
|
+
function gt() {
|
|
145
|
+
if (S === void 0) {
|
|
146
|
+
S = !1;
|
|
147
|
+
try {
|
|
148
|
+
typeof window != "undefined" && window.parent && window.parent.document;
|
|
149
|
+
} catch (e) {
|
|
150
|
+
S = !0;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
return S;
|
|
154
|
+
}
|
|
155
|
+
function Wt(e, t) {
|
|
156
|
+
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
|
157
|
+
const s = m("iframe");
|
|
158
|
+
s.setAttribute(
|
|
159
|
+
"style",
|
|
160
|
+
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
|
161
|
+
), s.setAttribute("aria-hidden", "true"), s.tabIndex = -1;
|
|
162
|
+
const r = gt();
|
|
163
|
+
let i;
|
|
164
|
+
return r ? (s.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", i = z(
|
|
165
|
+
window,
|
|
166
|
+
"message",
|
|
167
|
+
/** @param {MessageEvent} event */
|
|
168
|
+
(l) => {
|
|
169
|
+
l.source === s.contentWindow && t();
|
|
170
|
+
}
|
|
171
|
+
)) : (s.src = "about:blank", s.onload = () => {
|
|
172
|
+
i = z(s.contentWindow, "resize", t), t();
|
|
173
|
+
}), g(e, s), () => {
|
|
174
|
+
(r || i && s.contentWindow) && i(), _(s);
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
function Jt(e, t, n) {
|
|
178
|
+
e.classList.toggle(t, !!n);
|
|
179
|
+
}
|
|
180
|
+
class Vt {
|
|
181
|
+
constructor(t = !1) {
|
|
182
|
+
/**
|
|
183
|
+
* @private
|
|
184
|
+
* @default false
|
|
185
|
+
*/
|
|
186
|
+
h(this, "is_svg", !1);
|
|
187
|
+
/** parent for creating node */
|
|
188
|
+
h(this, "e");
|
|
189
|
+
/** html tag nodes */
|
|
190
|
+
h(this, "n");
|
|
191
|
+
/** target */
|
|
192
|
+
h(this, "t");
|
|
193
|
+
/** anchor */
|
|
194
|
+
h(this, "a");
|
|
195
|
+
this.is_svg = t, this.e = this.n = null;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* @param {string} html
|
|
199
|
+
* @returns {void}
|
|
200
|
+
*/
|
|
201
|
+
c(t) {
|
|
202
|
+
this.h(t);
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* @param {string} html
|
|
206
|
+
* @param {HTMLElement | SVGElement} target
|
|
207
|
+
* @param {HTMLElement | SVGElement} anchor
|
|
208
|
+
* @returns {void}
|
|
209
|
+
*/
|
|
210
|
+
m(t, n, s = null) {
|
|
211
|
+
this.e || (this.is_svg ? this.e = T(
|
|
212
|
+
/** @type {keyof SVGElementTagNameMap} */
|
|
213
|
+
n.nodeName
|
|
214
|
+
) : this.e = m(
|
|
215
|
+
/** @type {keyof HTMLElementTagNameMap} */
|
|
216
|
+
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
217
|
+
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
218
|
+
/** @type {HTMLTemplateElement} */
|
|
219
|
+
n.content
|
|
220
|
+
), this.c(t)), this.i(s);
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @param {string} html
|
|
224
|
+
* @returns {void}
|
|
225
|
+
*/
|
|
226
|
+
h(t) {
|
|
227
|
+
this.e.innerHTML = t, this.n = Array.from(
|
|
228
|
+
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* @returns {void} */
|
|
233
|
+
i(t) {
|
|
234
|
+
for (let n = 0; n < this.n.length; n += 1)
|
|
235
|
+
w(this.t, this.n[n], t);
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* @param {string} html
|
|
239
|
+
* @returns {void}
|
|
240
|
+
*/
|
|
241
|
+
p(t) {
|
|
242
|
+
this.d(), this.h(t), this.i(this.a);
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* @returns {void} */
|
|
246
|
+
d() {
|
|
247
|
+
this.n.forEach(_);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
function mt(e) {
|
|
251
|
+
const t = {};
|
|
252
|
+
return e.childNodes.forEach(
|
|
253
|
+
/** @param {Element} node */
|
|
254
|
+
(n) => {
|
|
255
|
+
t[n.slot || "default"] = !0;
|
|
256
|
+
}
|
|
257
|
+
), t;
|
|
258
|
+
}
|
|
259
|
+
let L;
|
|
260
|
+
function C(e) {
|
|
261
|
+
L = e;
|
|
262
|
+
}
|
|
263
|
+
function _t() {
|
|
264
|
+
if (!L) throw new Error("Function called outside component initialization");
|
|
265
|
+
return L;
|
|
266
|
+
}
|
|
267
|
+
function Gt(e) {
|
|
268
|
+
_t().$$.on_mount.push(e);
|
|
269
|
+
}
|
|
270
|
+
const x = [], H = [];
|
|
271
|
+
let E = [];
|
|
272
|
+
const K = [], bt = /* @__PURE__ */ Promise.resolve();
|
|
273
|
+
let R = !1;
|
|
274
|
+
function wt() {
|
|
275
|
+
R || (R = !0, bt.then(v));
|
|
276
|
+
}
|
|
277
|
+
function I(e) {
|
|
278
|
+
E.push(e);
|
|
279
|
+
}
|
|
280
|
+
const B = /* @__PURE__ */ new Set();
|
|
281
|
+
let k = 0;
|
|
282
|
+
function v() {
|
|
283
|
+
if (k !== 0)
|
|
284
|
+
return;
|
|
285
|
+
const e = L;
|
|
286
|
+
do {
|
|
287
|
+
try {
|
|
288
|
+
for (; k < x.length; ) {
|
|
289
|
+
const t = x[k];
|
|
290
|
+
k++, C(t), yt(t.$$);
|
|
291
|
+
}
|
|
292
|
+
} catch (t) {
|
|
293
|
+
throw x.length = 0, k = 0, t;
|
|
294
|
+
}
|
|
295
|
+
for (C(null), x.length = 0, k = 0; H.length; ) H.pop()();
|
|
296
|
+
for (let t = 0; t < E.length; t += 1) {
|
|
297
|
+
const n = E[t];
|
|
298
|
+
B.has(n) || (B.add(n), n());
|
|
299
|
+
}
|
|
300
|
+
E.length = 0;
|
|
301
|
+
} while (x.length);
|
|
302
|
+
for (; K.length; )
|
|
303
|
+
K.pop()();
|
|
304
|
+
R = !1, B.clear(), C(e);
|
|
305
|
+
}
|
|
306
|
+
function yt(e) {
|
|
307
|
+
if (e.fragment !== null) {
|
|
308
|
+
e.update(), O(e.before_update);
|
|
309
|
+
const t = e.dirty;
|
|
310
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(I);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
function kt(e) {
|
|
314
|
+
const t = [], n = [];
|
|
315
|
+
E.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), E = t;
|
|
316
|
+
}
|
|
317
|
+
const xt = /* @__PURE__ */ new Set();
|
|
318
|
+
function vt(e, t) {
|
|
319
|
+
e && e.i && (xt.delete(e), e.i(t));
|
|
320
|
+
}
|
|
321
|
+
function Kt(e) {
|
|
322
|
+
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
323
|
+
}
|
|
324
|
+
function Et(e, t, n) {
|
|
325
|
+
const { fragment: s, after_update: r } = e.$$;
|
|
326
|
+
s && s.m(t, n), I(() => {
|
|
327
|
+
const i = e.$$.on_mount.map(Y).filter(F);
|
|
328
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...i) : O(i), e.$$.on_mount = [];
|
|
329
|
+
}), r.forEach(I);
|
|
330
|
+
}
|
|
331
|
+
function Ct(e, t) {
|
|
332
|
+
const n = e.$$;
|
|
333
|
+
n.fragment !== null && (kt(n.after_update), O(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
334
|
+
}
|
|
335
|
+
function Tt(e, t) {
|
|
336
|
+
e.$$.dirty[0] === -1 && (x.push(e), wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
337
|
+
}
|
|
338
|
+
function Lt(e, t, n, s, r, i, l = null, u = [-1]) {
|
|
339
|
+
const f = L;
|
|
340
|
+
C(e);
|
|
341
|
+
const c = e.$$ = {
|
|
342
|
+
fragment: null,
|
|
343
|
+
ctx: [],
|
|
344
|
+
// state
|
|
345
|
+
props: i,
|
|
346
|
+
update: b,
|
|
347
|
+
not_equal: r,
|
|
348
|
+
bound: G(),
|
|
349
|
+
// lifecycle
|
|
350
|
+
on_mount: [],
|
|
351
|
+
on_destroy: [],
|
|
352
|
+
on_disconnect: [],
|
|
353
|
+
before_update: [],
|
|
354
|
+
after_update: [],
|
|
355
|
+
context: new Map(t.context || (f ? f.$$.context : [])),
|
|
356
|
+
// everything else
|
|
357
|
+
callbacks: G(),
|
|
358
|
+
dirty: u,
|
|
359
|
+
skip_bound: !1,
|
|
360
|
+
root: t.target || f.$$.root
|
|
361
|
+
};
|
|
362
|
+
l && l(c.root);
|
|
363
|
+
let $ = !1;
|
|
364
|
+
if (c.ctx = n ? n(e, t.props || {}, (d, p, ...A) => {
|
|
365
|
+
const j = A.length ? A[0] : p;
|
|
366
|
+
return c.ctx && r(c.ctx[d], c.ctx[d] = j) && (!c.skip_bound && c.bound[d] && c.bound[d](j), $ && Tt(e, d)), p;
|
|
367
|
+
}) : [], c.update(), $ = !0, O(c.before_update), c.fragment = s ? s(c.ctx) : !1, t.target) {
|
|
368
|
+
if (t.hydrate) {
|
|
369
|
+
const d = $t(t.target);
|
|
370
|
+
c.fragment && c.fragment.l(d), d.forEach(_);
|
|
371
|
+
} else
|
|
372
|
+
c.fragment && c.fragment.c();
|
|
373
|
+
t.intro && vt(e.$$.fragment), Et(e, t.target, t.anchor), v();
|
|
374
|
+
}
|
|
375
|
+
C(f);
|
|
376
|
+
}
|
|
377
|
+
let tt;
|
|
378
|
+
typeof HTMLElement == "function" && (tt = class extends HTMLElement {
|
|
379
|
+
constructor(t, n, s) {
|
|
380
|
+
super();
|
|
381
|
+
/** The Svelte component constructor */
|
|
382
|
+
h(this, "$$ctor");
|
|
383
|
+
/** Slots */
|
|
384
|
+
h(this, "$$s");
|
|
385
|
+
/** The Svelte component instance */
|
|
386
|
+
h(this, "$$c");
|
|
387
|
+
/** Whether or not the custom element is connected */
|
|
388
|
+
h(this, "$$cn", !1);
|
|
389
|
+
/** Component props data */
|
|
390
|
+
h(this, "$$d", {});
|
|
391
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
392
|
+
h(this, "$$r", !1);
|
|
393
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
394
|
+
h(this, "$$p_d", {});
|
|
395
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
396
|
+
h(this, "$$l", {});
|
|
397
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
398
|
+
h(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
399
|
+
this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
|
|
400
|
+
}
|
|
401
|
+
addEventListener(t, n, s) {
|
|
402
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
|
|
403
|
+
const r = this.$$c.$on(t, n);
|
|
404
|
+
this.$$l_u.set(n, r);
|
|
405
|
+
}
|
|
406
|
+
super.addEventListener(t, n, s);
|
|
407
|
+
}
|
|
408
|
+
removeEventListener(t, n, s) {
|
|
409
|
+
if (super.removeEventListener(t, n, s), this.$$c) {
|
|
410
|
+
const r = this.$$l_u.get(n);
|
|
411
|
+
r && (r(), this.$$l_u.delete(n));
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
connectedCallback() {
|
|
415
|
+
return V(this, null, function* () {
|
|
416
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
417
|
+
let t = function(i) {
|
|
418
|
+
return () => {
|
|
419
|
+
let l;
|
|
420
|
+
return {
|
|
421
|
+
c: function() {
|
|
422
|
+
l = m("slot"), i !== "default" && o(l, "name", i);
|
|
423
|
+
},
|
|
424
|
+
/**
|
|
425
|
+
* @param {HTMLElement} target
|
|
426
|
+
* @param {HTMLElement} [anchor]
|
|
427
|
+
*/
|
|
428
|
+
m: function(c, $) {
|
|
429
|
+
w(c, l, $);
|
|
430
|
+
},
|
|
431
|
+
d: function(c) {
|
|
432
|
+
c && _(l);
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
438
|
+
return;
|
|
439
|
+
const n = {}, s = mt(this);
|
|
440
|
+
for (const i of this.$$s)
|
|
441
|
+
i in s && (n[i] = [t(i)]);
|
|
442
|
+
for (const i of this.attributes) {
|
|
443
|
+
const l = this.$$g_p(i.name);
|
|
444
|
+
l in this.$$d || (this.$$d[l] = D(l, i.value, this.$$p_d, "toProp"));
|
|
445
|
+
}
|
|
446
|
+
for (const i in this.$$p_d)
|
|
447
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
448
|
+
this.$$c = new this.$$ctor({
|
|
449
|
+
target: this.shadowRoot || this,
|
|
450
|
+
props: J(W({}, this.$$d), {
|
|
451
|
+
$$slots: n,
|
|
452
|
+
$$scope: {
|
|
453
|
+
ctx: []
|
|
454
|
+
}
|
|
455
|
+
})
|
|
456
|
+
});
|
|
457
|
+
const r = () => {
|
|
458
|
+
this.$$r = !0;
|
|
459
|
+
for (const i in this.$$p_d)
|
|
460
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
461
|
+
const l = D(
|
|
462
|
+
i,
|
|
463
|
+
this.$$d[i],
|
|
464
|
+
this.$$p_d,
|
|
465
|
+
"toAttribute"
|
|
466
|
+
);
|
|
467
|
+
l == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, l);
|
|
468
|
+
}
|
|
469
|
+
this.$$r = !1;
|
|
470
|
+
};
|
|
471
|
+
this.$$c.$$.after_update.push(r), r();
|
|
472
|
+
for (const i in this.$$l)
|
|
473
|
+
for (const l of this.$$l[i]) {
|
|
474
|
+
const u = this.$$c.$on(i, l);
|
|
475
|
+
this.$$l_u.set(l, u);
|
|
476
|
+
}
|
|
477
|
+
this.$$l = {};
|
|
478
|
+
}
|
|
479
|
+
});
|
|
480
|
+
}
|
|
481
|
+
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
482
|
+
// and setting attributes through setAttribute etc, this is helpful
|
|
483
|
+
attributeChangedCallback(t, n, s) {
|
|
484
|
+
var r;
|
|
485
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = D(t, s, this.$$p_d, "toProp"), (r = this.$$c) == null || r.$set({ [t]: this.$$d[t] }));
|
|
486
|
+
}
|
|
487
|
+
disconnectedCallback() {
|
|
488
|
+
this.$$cn = !1, Promise.resolve().then(() => {
|
|
489
|
+
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
490
|
+
});
|
|
491
|
+
}
|
|
492
|
+
$$g_p(t) {
|
|
493
|
+
return Object.keys(this.$$p_d).find(
|
|
494
|
+
(n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
|
|
495
|
+
) || t;
|
|
496
|
+
}
|
|
497
|
+
});
|
|
498
|
+
function D(e, t, n, s) {
|
|
499
|
+
var i;
|
|
500
|
+
const r = (i = n[e]) == null ? void 0 : i.type;
|
|
501
|
+
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
|
|
502
|
+
return t;
|
|
503
|
+
if (s === "toAttribute")
|
|
504
|
+
switch (r) {
|
|
505
|
+
case "Object":
|
|
506
|
+
case "Array":
|
|
507
|
+
return t == null ? null : JSON.stringify(t);
|
|
508
|
+
case "Boolean":
|
|
509
|
+
return t ? "" : null;
|
|
510
|
+
case "Number":
|
|
511
|
+
return t == null ? null : t;
|
|
512
|
+
default:
|
|
513
|
+
return t;
|
|
514
|
+
}
|
|
515
|
+
else
|
|
516
|
+
switch (r) {
|
|
517
|
+
case "Object":
|
|
518
|
+
case "Array":
|
|
519
|
+
return t && JSON.parse(t);
|
|
520
|
+
case "Boolean":
|
|
521
|
+
return t;
|
|
522
|
+
case "Number":
|
|
523
|
+
return t != null ? +t : t;
|
|
524
|
+
default:
|
|
525
|
+
return t;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
function At(e, t, n, s, r, i) {
|
|
529
|
+
let l = class extends tt {
|
|
530
|
+
constructor() {
|
|
531
|
+
super(e, n, r), this.$$p_d = t;
|
|
532
|
+
}
|
|
533
|
+
static get observedAttributes() {
|
|
534
|
+
return Object.keys(t).map(
|
|
535
|
+
(u) => (t[u].attribute || u).toLowerCase()
|
|
536
|
+
);
|
|
537
|
+
}
|
|
538
|
+
};
|
|
539
|
+
return Object.keys(t).forEach((u) => {
|
|
540
|
+
Object.defineProperty(l.prototype, u, {
|
|
541
|
+
get() {
|
|
542
|
+
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
543
|
+
},
|
|
544
|
+
set(f) {
|
|
545
|
+
var c;
|
|
546
|
+
f = D(u, f, t), this.$$d[u] = f, (c = this.$$c) == null || c.$set({ [u]: f });
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
}), s.forEach((u) => {
|
|
550
|
+
Object.defineProperty(l.prototype, u, {
|
|
551
|
+
get() {
|
|
552
|
+
var f;
|
|
553
|
+
return (f = this.$$c) == null ? void 0 : f[u];
|
|
554
|
+
}
|
|
555
|
+
});
|
|
556
|
+
}), e.element = /** @type {any} */
|
|
557
|
+
l, l;
|
|
558
|
+
}
|
|
559
|
+
class jt {
|
|
560
|
+
constructor() {
|
|
561
|
+
/**
|
|
562
|
+
* ### PRIVATE API
|
|
563
|
+
*
|
|
564
|
+
* Do not use, may change at any time
|
|
565
|
+
*
|
|
566
|
+
* @type {any}
|
|
567
|
+
*/
|
|
568
|
+
h(this, "$$");
|
|
569
|
+
/**
|
|
570
|
+
* ### PRIVATE API
|
|
571
|
+
*
|
|
572
|
+
* Do not use, may change at any time
|
|
573
|
+
*
|
|
574
|
+
* @type {any}
|
|
575
|
+
*/
|
|
576
|
+
h(this, "$$set");
|
|
577
|
+
}
|
|
578
|
+
/** @returns {void} */
|
|
579
|
+
$destroy() {
|
|
580
|
+
Ct(this, 1), this.$destroy = b;
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* @template {Extract<keyof Events, string>} K
|
|
584
|
+
* @param {K} type
|
|
585
|
+
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
586
|
+
* @returns {() => void}
|
|
587
|
+
*/
|
|
588
|
+
$on(t, n) {
|
|
589
|
+
if (!F(n))
|
|
590
|
+
return b;
|
|
591
|
+
const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
592
|
+
return s.push(n), () => {
|
|
593
|
+
const r = s.indexOf(n);
|
|
594
|
+
r !== -1 && s.splice(r, 1);
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* @param {Partial<Props>} props
|
|
599
|
+
* @returns {void}
|
|
600
|
+
*/
|
|
601
|
+
$set(t) {
|
|
602
|
+
this.$$set && !ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
const Nt = "4";
|
|
606
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nt);
|
|
607
|
+
function Mt(e) {
|
|
608
|
+
dt(e, "svelte-1wpgdk2", ".svelte-1wpgdk2,.svelte-1wpgdk2::before,.svelte-1wpgdk2::after{box-sizing:border-box}.Title.svelte-1wpgdk2{text-transform:uppercase}.DetailsCard.svelte-1wpgdk2{border:1px solid var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle.svelte-1wpgdk2{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emfe-w-color-contrast, #07072A)}.DetailsContent.svelte-1wpgdk2{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc.svelte-1wpgdk2::-webkit-scrollbar{width:5px;height:5px}.sc.svelte-1wpgdk2::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc.svelte-1wpgdk2::-webkit-scrollbar-thumb{background-color:var(--emfe-w-color-white, #FFFFFF);border-radius:10px}");
|
|
609
|
+
}
|
|
610
|
+
function Q(e) {
|
|
611
|
+
let t, n, s, r, i, l, u;
|
|
612
|
+
function f(d, p) {
|
|
613
|
+
return (
|
|
614
|
+
/*collapsed*/
|
|
615
|
+
d[3] ? St : Dt
|
|
616
|
+
);
|
|
617
|
+
}
|
|
618
|
+
let c = f(e), $ = c(e);
|
|
619
|
+
return {
|
|
620
|
+
c() {
|
|
621
|
+
t = m("div"), n = m("p"), s = q(
|
|
622
|
+
/*title*/
|
|
623
|
+
e[0]
|
|
624
|
+
), r = Z(), i = m("div"), $.c(), o(n, "class", "Title svelte-1wpgdk2"), o(n, "part", "Title"), o(i, "class", "CollapseButtonDetails svelte-1wpgdk2"), o(i, "part", "CollapseButtonDetails"), o(t, "class", "DetailsTitle svelte-1wpgdk2"), o(t, "part", "DetailsTitle");
|
|
625
|
+
},
|
|
626
|
+
m(d, p) {
|
|
627
|
+
w(d, t, p), g(t, n), g(n, s), g(t, r), g(t, i), $.m(i, null), l || (u = z(
|
|
628
|
+
i,
|
|
629
|
+
"click",
|
|
630
|
+
/*click_handler*/
|
|
631
|
+
e[8]
|
|
632
|
+
), l = !0);
|
|
633
|
+
},
|
|
634
|
+
p(d, p) {
|
|
635
|
+
p & /*title*/
|
|
636
|
+
1 && pt(
|
|
637
|
+
s,
|
|
638
|
+
/*title*/
|
|
639
|
+
d[0]
|
|
640
|
+
), c !== (c = f(d)) && ($.d(1), $ = c(d), $ && ($.c(), $.m(i, null)));
|
|
641
|
+
},
|
|
642
|
+
d(d) {
|
|
643
|
+
d && _(t), $.d(), l = !1, u();
|
|
644
|
+
}
|
|
645
|
+
};
|
|
646
|
+
}
|
|
647
|
+
function St(e) {
|
|
648
|
+
let t, n;
|
|
649
|
+
return {
|
|
650
|
+
c() {
|
|
651
|
+
t = T("svg"), n = T("path"), o(n, "d", "M6 9l6 6 6-6"), o(n, "class", "svelte-1wpgdk2"), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "24"), o(t, "height", "24"), o(t, "viewBox", "0 0 24 24"), o(t, "fill", "none"), o(t, "stroke", "#ffffff"), o(t, "stroke-width", "2"), o(t, "stroke-linecap", "round"), o(t, "stroke-linejoin", "round"), o(t, "class", "svelte-1wpgdk2");
|
|
652
|
+
},
|
|
653
|
+
m(s, r) {
|
|
654
|
+
w(s, t, r), g(t, n);
|
|
655
|
+
},
|
|
656
|
+
d(s) {
|
|
657
|
+
s && _(t);
|
|
658
|
+
}
|
|
659
|
+
};
|
|
660
|
+
}
|
|
661
|
+
function Dt(e) {
|
|
662
|
+
let t, n;
|
|
663
|
+
return {
|
|
664
|
+
c() {
|
|
665
|
+
t = T("svg"), n = T("path"), o(n, "d", "M18 15l-6-6-6 6"), o(n, "class", "svelte-1wpgdk2"), o(t, "xmlns", "http://www.w3.org/2000/svg"), o(t, "width", "24"), o(t, "height", "24"), o(t, "viewBox", "0 0 24 24"), o(t, "fill", "none"), o(t, "stroke", "#ffffff"), o(t, "stroke-width", "2"), o(t, "stroke-linecap", "round"), o(t, "stroke-linejoin", "round"), o(t, "class", "svelte-1wpgdk2");
|
|
666
|
+
},
|
|
667
|
+
m(s, r) {
|
|
668
|
+
w(s, t, r), g(t, n);
|
|
669
|
+
},
|
|
670
|
+
d(s) {
|
|
671
|
+
s && _(t);
|
|
672
|
+
}
|
|
673
|
+
};
|
|
674
|
+
}
|
|
675
|
+
function X(e) {
|
|
676
|
+
let t, n, s, r;
|
|
677
|
+
return {
|
|
678
|
+
c() {
|
|
679
|
+
t = m("div"), t.innerHTML = "", o(t, "class", "DetailsContent sc svelte-1wpgdk2"), o(t, "part", "DetailsContent");
|
|
680
|
+
},
|
|
681
|
+
m(i, l) {
|
|
682
|
+
w(i, t, l), s || (r = ft(n = /*setContent*/
|
|
683
|
+
e[5].call(
|
|
684
|
+
null,
|
|
685
|
+
t,
|
|
686
|
+
/*text*/
|
|
687
|
+
e[1]
|
|
688
|
+
)), s = !0);
|
|
689
|
+
},
|
|
690
|
+
p(i, l) {
|
|
691
|
+
n && F(n.update) && l & /*text*/
|
|
692
|
+
2 && n.update.call(
|
|
693
|
+
null,
|
|
694
|
+
/*text*/
|
|
695
|
+
i[1]
|
|
696
|
+
);
|
|
697
|
+
},
|
|
698
|
+
d(i) {
|
|
699
|
+
i && _(t), s = !1, r();
|
|
700
|
+
}
|
|
701
|
+
};
|
|
702
|
+
}
|
|
703
|
+
function Ot(e) {
|
|
704
|
+
let t, n, s = (
|
|
705
|
+
/*title*/
|
|
706
|
+
e[0] && Q(e)
|
|
707
|
+
), r = (
|
|
708
|
+
/*text*/
|
|
709
|
+
e[1] && !/*collapsed*/
|
|
710
|
+
e[3] && X(e)
|
|
711
|
+
);
|
|
712
|
+
return {
|
|
713
|
+
c() {
|
|
714
|
+
t = m("div"), s && s.c(), n = Z(), r && r.c(), o(t, "class", "DetailsCard svelte-1wpgdk2"), o(t, "part", "DetailsCard");
|
|
715
|
+
},
|
|
716
|
+
m(i, l) {
|
|
717
|
+
w(i, t, l), s && s.m(t, null), g(t, n), r && r.m(t, null), e[9](t);
|
|
718
|
+
},
|
|
719
|
+
p(i, [l]) {
|
|
720
|
+
/*title*/
|
|
721
|
+
i[0] ? s ? s.p(i, l) : (s = Q(i), s.c(), s.m(t, n)) : s && (s.d(1), s = null), /*text*/
|
|
722
|
+
i[1] && !/*collapsed*/
|
|
723
|
+
i[3] ? r ? r.p(i, l) : (r = X(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
724
|
+
},
|
|
725
|
+
i: b,
|
|
726
|
+
o: b,
|
|
727
|
+
d(i) {
|
|
728
|
+
i && _(t), s && s.d(), r && r.d(), e[9](null);
|
|
729
|
+
}
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
function Ft(e, t, n) {
|
|
733
|
+
let { title: s = "" } = t, { text: r = "" } = t, { clientstyling: i = "" } = t, { clientstylingurl: l = "" } = t, u, f = !1;
|
|
734
|
+
const c = () => {
|
|
735
|
+
n(3, f = !f);
|
|
736
|
+
}, $ = () => {
|
|
737
|
+
let a = document.createElement("style");
|
|
738
|
+
a.innerHTML = i, u.appendChild(a);
|
|
739
|
+
}, d = () => {
|
|
740
|
+
let a = new URL(l), N = document.createElement("style");
|
|
741
|
+
fetch(a.href).then((y) => y.text()).then((y) => {
|
|
742
|
+
N.innerHTML = y, setTimeout(
|
|
743
|
+
() => {
|
|
744
|
+
u.appendChild(N);
|
|
745
|
+
},
|
|
746
|
+
1
|
|
747
|
+
), setTimeout(
|
|
748
|
+
() => {
|
|
749
|
+
},
|
|
750
|
+
500
|
|
751
|
+
);
|
|
752
|
+
});
|
|
753
|
+
}, p = (a, N) => {
|
|
754
|
+
let y = document.createElement("div");
|
|
755
|
+
y.innerHTML = N, a.append(y);
|
|
756
|
+
}, A = () => c();
|
|
757
|
+
function j(a) {
|
|
758
|
+
H[a ? "unshift" : "push"](() => {
|
|
759
|
+
u = a, n(2, u);
|
|
760
|
+
});
|
|
761
|
+
}
|
|
762
|
+
return e.$$set = (a) => {
|
|
763
|
+
"title" in a && n(0, s = a.title), "text" in a && n(1, r = a.text), "clientstyling" in a && n(6, i = a.clientstyling), "clientstylingurl" in a && n(7, l = a.clientstylingurl);
|
|
764
|
+
}, e.$$.update = () => {
|
|
765
|
+
e.$$.dirty & /*customStylingContainer, clientstyling*/
|
|
766
|
+
68 && u && i && $(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
|
|
767
|
+
132 && u && l && d();
|
|
768
|
+
}, [
|
|
769
|
+
s,
|
|
770
|
+
r,
|
|
771
|
+
u,
|
|
772
|
+
f,
|
|
773
|
+
c,
|
|
774
|
+
p,
|
|
775
|
+
i,
|
|
776
|
+
l,
|
|
777
|
+
A,
|
|
778
|
+
j
|
|
779
|
+
];
|
|
780
|
+
}
|
|
781
|
+
class et extends jt {
|
|
782
|
+
constructor(t) {
|
|
783
|
+
super(), Lt(
|
|
784
|
+
this,
|
|
785
|
+
t,
|
|
786
|
+
Ft,
|
|
787
|
+
Ot,
|
|
788
|
+
ot,
|
|
789
|
+
{
|
|
790
|
+
title: 0,
|
|
791
|
+
text: 1,
|
|
792
|
+
clientstyling: 6,
|
|
793
|
+
clientstylingurl: 7
|
|
794
|
+
},
|
|
795
|
+
Mt
|
|
796
|
+
);
|
|
797
|
+
}
|
|
798
|
+
get title() {
|
|
799
|
+
return this.$$.ctx[0];
|
|
800
|
+
}
|
|
801
|
+
set title(t) {
|
|
802
|
+
this.$$set({ title: t }), v();
|
|
803
|
+
}
|
|
804
|
+
get text() {
|
|
805
|
+
return this.$$.ctx[1];
|
|
806
|
+
}
|
|
807
|
+
set text(t) {
|
|
808
|
+
this.$$set({ text: t }), v();
|
|
809
|
+
}
|
|
810
|
+
get clientstyling() {
|
|
811
|
+
return this.$$.ctx[6];
|
|
812
|
+
}
|
|
813
|
+
set clientstyling(t) {
|
|
814
|
+
this.$$set({ clientstyling: t }), v();
|
|
815
|
+
}
|
|
816
|
+
get clientstylingurl() {
|
|
817
|
+
return this.$$.ctx[7];
|
|
818
|
+
}
|
|
819
|
+
set clientstylingurl(t) {
|
|
820
|
+
this.$$set({ clientstylingurl: t }), v();
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
At(et, { title: {}, text: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
824
|
+
const Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
825
|
+
__proto__: null,
|
|
826
|
+
default: et
|
|
827
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
828
|
+
export {
|
|
829
|
+
ft as A,
|
|
830
|
+
Bt as B,
|
|
831
|
+
H as C,
|
|
832
|
+
Ut as D,
|
|
833
|
+
Jt as E,
|
|
834
|
+
I as F,
|
|
835
|
+
Wt as G,
|
|
836
|
+
Vt as H,
|
|
837
|
+
Qt as I,
|
|
838
|
+
jt as S,
|
|
839
|
+
ot as a,
|
|
840
|
+
Lt as b,
|
|
841
|
+
At as c,
|
|
842
|
+
dt as d,
|
|
843
|
+
Z as e,
|
|
844
|
+
v as f,
|
|
845
|
+
It as g,
|
|
846
|
+
w as h,
|
|
847
|
+
F as i,
|
|
848
|
+
_ as j,
|
|
849
|
+
zt as k,
|
|
850
|
+
m as l,
|
|
851
|
+
o as m,
|
|
852
|
+
b as n,
|
|
853
|
+
Gt as o,
|
|
854
|
+
g as p,
|
|
855
|
+
pt as q,
|
|
856
|
+
O as r,
|
|
857
|
+
ut as s,
|
|
858
|
+
q as t,
|
|
859
|
+
T as u,
|
|
860
|
+
Ht as v,
|
|
861
|
+
z as w,
|
|
862
|
+
qt as x,
|
|
863
|
+
Kt as y,
|
|
864
|
+
Rt as z
|
|
865
|
+
};
|