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