@everymatrix/casino-tournaments-details 1.44.0 → 1.45.0
Sign up to get free protection for your applications and to get access to all the features.
- package/components/CasinoTournamentsDetails-2e7ZUY3d.js +676 -0
- package/components/CasinoTournamentsDetails-D1wF_uqm.cjs +1 -0
- package/es2015/casino-tournaments-details.cjs +1 -0
- package/es2015/casino-tournaments-details.js +16 -0
- package/package.json +15 -33
- package/.eslintrc +0 -84
- package/README.md +0 -30
- package/dist/casino-tournaments-details.js +0 -2
- package/dist/casino-tournaments-details.js.map +0 -1
- package/index.html +0 -37
- 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/CasinoTournamentsDetails.svelte +0 -129
- package/src/index.ts +0 -4
- package/stories/CasinoTournamentsDetails.stories.js +0 -13
- package/tsconfig.json +0 -6
@@ -0,0 +1,676 @@
|
|
1
|
+
var Y = Object.defineProperty, Z = Object.defineProperties;
|
2
|
+
var tt = Object.getOwnPropertyDescriptors;
|
3
|
+
var R = Object.getOwnPropertySymbols;
|
4
|
+
var et = Object.prototype.hasOwnProperty, nt = Object.prototype.propertyIsEnumerable;
|
5
|
+
var N = (e, t, n) => t in e ? Y(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, I = (e, t) => {
|
6
|
+
for (var n in t || (t = {}))
|
7
|
+
et.call(t, n) && N(e, n, t[n]);
|
8
|
+
if (R)
|
9
|
+
for (var n of R(t))
|
10
|
+
nt.call(t, n) && N(e, n, t[n]);
|
11
|
+
return e;
|
12
|
+
}, U = (e, t) => Z(e, tt(t));
|
13
|
+
var $ = (e, t, n) => N(e, typeof t != "symbol" ? t + "" : t, n);
|
14
|
+
var z = (e, t, n) => new Promise((s, l) => {
|
15
|
+
var i = (f) => {
|
16
|
+
try {
|
17
|
+
u(n.next(f));
|
18
|
+
} catch (o) {
|
19
|
+
l(o);
|
20
|
+
}
|
21
|
+
}, r = (f) => {
|
22
|
+
try {
|
23
|
+
u(n.throw(f));
|
24
|
+
} catch (o) {
|
25
|
+
l(o);
|
26
|
+
}
|
27
|
+
}, u = (f) => f.done ? s(f.value) : Promise.resolve(f.value).then(i, r);
|
28
|
+
u((n = n.apply(e, t)).next());
|
29
|
+
});
|
30
|
+
function v() {
|
31
|
+
}
|
32
|
+
function K(e) {
|
33
|
+
return e();
|
34
|
+
}
|
35
|
+
function J() {
|
36
|
+
return /* @__PURE__ */ Object.create(null);
|
37
|
+
}
|
38
|
+
function A(e) {
|
39
|
+
e.forEach(K);
|
40
|
+
}
|
41
|
+
function F(e) {
|
42
|
+
return typeof e == "function";
|
43
|
+
}
|
44
|
+
function st(e, t) {
|
45
|
+
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
|
+
}
|
47
|
+
function it(e) {
|
48
|
+
return Object.keys(e).length === 0;
|
49
|
+
}
|
50
|
+
function lt(e) {
|
51
|
+
return e && F(e.destroy) ? e.destroy : v;
|
52
|
+
}
|
53
|
+
function p(e, t) {
|
54
|
+
e.appendChild(t);
|
55
|
+
}
|
56
|
+
function rt(e, t, n) {
|
57
|
+
const s = ot(e);
|
58
|
+
if (!s.getElementById(t)) {
|
59
|
+
const l = _("style");
|
60
|
+
l.id = t, l.textContent = n, ct(s, l);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
function ot(e) {
|
64
|
+
if (!e) return document;
|
65
|
+
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
66
|
+
return t && /** @type {ShadowRoot} */
|
67
|
+
t.host ? (
|
68
|
+
/** @type {ShadowRoot} */
|
69
|
+
t
|
70
|
+
) : e.ownerDocument;
|
71
|
+
}
|
72
|
+
function ct(e, t) {
|
73
|
+
return p(
|
74
|
+
/** @type {Document} */
|
75
|
+
e.head || e,
|
76
|
+
t
|
77
|
+
), t.sheet;
|
78
|
+
}
|
79
|
+
function C(e, t, n) {
|
80
|
+
e.insertBefore(t, n || null);
|
81
|
+
}
|
82
|
+
function m(e) {
|
83
|
+
e.parentNode && e.parentNode.removeChild(e);
|
84
|
+
}
|
85
|
+
function _(e) {
|
86
|
+
return document.createElement(e);
|
87
|
+
}
|
88
|
+
function O(e) {
|
89
|
+
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
90
|
+
}
|
91
|
+
function Q(e) {
|
92
|
+
return document.createTextNode(e);
|
93
|
+
}
|
94
|
+
function W() {
|
95
|
+
return Q(" ");
|
96
|
+
}
|
97
|
+
function ut(e, t, n, s) {
|
98
|
+
return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
|
99
|
+
}
|
100
|
+
function c(e, t, n) {
|
101
|
+
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
102
|
+
}
|
103
|
+
function ft(e) {
|
104
|
+
return Array.from(e.childNodes);
|
105
|
+
}
|
106
|
+
function dt(e, t) {
|
107
|
+
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
108
|
+
t);
|
109
|
+
}
|
110
|
+
function at(e) {
|
111
|
+
const t = {};
|
112
|
+
return e.childNodes.forEach(
|
113
|
+
/** @param {Element} node */
|
114
|
+
(n) => {
|
115
|
+
t[n.slot || "default"] = !0;
|
116
|
+
}
|
117
|
+
), t;
|
118
|
+
}
|
119
|
+
let H;
|
120
|
+
function E(e) {
|
121
|
+
H = e;
|
122
|
+
}
|
123
|
+
const y = [], B = [];
|
124
|
+
let x = [];
|
125
|
+
const V = [], ht = /* @__PURE__ */ Promise.resolve();
|
126
|
+
let M = !1;
|
127
|
+
function $t() {
|
128
|
+
M || (M = !0, ht.then(k));
|
129
|
+
}
|
130
|
+
function P(e) {
|
131
|
+
x.push(e);
|
132
|
+
}
|
133
|
+
const S = /* @__PURE__ */ new Set();
|
134
|
+
let w = 0;
|
135
|
+
function k() {
|
136
|
+
if (w !== 0)
|
137
|
+
return;
|
138
|
+
const e = H;
|
139
|
+
do {
|
140
|
+
try {
|
141
|
+
for (; w < y.length; ) {
|
142
|
+
const t = y[w];
|
143
|
+
w++, E(t), gt(t.$$);
|
144
|
+
}
|
145
|
+
} catch (t) {
|
146
|
+
throw y.length = 0, w = 0, t;
|
147
|
+
}
|
148
|
+
for (E(null), y.length = 0, w = 0; B.length; ) B.pop()();
|
149
|
+
for (let t = 0; t < x.length; t += 1) {
|
150
|
+
const n = x[t];
|
151
|
+
S.has(n) || (S.add(n), n());
|
152
|
+
}
|
153
|
+
x.length = 0;
|
154
|
+
} while (y.length);
|
155
|
+
for (; V.length; )
|
156
|
+
V.pop()();
|
157
|
+
M = !1, S.clear(), E(e);
|
158
|
+
}
|
159
|
+
function gt(e) {
|
160
|
+
if (e.fragment !== null) {
|
161
|
+
e.update(), A(e.before_update);
|
162
|
+
const t = e.dirty;
|
163
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(P);
|
164
|
+
}
|
165
|
+
}
|
166
|
+
function pt(e) {
|
167
|
+
const t = [], n = [];
|
168
|
+
x.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), x = t;
|
169
|
+
}
|
170
|
+
const _t = /* @__PURE__ */ new Set();
|
171
|
+
function mt(e, t) {
|
172
|
+
e && e.i && (_t.delete(e), e.i(t));
|
173
|
+
}
|
174
|
+
function bt(e, t, n) {
|
175
|
+
const { fragment: s, after_update: l } = e.$$;
|
176
|
+
s && s.m(t, n), P(() => {
|
177
|
+
const i = e.$$.on_mount.map(K).filter(F);
|
178
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...i) : A(i), e.$$.on_mount = [];
|
179
|
+
}), l.forEach(P);
|
180
|
+
}
|
181
|
+
function wt(e, t) {
|
182
|
+
const n = e.$$;
|
183
|
+
n.fragment !== null && (pt(n.after_update), A(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
184
|
+
}
|
185
|
+
function yt(e, t) {
|
186
|
+
e.$$.dirty[0] === -1 && (y.push(e), $t(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
187
|
+
}
|
188
|
+
function kt(e, t, n, s, l, i, r = null, u = [-1]) {
|
189
|
+
const f = H;
|
190
|
+
E(e);
|
191
|
+
const o = e.$$ = {
|
192
|
+
fragment: null,
|
193
|
+
ctx: [],
|
194
|
+
// state
|
195
|
+
props: i,
|
196
|
+
update: v,
|
197
|
+
not_equal: l,
|
198
|
+
bound: J(),
|
199
|
+
// lifecycle
|
200
|
+
on_mount: [],
|
201
|
+
on_destroy: [],
|
202
|
+
on_disconnect: [],
|
203
|
+
before_update: [],
|
204
|
+
after_update: [],
|
205
|
+
context: new Map(t.context || (f ? f.$$.context : [])),
|
206
|
+
// everything else
|
207
|
+
callbacks: J(),
|
208
|
+
dirty: u,
|
209
|
+
skip_bound: !1,
|
210
|
+
root: t.target || f.$$.root
|
211
|
+
};
|
212
|
+
r && r(o.root);
|
213
|
+
let h = !1;
|
214
|
+
if (o.ctx = n ? n(e, t.props || {}, (d, g, ...L) => {
|
215
|
+
const T = L.length ? L[0] : g;
|
216
|
+
return o.ctx && l(o.ctx[d], o.ctx[d] = T) && (!o.skip_bound && o.bound[d] && o.bound[d](T), h && yt(e, d)), g;
|
217
|
+
}) : [], o.update(), h = !0, A(o.before_update), o.fragment = s ? s(o.ctx) : !1, t.target) {
|
218
|
+
if (t.hydrate) {
|
219
|
+
const d = ft(t.target);
|
220
|
+
o.fragment && o.fragment.l(d), d.forEach(m);
|
221
|
+
} else
|
222
|
+
o.fragment && o.fragment.c();
|
223
|
+
t.intro && mt(e.$$.fragment), bt(e, t.target, t.anchor), k();
|
224
|
+
}
|
225
|
+
E(f);
|
226
|
+
}
|
227
|
+
let X;
|
228
|
+
typeof HTMLElement == "function" && (X = class extends HTMLElement {
|
229
|
+
constructor(t, n, s) {
|
230
|
+
super();
|
231
|
+
/** The Svelte component constructor */
|
232
|
+
$(this, "$$ctor");
|
233
|
+
/** Slots */
|
234
|
+
$(this, "$$s");
|
235
|
+
/** The Svelte component instance */
|
236
|
+
$(this, "$$c");
|
237
|
+
/** Whether or not the custom element is connected */
|
238
|
+
$(this, "$$cn", !1);
|
239
|
+
/** Component props data */
|
240
|
+
$(this, "$$d", {});
|
241
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
242
|
+
$(this, "$$r", !1);
|
243
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
244
|
+
$(this, "$$p_d", {});
|
245
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
246
|
+
$(this, "$$l", {});
|
247
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
248
|
+
$(this, "$$l_u", /* @__PURE__ */ new Map());
|
249
|
+
this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
|
250
|
+
}
|
251
|
+
addEventListener(t, n, s) {
|
252
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
|
253
|
+
const l = this.$$c.$on(t, n);
|
254
|
+
this.$$l_u.set(n, l);
|
255
|
+
}
|
256
|
+
super.addEventListener(t, n, s);
|
257
|
+
}
|
258
|
+
removeEventListener(t, n, s) {
|
259
|
+
if (super.removeEventListener(t, n, s), this.$$c) {
|
260
|
+
const l = this.$$l_u.get(n);
|
261
|
+
l && (l(), this.$$l_u.delete(n));
|
262
|
+
}
|
263
|
+
}
|
264
|
+
connectedCallback() {
|
265
|
+
return z(this, null, function* () {
|
266
|
+
if (this.$$cn = !0, !this.$$c) {
|
267
|
+
let t = function(i) {
|
268
|
+
return () => {
|
269
|
+
let r;
|
270
|
+
return {
|
271
|
+
c: function() {
|
272
|
+
r = _("slot"), i !== "default" && c(r, "name", i);
|
273
|
+
},
|
274
|
+
/**
|
275
|
+
* @param {HTMLElement} target
|
276
|
+
* @param {HTMLElement} [anchor]
|
277
|
+
*/
|
278
|
+
m: function(o, h) {
|
279
|
+
C(o, r, h);
|
280
|
+
},
|
281
|
+
d: function(o) {
|
282
|
+
o && m(r);
|
283
|
+
}
|
284
|
+
};
|
285
|
+
};
|
286
|
+
};
|
287
|
+
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
288
|
+
return;
|
289
|
+
const n = {}, s = at(this);
|
290
|
+
for (const i of this.$$s)
|
291
|
+
i in s && (n[i] = [t(i)]);
|
292
|
+
for (const i of this.attributes) {
|
293
|
+
const r = this.$$g_p(i.name);
|
294
|
+
r in this.$$d || (this.$$d[r] = D(r, i.value, this.$$p_d, "toProp"));
|
295
|
+
}
|
296
|
+
for (const i in this.$$p_d)
|
297
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
298
|
+
this.$$c = new this.$$ctor({
|
299
|
+
target: this.shadowRoot || this,
|
300
|
+
props: U(I({}, this.$$d), {
|
301
|
+
$$slots: n,
|
302
|
+
$$scope: {
|
303
|
+
ctx: []
|
304
|
+
}
|
305
|
+
})
|
306
|
+
});
|
307
|
+
const l = () => {
|
308
|
+
this.$$r = !0;
|
309
|
+
for (const i in this.$$p_d)
|
310
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
311
|
+
const r = D(
|
312
|
+
i,
|
313
|
+
this.$$d[i],
|
314
|
+
this.$$p_d,
|
315
|
+
"toAttribute"
|
316
|
+
);
|
317
|
+
r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
|
318
|
+
}
|
319
|
+
this.$$r = !1;
|
320
|
+
};
|
321
|
+
this.$$c.$$.after_update.push(l), l();
|
322
|
+
for (const i in this.$$l)
|
323
|
+
for (const r of this.$$l[i]) {
|
324
|
+
const u = this.$$c.$on(i, r);
|
325
|
+
this.$$l_u.set(r, u);
|
326
|
+
}
|
327
|
+
this.$$l = {};
|
328
|
+
}
|
329
|
+
});
|
330
|
+
}
|
331
|
+
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
332
|
+
// and setting attributes through setAttribute etc, this is helpful
|
333
|
+
attributeChangedCallback(t, n, s) {
|
334
|
+
var l;
|
335
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = D(t, s, this.$$p_d, "toProp"), (l = this.$$c) == null || l.$set({ [t]: this.$$d[t] }));
|
336
|
+
}
|
337
|
+
disconnectedCallback() {
|
338
|
+
this.$$cn = !1, Promise.resolve().then(() => {
|
339
|
+
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
340
|
+
});
|
341
|
+
}
|
342
|
+
$$g_p(t) {
|
343
|
+
return Object.keys(this.$$p_d).find(
|
344
|
+
(n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
|
345
|
+
) || t;
|
346
|
+
}
|
347
|
+
});
|
348
|
+
function D(e, t, n, s) {
|
349
|
+
var i;
|
350
|
+
const l = (i = n[e]) == null ? void 0 : i.type;
|
351
|
+
if (t = l === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
|
352
|
+
return t;
|
353
|
+
if (s === "toAttribute")
|
354
|
+
switch (l) {
|
355
|
+
case "Object":
|
356
|
+
case "Array":
|
357
|
+
return t == null ? null : JSON.stringify(t);
|
358
|
+
case "Boolean":
|
359
|
+
return t ? "" : null;
|
360
|
+
case "Number":
|
361
|
+
return t == null ? null : t;
|
362
|
+
default:
|
363
|
+
return t;
|
364
|
+
}
|
365
|
+
else
|
366
|
+
switch (l) {
|
367
|
+
case "Object":
|
368
|
+
case "Array":
|
369
|
+
return t && JSON.parse(t);
|
370
|
+
case "Boolean":
|
371
|
+
return t;
|
372
|
+
case "Number":
|
373
|
+
return t != null ? +t : t;
|
374
|
+
default:
|
375
|
+
return t;
|
376
|
+
}
|
377
|
+
}
|
378
|
+
function xt(e, t, n, s, l, i) {
|
379
|
+
let r = class extends X {
|
380
|
+
constructor() {
|
381
|
+
super(e, n, l), this.$$p_d = t;
|
382
|
+
}
|
383
|
+
static get observedAttributes() {
|
384
|
+
return Object.keys(t).map(
|
385
|
+
(u) => (t[u].attribute || u).toLowerCase()
|
386
|
+
);
|
387
|
+
}
|
388
|
+
};
|
389
|
+
return Object.keys(t).forEach((u) => {
|
390
|
+
Object.defineProperty(r.prototype, u, {
|
391
|
+
get() {
|
392
|
+
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
393
|
+
},
|
394
|
+
set(f) {
|
395
|
+
var o;
|
396
|
+
f = D(u, f, t), this.$$d[u] = f, (o = this.$$c) == null || o.$set({ [u]: f });
|
397
|
+
}
|
398
|
+
});
|
399
|
+
}), s.forEach((u) => {
|
400
|
+
Object.defineProperty(r.prototype, u, {
|
401
|
+
get() {
|
402
|
+
var f;
|
403
|
+
return (f = this.$$c) == null ? void 0 : f[u];
|
404
|
+
}
|
405
|
+
});
|
406
|
+
}), e.element = /** @type {any} */
|
407
|
+
r, r;
|
408
|
+
}
|
409
|
+
class vt {
|
410
|
+
constructor() {
|
411
|
+
/**
|
412
|
+
* ### PRIVATE API
|
413
|
+
*
|
414
|
+
* Do not use, may change at any time
|
415
|
+
*
|
416
|
+
* @type {any}
|
417
|
+
*/
|
418
|
+
$(this, "$$");
|
419
|
+
/**
|
420
|
+
* ### PRIVATE API
|
421
|
+
*
|
422
|
+
* Do not use, may change at any time
|
423
|
+
*
|
424
|
+
* @type {any}
|
425
|
+
*/
|
426
|
+
$(this, "$$set");
|
427
|
+
}
|
428
|
+
/** @returns {void} */
|
429
|
+
$destroy() {
|
430
|
+
wt(this, 1), this.$destroy = v;
|
431
|
+
}
|
432
|
+
/**
|
433
|
+
* @template {Extract<keyof Events, string>} K
|
434
|
+
* @param {K} type
|
435
|
+
* @param {((e: Events[K]) => void) | null | undefined} callback
|
436
|
+
* @returns {() => void}
|
437
|
+
*/
|
438
|
+
$on(t, n) {
|
439
|
+
if (!F(n))
|
440
|
+
return v;
|
441
|
+
const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
442
|
+
return s.push(n), () => {
|
443
|
+
const l = s.indexOf(n);
|
444
|
+
l !== -1 && s.splice(l, 1);
|
445
|
+
};
|
446
|
+
}
|
447
|
+
/**
|
448
|
+
* @param {Partial<Props>} props
|
449
|
+
* @returns {void}
|
450
|
+
*/
|
451
|
+
$set(t) {
|
452
|
+
this.$$set && !it(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
453
|
+
}
|
454
|
+
}
|
455
|
+
const Ct = "4";
|
456
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ct);
|
457
|
+
function Et(e) {
|
458
|
+
rt(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}");
|
459
|
+
}
|
460
|
+
function q(e) {
|
461
|
+
let t, n, s, l, i, r, u;
|
462
|
+
function f(d, g) {
|
463
|
+
return (
|
464
|
+
/*collapsed*/
|
465
|
+
d[3] ? Lt : Tt
|
466
|
+
);
|
467
|
+
}
|
468
|
+
let o = f(e), h = o(e);
|
469
|
+
return {
|
470
|
+
c() {
|
471
|
+
t = _("div"), n = _("p"), s = Q(
|
472
|
+
/*title*/
|
473
|
+
e[0]
|
474
|
+
), l = W(), i = _("div"), h.c(), c(n, "class", "Title svelte-1wpgdk2"), c(n, "part", "Title"), c(i, "class", "CollapseButtonDetails svelte-1wpgdk2"), c(i, "part", "CollapseButtonDetails"), c(t, "class", "DetailsTitle svelte-1wpgdk2"), c(t, "part", "DetailsTitle");
|
475
|
+
},
|
476
|
+
m(d, g) {
|
477
|
+
C(d, t, g), p(t, n), p(n, s), p(t, l), p(t, i), h.m(i, null), r || (u = ut(
|
478
|
+
i,
|
479
|
+
"click",
|
480
|
+
/*click_handler*/
|
481
|
+
e[8]
|
482
|
+
), r = !0);
|
483
|
+
},
|
484
|
+
p(d, g) {
|
485
|
+
g & /*title*/
|
486
|
+
1 && dt(
|
487
|
+
s,
|
488
|
+
/*title*/
|
489
|
+
d[0]
|
490
|
+
), o !== (o = f(d)) && (h.d(1), h = o(d), h && (h.c(), h.m(i, null)));
|
491
|
+
},
|
492
|
+
d(d) {
|
493
|
+
d && m(t), h.d(), r = !1, u();
|
494
|
+
}
|
495
|
+
};
|
496
|
+
}
|
497
|
+
function Lt(e) {
|
498
|
+
let t, n;
|
499
|
+
return {
|
500
|
+
c() {
|
501
|
+
t = O("svg"), n = O("path"), c(n, "d", "M6 9l6 6 6-6"), c(n, "class", "svelte-1wpgdk2"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "24"), c(t, "height", "24"), c(t, "viewBox", "0 0 24 24"), c(t, "fill", "none"), c(t, "stroke", "#ffffff"), c(t, "stroke-width", "2"), c(t, "stroke-linecap", "round"), c(t, "stroke-linejoin", "round"), c(t, "class", "svelte-1wpgdk2");
|
502
|
+
},
|
503
|
+
m(s, l) {
|
504
|
+
C(s, t, l), p(t, n);
|
505
|
+
},
|
506
|
+
d(s) {
|
507
|
+
s && m(t);
|
508
|
+
}
|
509
|
+
};
|
510
|
+
}
|
511
|
+
function Tt(e) {
|
512
|
+
let t, n;
|
513
|
+
return {
|
514
|
+
c() {
|
515
|
+
t = O("svg"), n = O("path"), c(n, "d", "M18 15l-6-6-6 6"), c(n, "class", "svelte-1wpgdk2"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "24"), c(t, "height", "24"), c(t, "viewBox", "0 0 24 24"), c(t, "fill", "none"), c(t, "stroke", "#ffffff"), c(t, "stroke-width", "2"), c(t, "stroke-linecap", "round"), c(t, "stroke-linejoin", "round"), c(t, "class", "svelte-1wpgdk2");
|
516
|
+
},
|
517
|
+
m(s, l) {
|
518
|
+
C(s, t, l), p(t, n);
|
519
|
+
},
|
520
|
+
d(s) {
|
521
|
+
s && m(t);
|
522
|
+
}
|
523
|
+
};
|
524
|
+
}
|
525
|
+
function G(e) {
|
526
|
+
let t, n, s, l;
|
527
|
+
return {
|
528
|
+
c() {
|
529
|
+
t = _("div"), t.innerHTML = "", c(t, "class", "DetailsContent sc svelte-1wpgdk2"), c(t, "part", "DetailsContent");
|
530
|
+
},
|
531
|
+
m(i, r) {
|
532
|
+
C(i, t, r), s || (l = lt(n = /*setContent*/
|
533
|
+
e[5].call(
|
534
|
+
null,
|
535
|
+
t,
|
536
|
+
/*text*/
|
537
|
+
e[1]
|
538
|
+
)), s = !0);
|
539
|
+
},
|
540
|
+
p(i, r) {
|
541
|
+
n && F(n.update) && r & /*text*/
|
542
|
+
2 && n.update.call(
|
543
|
+
null,
|
544
|
+
/*text*/
|
545
|
+
i[1]
|
546
|
+
);
|
547
|
+
},
|
548
|
+
d(i) {
|
549
|
+
i && m(t), s = !1, l();
|
550
|
+
}
|
551
|
+
};
|
552
|
+
}
|
553
|
+
function jt(e) {
|
554
|
+
let t, n, s = (
|
555
|
+
/*title*/
|
556
|
+
e[0] && q(e)
|
557
|
+
), l = (
|
558
|
+
/*text*/
|
559
|
+
e[1] && !/*collapsed*/
|
560
|
+
e[3] && G(e)
|
561
|
+
);
|
562
|
+
return {
|
563
|
+
c() {
|
564
|
+
t = _("div"), s && s.c(), n = W(), l && l.c(), c(t, "class", "DetailsCard svelte-1wpgdk2"), c(t, "part", "DetailsCard");
|
565
|
+
},
|
566
|
+
m(i, r) {
|
567
|
+
C(i, t, r), s && s.m(t, null), p(t, n), l && l.m(t, null), e[9](t);
|
568
|
+
},
|
569
|
+
p(i, [r]) {
|
570
|
+
/*title*/
|
571
|
+
i[0] ? s ? s.p(i, r) : (s = q(i), s.c(), s.m(t, n)) : s && (s.d(1), s = null), /*text*/
|
572
|
+
i[1] && !/*collapsed*/
|
573
|
+
i[3] ? l ? l.p(i, r) : (l = G(i), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
|
574
|
+
},
|
575
|
+
i: v,
|
576
|
+
o: v,
|
577
|
+
d(i) {
|
578
|
+
i && m(t), s && s.d(), l && l.d(), e[9](null);
|
579
|
+
}
|
580
|
+
};
|
581
|
+
}
|
582
|
+
function Dt(e, t, n) {
|
583
|
+
let { title: s = "" } = t, { text: l = "" } = t, { clientstyling: i = "" } = t, { clientstylingurl: r = "" } = t, u, f = !1;
|
584
|
+
const o = () => {
|
585
|
+
n(3, f = !f);
|
586
|
+
}, h = () => {
|
587
|
+
let a = document.createElement("style");
|
588
|
+
a.innerHTML = i, u.appendChild(a);
|
589
|
+
}, d = () => {
|
590
|
+
let a = new URL(r), j = document.createElement("style");
|
591
|
+
fetch(a.href).then((b) => b.text()).then((b) => {
|
592
|
+
j.innerHTML = b, setTimeout(
|
593
|
+
() => {
|
594
|
+
u.appendChild(j);
|
595
|
+
},
|
596
|
+
1
|
597
|
+
), setTimeout(
|
598
|
+
() => {
|
599
|
+
},
|
600
|
+
500
|
601
|
+
);
|
602
|
+
});
|
603
|
+
}, g = (a, j) => {
|
604
|
+
let b = document.createElement("div");
|
605
|
+
b.innerHTML = j, a.append(b);
|
606
|
+
}, L = () => o();
|
607
|
+
function T(a) {
|
608
|
+
B[a ? "unshift" : "push"](() => {
|
609
|
+
u = a, n(2, u);
|
610
|
+
});
|
611
|
+
}
|
612
|
+
return e.$$set = (a) => {
|
613
|
+
"title" in a && n(0, s = a.title), "text" in a && n(1, l = a.text), "clientstyling" in a && n(6, i = a.clientstyling), "clientstylingurl" in a && n(7, r = a.clientstylingurl);
|
614
|
+
}, e.$$.update = () => {
|
615
|
+
e.$$.dirty & /*customStylingContainer, clientstyling*/
|
616
|
+
68 && u && i && h(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
|
617
|
+
132 && u && r && d();
|
618
|
+
}, [
|
619
|
+
s,
|
620
|
+
l,
|
621
|
+
u,
|
622
|
+
f,
|
623
|
+
o,
|
624
|
+
g,
|
625
|
+
i,
|
626
|
+
r,
|
627
|
+
L,
|
628
|
+
T
|
629
|
+
];
|
630
|
+
}
|
631
|
+
class Ot extends vt {
|
632
|
+
constructor(t) {
|
633
|
+
super(), kt(
|
634
|
+
this,
|
635
|
+
t,
|
636
|
+
Dt,
|
637
|
+
jt,
|
638
|
+
st,
|
639
|
+
{
|
640
|
+
title: 0,
|
641
|
+
text: 1,
|
642
|
+
clientstyling: 6,
|
643
|
+
clientstylingurl: 7
|
644
|
+
},
|
645
|
+
Et
|
646
|
+
);
|
647
|
+
}
|
648
|
+
get title() {
|
649
|
+
return this.$$.ctx[0];
|
650
|
+
}
|
651
|
+
set title(t) {
|
652
|
+
this.$$set({ title: t }), k();
|
653
|
+
}
|
654
|
+
get text() {
|
655
|
+
return this.$$.ctx[1];
|
656
|
+
}
|
657
|
+
set text(t) {
|
658
|
+
this.$$set({ text: t }), k();
|
659
|
+
}
|
660
|
+
get clientstyling() {
|
661
|
+
return this.$$.ctx[6];
|
662
|
+
}
|
663
|
+
set clientstyling(t) {
|
664
|
+
this.$$set({ clientstyling: t }), k();
|
665
|
+
}
|
666
|
+
get clientstylingurl() {
|
667
|
+
return this.$$.ctx[7];
|
668
|
+
}
|
669
|
+
set clientstylingurl(t) {
|
670
|
+
this.$$set({ clientstylingurl: t }), k();
|
671
|
+
}
|
672
|
+
}
|
673
|
+
xt(Ot, { title: {}, text: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
674
|
+
export {
|
675
|
+
Ot as default
|
676
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";var Z=Object.defineProperty,tt=Object.defineProperties;var et=Object.getOwnPropertyDescriptors;var R=Object.getOwnPropertySymbols;var nt=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable;var F=(e,t,n)=>t in e?Z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I=(e,t)=>{for(var n in t||(t={}))nt.call(t,n)&&F(e,n,t[n]);if(R)for(var n of R(t))st.call(t,n)&&F(e,n,t[n]);return e},U=(e,t)=>tt(e,et(t));var $=(e,t,n)=>F(e,typeof t!="symbol"?t+"":t,n);var z=(e,t,n)=>new Promise((s,l)=>{var i=f=>{try{u(n.next(f))}catch(o){l(o)}},r=f=>{try{u(n.throw(f))}catch(o){l(o)}},u=f=>f.done?s(f.value):Promise.resolve(f.value).then(i,r);u((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function v(){}function K(e){return e()}function J(){return Object.create(null)}function D(e){e.forEach(K)}function A(e){return typeof e=="function"}function it(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function lt(e){return Object.keys(e).length===0}function rt(e){return e&&A(e.destroy)?e.destroy:v}function p(e,t){e.appendChild(t)}function ot(e,t,n){const s=ct(e);if(!s.getElementById(t)){const l=_("style");l.id=t,l.textContent=n,ut(s,l)}}function ct(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ut(e,t){return p(e.head||e,t),t.sheet}function C(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode&&e.parentNode.removeChild(e)}function _(e){return document.createElement(e)}function S(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Q(e){return document.createTextNode(e)}function W(){return Q(" ")}function ft(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function c(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function dt(e){return Array.from(e.childNodes)}function at(e,t){t=""+t,e.data!==t&&(e.data=t)}function ht(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let H;function E(e){H=e}const y=[],M=[];let x=[];const V=[],$t=Promise.resolve();let B=!1;function gt(){B||(B=!0,$t.then(k))}function P(e){x.push(e)}const N=new Set;let w=0;function k(){if(w!==0)return;const e=H;do{try{for(;w<y.length;){const t=y[w];w++,E(t),pt(t.$$)}}catch(t){throw y.length=0,w=0,t}for(E(null),y.length=0,w=0;M.length;)M.pop()();for(let t=0;t<x.length;t+=1){const n=x[t];N.has(n)||(N.add(n),n())}x.length=0}while(y.length);for(;V.length;)V.pop()();B=!1,N.clear(),E(e)}function pt(e){if(e.fragment!==null){e.update(),D(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(P)}}function _t(e){const t=[],n=[];x.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),x=t}const mt=new Set;function bt(e,t){e&&e.i&&(mt.delete(e),e.i(t))}function wt(e,t,n){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,n),P(()=>{const i=e.$$.on_mount.map(K).filter(A);e.$$.on_destroy?e.$$.on_destroy.push(...i):D(i),e.$$.on_mount=[]}),l.forEach(P)}function yt(e,t){const n=e.$$;n.fragment!==null&&(_t(n.after_update),D(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function kt(e,t){e.$$.dirty[0]===-1&&(y.push(e),gt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function xt(e,t,n,s,l,i,r=null,u=[-1]){const f=H;E(e);const o=e.$$={fragment:null,ctx:[],props:i,update:v,not_equal:l,bound:J(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(f?f.$$.context:[])),callbacks:J(),dirty:u,skip_bound:!1,root:t.target||f.$$.root};r&&r(o.root);let h=!1;if(o.ctx=n?n(e,t.props||{},(d,g,...T)=>{const j=T.length?T[0]:g;return o.ctx&&l(o.ctx[d],o.ctx[d]=j)&&(!o.skip_bound&&o.bound[d]&&o.bound[d](j),h&&kt(e,d)),g}):[],o.update(),h=!0,D(o.before_update),o.fragment=s?s(o.ctx):!1,t.target){if(t.hydrate){const d=dt(t.target);o.fragment&&o.fragment.l(d),d.forEach(m)}else o.fragment&&o.fragment.c();t.intro&&bt(e.$$.fragment),wt(e,t.target,t.anchor),k()}E(f)}let X;typeof HTMLElement=="function"&&(X=class extends HTMLElement{constructor(t,n,s){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const l=this.$$c.$on(t,n);this.$$l_u.set(n,l)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const l=this.$$l_u.get(n);l&&(l(),this.$$l_u.delete(n))}}connectedCallback(){return z(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let r;return{c:function(){r=_("slot"),i!=="default"&&c(r,"name",i)},m:function(o,h){C(o,r,h)},d:function(o){o&&m(r)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=ht(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const r=this.$$g_p(i.name);r in this.$$d||(this.$$d[r]=O(r,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:U(I({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const l=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const r=O(i,this.$$d[i],this.$$p_d,"toAttribute");r==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,r)}this.$$r=!1};this.$$c.$$.after_update.push(l),l();for(const i in this.$$l)for(const r of this.$$l[i]){const u=this.$$c.$on(i,r);this.$$l_u.set(r,u)}this.$$l={}}})}attributeChangedCallback(t,n,s){var l;this.$$r||(t=this.$$g_p(t),this.$$d[t]=O(t,s,this.$$p_d,"toProp"),(l=this.$$c)==null||l.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function O(e,t,n,s){var i;const l=(i=n[e])==null?void 0:i.type;if(t=l==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(l){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(l){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function vt(e,t,n,s,l,i){let r=class extends X{constructor(){super(e,n,l),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(r.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(f){var o;f=O(u,f,t),this.$$d[u]=f,(o=this.$$c)==null||o.$set({[u]:f})}})}),s.forEach(u=>{Object.defineProperty(r.prototype,u,{get(){var f;return(f=this.$$c)==null?void 0:f[u]}})}),e.element=r,r}class Ct{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){yt(this,1),this.$destroy=v}$on(t,n){if(!A(n))return v;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const l=s.indexOf(n);l!==-1&&s.splice(l,1)}}$set(t){this.$$set&&!lt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Et="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Et);function Tt(e){ot(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}")}function q(e){let t,n,s,l,i,r,u;function f(d,g){return d[3]?jt:Lt}let o=f(e),h=o(e);return{c(){t=_("div"),n=_("p"),s=Q(e[0]),l=W(),i=_("div"),h.c(),c(n,"class","Title svelte-1wpgdk2"),c(n,"part","Title"),c(i,"class","CollapseButtonDetails svelte-1wpgdk2"),c(i,"part","CollapseButtonDetails"),c(t,"class","DetailsTitle svelte-1wpgdk2"),c(t,"part","DetailsTitle")},m(d,g){C(d,t,g),p(t,n),p(n,s),p(t,l),p(t,i),h.m(i,null),r||(u=ft(i,"click",e[8]),r=!0)},p(d,g){g&1&&at(s,d[0]),o!==(o=f(d))&&(h.d(1),h=o(d),h&&(h.c(),h.m(i,null)))},d(d){d&&m(t),h.d(),r=!1,u()}}}function jt(e){let t,n;return{c(){t=S("svg"),n=S("path"),c(n,"d","M6 9l6 6 6-6"),c(n,"class","svelte-1wpgdk2"),c(t,"xmlns","http://www.w3.org/2000/svg"),c(t,"width","24"),c(t,"height","24"),c(t,"viewBox","0 0 24 24"),c(t,"fill","none"),c(t,"stroke","#ffffff"),c(t,"stroke-width","2"),c(t,"stroke-linecap","round"),c(t,"stroke-linejoin","round"),c(t,"class","svelte-1wpgdk2")},m(s,l){C(s,t,l),p(t,n)},d(s){s&&m(t)}}}function Lt(e){let t,n;return{c(){t=S("svg"),n=S("path"),c(n,"d","M18 15l-6-6-6 6"),c(n,"class","svelte-1wpgdk2"),c(t,"xmlns","http://www.w3.org/2000/svg"),c(t,"width","24"),c(t,"height","24"),c(t,"viewBox","0 0 24 24"),c(t,"fill","none"),c(t,"stroke","#ffffff"),c(t,"stroke-width","2"),c(t,"stroke-linecap","round"),c(t,"stroke-linejoin","round"),c(t,"class","svelte-1wpgdk2")},m(s,l){C(s,t,l),p(t,n)},d(s){s&&m(t)}}}function G(e){let t,n,s,l;return{c(){t=_("div"),t.innerHTML="",c(t,"class","DetailsContent sc svelte-1wpgdk2"),c(t,"part","DetailsContent")},m(i,r){C(i,t,r),s||(l=rt(n=e[5].call(null,t,e[1])),s=!0)},p(i,r){n&&A(n.update)&&r&2&&n.update.call(null,i[1])},d(i){i&&m(t),s=!1,l()}}}function Ot(e){let t,n,s=e[0]&&q(e),l=e[1]&&!e[3]&&G(e);return{c(){t=_("div"),s&&s.c(),n=W(),l&&l.c(),c(t,"class","DetailsCard svelte-1wpgdk2"),c(t,"part","DetailsCard")},m(i,r){C(i,t,r),s&&s.m(t,null),p(t,n),l&&l.m(t,null),e[9](t)},p(i,[r]){i[0]?s?s.p(i,r):(s=q(i),s.c(),s.m(t,n)):s&&(s.d(1),s=null),i[1]&&!i[3]?l?l.p(i,r):(l=G(i),l.c(),l.m(t,null)):l&&(l.d(1),l=null)},i:v,o:v,d(i){i&&m(t),s&&s.d(),l&&l.d(),e[9](null)}}}function St(e,t,n){let{title:s=""}=t,{text:l=""}=t,{clientstyling:i=""}=t,{clientstylingurl:r=""}=t,u,f=!1;const o=()=>{n(3,f=!f)},h=()=>{let a=document.createElement("style");a.innerHTML=i,u.appendChild(a)},d=()=>{let a=new URL(r),L=document.createElement("style");fetch(a.href).then(b=>b.text()).then(b=>{L.innerHTML=b,setTimeout(()=>{u.appendChild(L)},1),setTimeout(()=>{},500)})},g=(a,L)=>{let b=document.createElement("div");b.innerHTML=L,a.append(b)},T=()=>o();function j(a){M[a?"unshift":"push"](()=>{u=a,n(2,u)})}return e.$$set=a=>{"title"in a&&n(0,s=a.title),"text"in a&&n(1,l=a.text),"clientstyling"in a&&n(6,i=a.clientstyling),"clientstylingurl"in a&&n(7,r=a.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&68&&u&&i&&h(),e.$$.dirty&132&&u&&r&&d()},[s,l,u,f,o,g,i,r,T,j]}class Y extends Ct{constructor(t){super(),xt(this,t,St,Ot,it,{title:0,text:1,clientstyling:6,clientstylingurl:7},Tt)}get title(){return this.$$.ctx[0]}set title(t){this.$$set({title:t}),k()}get text(){return this.$$.ctx[1]}set text(t){this.$$set({text:t}),k()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),k()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),k()}}vt(Y,{title:{},text:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=Y;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsDetails-D1wF_uqm.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-details")&&customElements.define("casino-tournaments-details",t.element)})}
|