@everymatrix/player-consents 0.7.4 → 0.7.6

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