@everymatrix/player-consents 1.55.0 → 1.56.2

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.
@@ -1,50 +1,51 @@
1
1
  function d() {
2
2
  }
3
- function S(t) {
3
+ function M(t) {
4
4
  return t();
5
5
  }
6
- function j() {
6
+ function T() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function b(t) {
10
- t.forEach(S);
9
+ function p(t) {
10
+ t.forEach(M);
11
11
  }
12
- function M(t) {
12
+ function O(t) {
13
13
  return typeof t == "function";
14
14
  }
15
15
  function z(t, e) {
16
16
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
17
17
  }
18
- function G(t) {
18
+ function U(t) {
19
19
  return Object.keys(t).length === 0;
20
20
  }
21
- function I(t, ...e) {
21
+ function D(t, ...e) {
22
22
  if (t == null) {
23
- for (const i of e)
24
- i(void 0);
23
+ for (const s of e)
24
+ s(void 0);
25
25
  return d;
26
26
  }
27
27
  const n = t.subscribe(...e);
28
28
  return n.unsubscribe ? () => n.unsubscribe() : n;
29
29
  }
30
- function at(t, e, n) {
31
- t.$$.on_destroy.push(I(e, n));
30
+ function _t(t, e, n) {
31
+ t.$$.on_destroy.push(D(e, n));
32
32
  }
33
- function ht(t) {
33
+ function gt(t) {
34
34
  return t ?? "";
35
35
  }
36
- function U(t, e) {
36
+ function G(t, e) {
37
37
  t.appendChild(e);
38
38
  }
39
- function D(t, e, n) {
40
- const i = F(t);
41
- if (!i.getElementById(e)) {
42
- const s = x("style");
43
- s.id = e, s.textContent = n, J(i, s);
39
+ function I(t, e, n) {
40
+ const s = F(t);
41
+ if (!s.getElementById(e)) {
42
+ const i = w("style");
43
+ i.id = e, i.textContent = n, J(s, i);
44
44
  }
45
45
  }
46
46
  function F(t) {
47
- if (!t) return document;
47
+ if (!t)
48
+ return document;
48
49
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
49
50
  return e && /** @type {ShadowRoot} */
50
51
  e.host ? (
@@ -53,23 +54,23 @@ function F(t) {
53
54
  ) : t.ownerDocument;
54
55
  }
55
56
  function J(t, e) {
56
- return U(
57
+ return G(
57
58
  /** @type {Document} */
58
59
  t.head || t,
59
60
  e
60
61
  ), e.sheet;
61
62
  }
62
- function C(t, e, n) {
63
+ function v(t, e, n) {
63
64
  t.insertBefore(e, n || null);
64
65
  }
65
- function w(t) {
66
+ function y(t) {
66
67
  t.parentNode && t.parentNode.removeChild(t);
67
68
  }
68
- function $t(t, e) {
69
+ function bt(t, e) {
69
70
  for (let n = 0; n < t.length; n += 1)
70
71
  t[n] && t[n].d(e);
71
72
  }
72
- function x(t) {
73
+ function w(t) {
73
74
  return document.createElement(t);
74
75
  }
75
76
  function V(t) {
@@ -78,30 +79,30 @@ function V(t) {
78
79
  function P(t) {
79
80
  return document.createTextNode(t);
80
81
  }
81
- function _t() {
82
+ function pt() {
82
83
  return P(" ");
83
84
  }
84
- function mt() {
85
+ function yt() {
85
86
  return P("");
86
87
  }
87
- function pt(t, e, n, i) {
88
- return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
88
+ function wt(t, e, n, s) {
89
+ return t.addEventListener(e, n, s), () => t.removeEventListener(e, n, s);
89
90
  }
90
- function H(t, e, n) {
91
+ function B(t, e, n) {
91
92
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
92
93
  }
93
- function gt(t, e, n) {
94
- const i = e.toLowerCase();
95
- i in t ? t[i] = typeof t[i] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : H(t, e, n);
94
+ function xt(t, e, n) {
95
+ const s = e.toLowerCase();
96
+ s in t ? t[s] = typeof t[s] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : B(t, e, n);
96
97
  }
97
98
  function q(t) {
98
99
  return Array.from(t.childNodes);
99
100
  }
100
- function yt(t, e) {
101
+ function Et(t, e) {
101
102
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
102
103
  e);
103
104
  }
104
- class bt {
105
+ class Lt {
105
106
  /**
106
107
  * @private
107
108
  * @default false
@@ -131,17 +132,17 @@ class bt {
131
132
  * @param {HTMLElement | SVGElement} anchor
132
133
  * @returns {void}
133
134
  */
134
- m(e, n, i = null) {
135
+ m(e, n, s = null) {
135
136
  this.e || (this.is_svg ? this.e = V(
136
137
  /** @type {keyof SVGElementTagNameMap} */
137
138
  n.nodeName
138
- ) : this.e = x(
139
+ ) : this.e = w(
139
140
  /** @type {keyof HTMLElementTagNameMap} */
140
141
  n.nodeType === 11 ? "TEMPLATE" : n.nodeName
141
142
  ), this.t = n.tagName !== "TEMPLATE" ? n : (
142
143
  /** @type {HTMLTemplateElement} */
143
144
  n.content
144
- ), this.c(e)), this.i(i);
145
+ ), this.c(e)), this.i(s);
145
146
  }
146
147
  /**
147
148
  * @param {string} html
@@ -156,7 +157,7 @@ class bt {
156
157
  * @returns {void} */
157
158
  i(e) {
158
159
  for (let n = 0; n < this.n.length; n += 1)
159
- C(this.t, this.n[n], e);
160
+ v(this.t, this.n[n], e);
160
161
  }
161
162
  /**
162
163
  * @param {string} html
@@ -168,7 +169,7 @@ class bt {
168
169
  /**
169
170
  * @returns {void} */
170
171
  d() {
171
- this.n.forEach(w);
172
+ this.n.forEach(y);
172
173
  }
173
174
  }
174
175
  function K(t) {
@@ -180,126 +181,128 @@ function K(t) {
180
181
  }
181
182
  ), e;
182
183
  }
183
- let p;
184
+ let g;
184
185
  function m(t) {
185
- p = t;
186
+ g = t;
186
187
  }
187
188
  function Q() {
188
- if (!p) throw new Error("Function called outside component initialization");
189
- return p;
189
+ if (!g)
190
+ throw new Error("Function called outside component initialization");
191
+ return g;
190
192
  }
191
- function wt(t) {
193
+ function W(t) {
192
194
  Q().$$.on_mount.push(t);
193
195
  }
194
- const h = [], L = [];
196
+ const h = [], E = [];
195
197
  let $ = [];
196
- const O = [], W = /* @__PURE__ */ Promise.resolve();
197
- let v = !1;
198
- function X() {
199
- v || (v = !0, W.then(y));
198
+ const j = [], X = /* @__PURE__ */ Promise.resolve();
199
+ let L = !1;
200
+ function Y() {
201
+ L || (L = !0, X.then(_));
200
202
  }
201
203
  function k(t) {
202
204
  $.push(t);
203
205
  }
204
- const E = /* @__PURE__ */ new Set();
206
+ const x = /* @__PURE__ */ new Set();
205
207
  let a = 0;
206
- function y() {
208
+ function _() {
207
209
  if (a !== 0)
208
210
  return;
209
- const t = p;
211
+ const t = g;
210
212
  do {
211
213
  try {
212
214
  for (; a < h.length; ) {
213
215
  const e = h[a];
214
- a++, m(e), Y(e.$$);
216
+ a++, m(e), Z(e.$$);
215
217
  }
216
218
  } catch (e) {
217
219
  throw h.length = 0, a = 0, e;
218
220
  }
219
- for (m(null), h.length = 0, a = 0; L.length; ) L.pop()();
221
+ for (m(null), h.length = 0, a = 0; E.length; )
222
+ E.pop()();
220
223
  for (let e = 0; e < $.length; e += 1) {
221
224
  const n = $[e];
222
- E.has(n) || (E.add(n), n());
225
+ x.has(n) || (x.add(n), n());
223
226
  }
224
227
  $.length = 0;
225
228
  } while (h.length);
226
- for (; O.length; )
227
- O.pop()();
228
- v = !1, E.clear(), m(t);
229
+ for (; j.length; )
230
+ j.pop()();
231
+ L = !1, x.clear(), m(t);
229
232
  }
230
- function Y(t) {
233
+ function Z(t) {
231
234
  if (t.fragment !== null) {
232
- t.update(), b(t.before_update);
235
+ t.update(), p(t.before_update);
233
236
  const e = t.dirty;
234
237
  t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
235
238
  }
236
239
  }
237
- function Z(t) {
240
+ function tt(t) {
238
241
  const e = [], n = [];
239
- $.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), $ = e;
242
+ $.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $ = e;
240
243
  }
241
- const tt = /* @__PURE__ */ new Set();
242
- function et(t, e) {
243
- t && t.i && (tt.delete(t), t.i(e));
244
+ const et = /* @__PURE__ */ new Set();
245
+ function nt(t, e) {
246
+ t && t.i && (et.delete(t), t.i(e));
244
247
  }
245
- function xt(t) {
248
+ function kt(t) {
246
249
  return t?.length !== void 0 ? t : Array.from(t);
247
250
  }
248
- function nt(t, e, n) {
249
- const { fragment: i, after_update: s } = t.$$;
250
- i && i.m(e, n), k(() => {
251
- const o = t.$$.on_mount.map(S).filter(M);
252
- t.$$.on_destroy ? t.$$.on_destroy.push(...o) : b(o), t.$$.on_mount = [];
253
- }), s.forEach(k);
251
+ function st(t, e, n) {
252
+ const { fragment: s, after_update: i } = t.$$;
253
+ s && s.m(e, n), k(() => {
254
+ const r = t.$$.on_mount.map(M).filter(O);
255
+ t.$$.on_destroy ? t.$$.on_destroy.push(...r) : p(r), t.$$.on_mount = [];
256
+ }), i.forEach(k);
254
257
  }
255
- function st(t, e) {
258
+ function it(t, e) {
256
259
  const n = t.$$;
257
- n.fragment !== null && (Z(n.after_update), b(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
260
+ n.fragment !== null && (tt(n.after_update), p(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
258
261
  }
259
- function it(t, e) {
260
- t.$$.dirty[0] === -1 && (h.push(t), X(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
262
+ function rt(t, e) {
263
+ t.$$.dirty[0] === -1 && (h.push(t), Y(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
261
264
  }
262
- function rt(t, e, n, i, s, o, u = null, c = [-1]) {
263
- const l = p;
265
+ function ct(t, e, n, s, i, r, o = null, l = [-1]) {
266
+ const c = g;
264
267
  m(t);
265
- const r = t.$$ = {
268
+ const u = t.$$ = {
266
269
  fragment: null,
267
270
  ctx: [],
268
271
  // state
269
- props: o,
272
+ props: r,
270
273
  update: d,
271
- not_equal: s,
272
- bound: j(),
274
+ not_equal: i,
275
+ bound: T(),
273
276
  // lifecycle
274
277
  on_mount: [],
275
278
  on_destroy: [],
276
279
  on_disconnect: [],
277
280
  before_update: [],
278
281
  after_update: [],
279
- context: new Map(e.context || (l ? l.$$.context : [])),
282
+ context: new Map(e.context || (c ? c.$$.context : [])),
280
283
  // everything else
281
- callbacks: j(),
282
- dirty: c,
284
+ callbacks: T(),
285
+ dirty: l,
283
286
  skip_bound: !1,
284
- root: e.target || l.$$.root
287
+ root: e.target || c.$$.root
285
288
  };
286
- u && u(r.root);
287
- let _ = !1;
288
- if (r.ctx = n ? n(t, e.props || {}, (f, A, ...N) => {
289
- const T = N.length ? N[0] : A;
290
- return r.ctx && s(r.ctx[f], r.ctx[f] = T) && (!r.skip_bound && r.bound[f] && r.bound[f](T), _ && it(t, f)), A;
291
- }) : [], r.update(), _ = !0, b(r.before_update), r.fragment = i ? i(r.ctx) : !1, e.target) {
289
+ o && o(u.root);
290
+ let A = !1;
291
+ if (u.ctx = n ? n(t, e.props || {}, (f, N, ...S) => {
292
+ const C = S.length ? S[0] : N;
293
+ return u.ctx && i(u.ctx[f], u.ctx[f] = C) && (!u.skip_bound && u.bound[f] && u.bound[f](C), A && rt(t, f)), N;
294
+ }) : [], u.update(), A = !0, p(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
292
295
  if (e.hydrate) {
293
296
  const f = q(e.target);
294
- r.fragment && r.fragment.l(f), f.forEach(w);
297
+ u.fragment && u.fragment.l(f), f.forEach(y);
295
298
  } else
296
- r.fragment && r.fragment.c();
297
- e.intro && et(t.$$.fragment), nt(t, e.target, e.anchor), y();
299
+ u.fragment && u.fragment.c();
300
+ e.intro && nt(t.$$.fragment), st(t, e.target, e.anchor), _();
298
301
  }
299
- m(l);
302
+ m(c);
300
303
  }
301
- let B;
302
- typeof HTMLElement == "function" && (B = class extends HTMLElement {
304
+ let H;
305
+ typeof HTMLElement == "function" && (H = class extends HTMLElement {
303
306
  /** The Svelte component constructor */
304
307
  $$ctor;
305
308
  /** Slots */
@@ -323,35 +326,35 @@ typeof HTMLElement == "function" && (B = class extends HTMLElement {
323
326
  }
324
327
  addEventListener(t, e, n) {
325
328
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(e), this.$$c) {
326
- const i = this.$$c.$on(t, e);
327
- this.$$l_u.set(e, i);
329
+ const s = this.$$c.$on(t, e);
330
+ this.$$l_u.set(e, s);
328
331
  }
329
332
  super.addEventListener(t, e, n);
330
333
  }
331
334
  removeEventListener(t, e, n) {
332
335
  if (super.removeEventListener(t, e, n), this.$$c) {
333
- const i = this.$$l_u.get(e);
334
- i && (i(), this.$$l_u.delete(e));
336
+ const s = this.$$l_u.get(e);
337
+ s && (s(), this.$$l_u.delete(e));
335
338
  }
336
339
  }
337
340
  async connectedCallback() {
338
341
  if (this.$$cn = !0, !this.$$c) {
339
- let t = function(s) {
342
+ let t = function(i) {
340
343
  return () => {
341
- let o;
344
+ let r;
342
345
  return {
343
346
  c: function() {
344
- o = x("slot"), s !== "default" && H(o, "name", s);
347
+ r = w("slot"), i !== "default" && B(r, "name", i);
345
348
  },
346
349
  /**
347
350
  * @param {HTMLElement} target
348
351
  * @param {HTMLElement} [anchor]
349
352
  */
350
- m: function(l, r) {
351
- C(l, o, r);
353
+ m: function(c, u) {
354
+ v(c, r, u);
352
355
  },
353
- d: function(l) {
354
- l && w(o);
356
+ d: function(c) {
357
+ c && y(r);
355
358
  }
356
359
  };
357
360
  };
@@ -359,14 +362,14 @@ typeof HTMLElement == "function" && (B = class extends HTMLElement {
359
362
  if (await Promise.resolve(), !this.$$cn || this.$$c)
360
363
  return;
361
364
  const e = {}, n = K(this);
362
- for (const s of this.$$s)
363
- s in n && (e[s] = [t(s)]);
364
- for (const s of this.attributes) {
365
- const o = this.$$g_p(s.name);
366
- o in this.$$d || (this.$$d[o] = g(o, s.value, this.$$p_d, "toProp"));
365
+ for (const i of this.$$s)
366
+ i in n && (e[i] = [t(i)]);
367
+ for (const i of this.attributes) {
368
+ const r = this.$$g_p(i.name);
369
+ r in this.$$d || (this.$$d[r] = b(r, i.value, this.$$p_d, "toProp"));
367
370
  }
368
- for (const s in this.$$p_d)
369
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
371
+ for (const i in this.$$p_d)
372
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
370
373
  this.$$c = new this.$$ctor({
371
374
  target: this.shadowRoot || this,
372
375
  props: {
@@ -377,25 +380,25 @@ typeof HTMLElement == "function" && (B = class extends HTMLElement {
377
380
  }
378
381
  }
379
382
  });
380
- const i = () => {
383
+ const s = () => {
381
384
  this.$$r = !0;
382
- for (const s in this.$$p_d)
383
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
384
- const o = g(
385
- s,
386
- this.$$d[s],
385
+ for (const i in this.$$p_d)
386
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
387
+ const r = b(
388
+ i,
389
+ this.$$d[i],
387
390
  this.$$p_d,
388
391
  "toAttribute"
389
392
  );
390
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
393
+ r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
391
394
  }
392
395
  this.$$r = !1;
393
396
  };
394
- this.$$c.$$.after_update.push(i), i();
395
- for (const s in this.$$l)
396
- for (const o of this.$$l[s]) {
397
- const u = this.$$c.$on(s, o);
398
- this.$$l_u.set(o, u);
397
+ this.$$c.$$.after_update.push(s), s();
398
+ for (const i in this.$$l)
399
+ for (const r of this.$$l[i]) {
400
+ const o = this.$$c.$on(i, r);
401
+ this.$$l_u.set(r, o);
399
402
  }
400
403
  this.$$l = {};
401
404
  }
@@ -403,7 +406,7 @@ typeof HTMLElement == "function" && (B = class extends HTMLElement {
403
406
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
404
407
  // and setting attributes through setAttribute etc, this is helpful
405
408
  attributeChangedCallback(t, e, n) {
406
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = g(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
409
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = b(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
407
410
  }
408
411
  disconnectedCallback() {
409
412
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -416,12 +419,12 @@ typeof HTMLElement == "function" && (B = class extends HTMLElement {
416
419
  ) || t;
417
420
  }
418
421
  });
419
- function g(t, e, n, i) {
420
- const s = n[t]?.type;
421
- if (e = s === "Boolean" && typeof e != "boolean" ? e != null : e, !i || !n[t])
422
+ function b(t, e, n, s) {
423
+ const i = n[t]?.type;
424
+ if (e = i === "Boolean" && typeof e != "boolean" ? e != null : e, !s || !n[t])
422
425
  return e;
423
- if (i === "toAttribute")
424
- switch (s) {
426
+ if (s === "toAttribute")
427
+ switch (i) {
425
428
  case "Object":
426
429
  case "Array":
427
430
  return e == null ? null : JSON.stringify(e);
@@ -433,7 +436,7 @@ function g(t, e, n, i) {
433
436
  return e;
434
437
  }
435
438
  else
436
- switch (s) {
439
+ switch (i) {
437
440
  case "Object":
438
441
  case "Array":
439
442
  return e && JSON.parse(e);
@@ -445,36 +448,36 @@ function g(t, e, n, i) {
445
448
  return e;
446
449
  }
447
450
  }
448
- function ot(t, e, n, i, s, o) {
449
- let u = class extends B {
451
+ function ot(t, e, n, s, i, r) {
452
+ let o = class extends H {
450
453
  constructor() {
451
- super(t, n, s), this.$$p_d = e;
454
+ super(t, n, i), this.$$p_d = e;
452
455
  }
453
456
  static get observedAttributes() {
454
457
  return Object.keys(e).map(
455
- (c) => (e[c].attribute || c).toLowerCase()
458
+ (l) => (e[l].attribute || l).toLowerCase()
456
459
  );
457
460
  }
458
461
  };
459
- return Object.keys(e).forEach((c) => {
460
- Object.defineProperty(u.prototype, c, {
462
+ return Object.keys(e).forEach((l) => {
463
+ Object.defineProperty(o.prototype, l, {
461
464
  get() {
462
- return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
465
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
463
466
  },
464
- set(l) {
465
- l = g(c, l, e), this.$$d[c] = l, this.$$c?.$set({ [c]: l });
467
+ set(c) {
468
+ c = b(l, c, e), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
466
469
  }
467
470
  });
468
- }), i.forEach((c) => {
469
- Object.defineProperty(u.prototype, c, {
471
+ }), s.forEach((l) => {
472
+ Object.defineProperty(o.prototype, l, {
470
473
  get() {
471
- return this.$$c?.[c];
474
+ return this.$$c?.[l];
472
475
  }
473
476
  });
474
477
  }), t.element = /** @type {any} */
475
- u, u;
478
+ o, o;
476
479
  }
477
- class ct {
480
+ class lt {
478
481
  /**
479
482
  * ### PRIVATE API
480
483
  *
@@ -493,7 +496,7 @@ class ct {
493
496
  $$set = void 0;
494
497
  /** @returns {void} */
495
498
  $destroy() {
496
- st(this, 1), this.$destroy = d;
499
+ it(this, 1), this.$destroy = d;
497
500
  }
498
501
  /**
499
502
  * @template {Extract<keyof Events, string>} K
@@ -502,12 +505,12 @@ class ct {
502
505
  * @returns {() => void}
503
506
  */
504
507
  $on(e, n) {
505
- if (!M(n))
508
+ if (!O(n))
506
509
  return d;
507
- const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
508
- return i.push(n), () => {
509
- const s = i.indexOf(n);
510
- s !== -1 && i.splice(s, 1);
510
+ const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
511
+ return s.push(n), () => {
512
+ const i = s.indexOf(n);
513
+ i !== -1 && s.splice(i, 1);
511
514
  };
512
515
  }
513
516
  /**
@@ -515,115 +518,150 @@ class ct {
515
518
  * @returns {void}
516
519
  */
517
520
  $set(e) {
518
- this.$$set && !G(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
521
+ this.$$set && !U(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
522
+ }
523
+ }
524
+ const ut = "4";
525
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ut);
526
+ function ft(t, e) {
527
+ if (t) {
528
+ const n = document.createElement("style");
529
+ n.innerHTML = e, t.appendChild(n);
530
+ }
531
+ }
532
+ function dt(t, e) {
533
+ const n = new URL(e);
534
+ fetch(n.href).then((s) => s.text()).then((s) => {
535
+ const i = document.createElement("style");
536
+ i.innerHTML = s, t && t.appendChild(i);
537
+ }).catch((s) => {
538
+ console.error("There was an error while trying to load client styling from URL", s);
539
+ });
540
+ }
541
+ function at(t, e, n) {
542
+ if (window.emMessageBus) {
543
+ const s = document.createElement("style");
544
+ window.emMessageBus.subscribe(e, (i) => {
545
+ s.innerHTML = i, t && t.appendChild(s);
546
+ });
519
547
  }
520
548
  }
521
- const lt = "4";
522
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(lt);
523
- function ut(t) {
524
- D(t, "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)}}");
549
+ function ht(t) {
550
+ I(t, "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)}}");
525
551
  }
526
- function ft(t) {
552
+ function $t(t) {
527
553
  let e;
528
554
  return {
529
555
  c() {
530
- e = x("div"), e.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
556
+ e = w("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
531
557
  },
532
- m(n, i) {
533
- C(n, e, i), t[3](e);
558
+ m(n, s) {
559
+ v(n, e, s), t[4](e);
534
560
  },
535
561
  p: d,
536
562
  i: d,
537
563
  o: d,
538
564
  d(n) {
539
- n && w(e), t[3](null);
565
+ n && y(e), t[4](null);
540
566
  }
541
567
  };
542
568
  }
543
- function dt(t, e, n) {
544
- let { clientstyling: i = "" } = e, { clientstylingurl: s = "" } = e, o;
545
- const u = () => {
546
- let r = document.createElement("style");
547
- r.innerHTML = i, o.appendChild(r);
548
- }, c = () => {
549
- let r = new URL(s), _ = document.createElement("style");
550
- fetch(r.href).then((f) => f.text()).then((f) => {
551
- _.innerHTML = f, setTimeout(
552
- () => {
553
- o.appendChild(_);
554
- },
555
- 1
556
- ), setTimeout(
557
- () => {
558
- },
559
- 500
560
- );
561
- });
562
- };
563
- function l(r) {
564
- L[r ? "unshift" : "push"](() => {
565
- o = r, n(0, o);
569
+ function mt(t, e, n) {
570
+ let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, { mbsource: r } = e, o;
571
+ W(() => () => {
572
+ });
573
+ function l(c) {
574
+ E[c ? "unshift" : "push"](() => {
575
+ o = c, n(0, o);
566
576
  });
567
577
  }
568
- return t.$$set = (r) => {
569
- "clientstyling" in r && n(1, i = r.clientstyling), "clientstylingurl" in r && n(2, s = r.clientstylingurl);
578
+ return t.$$set = (c) => {
579
+ "clientstyling" in c && n(1, s = c.clientstyling), "clientstylingurl" in c && n(2, i = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
570
580
  }, t.$$.update = () => {
571
581
  t.$$.dirty & /*clientstyling, customStylingContainer*/
572
- 3 && i && o && u(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
573
- 5 && s && o && c();
574
- }, [o, i, s, l];
575
- }
576
- class R extends ct {
582
+ 3 && s && o && ft(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
583
+ 5 && i && o && dt(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
584
+ 9 && r && o && at(o, `${r}.Style`);
585
+ }, [
586
+ o,
587
+ s,
588
+ i,
589
+ r,
590
+ l
591
+ ];
592
+ }
593
+ class R extends lt {
577
594
  constructor(e) {
578
- super(), rt(this, e, dt, ft, z, { clientstyling: 1, clientstylingurl: 2 }, ut);
595
+ super(), ct(
596
+ this,
597
+ e,
598
+ mt,
599
+ $t,
600
+ z,
601
+ {
602
+ clientstyling: 1,
603
+ clientstylingurl: 2,
604
+ mbsource: 3
605
+ },
606
+ ht
607
+ );
579
608
  }
580
609
  get clientstyling() {
581
610
  return this.$$.ctx[1];
582
611
  }
583
612
  set clientstyling(e) {
584
- this.$$set({ clientstyling: e }), y();
613
+ this.$$set({ clientstyling: e }), _();
585
614
  }
586
615
  get clientstylingurl() {
587
616
  return this.$$.ctx[2];
588
617
  }
589
618
  set clientstylingurl(e) {
590
- this.$$set({ clientstylingurl: e }), y();
619
+ this.$$set({ clientstylingurl: e }), _();
620
+ }
621
+ get mbsource() {
622
+ return this.$$.ctx[3];
623
+ }
624
+ set mbsource(e) {
625
+ this.$$set({ mbsource: e }), _();
591
626
  }
592
627
  }
593
- ot(R, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
594
- const Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
628
+ ot(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
629
+ const vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
595
630
  __proto__: null,
596
631
  default: R
597
632
  }, Symbol.toStringTag, { value: "Module" }));
598
633
  export {
599
- gt as A,
600
- Et as G,
601
- bt as H,
602
- ct as S,
634
+ wt as A,
635
+ P as B,
636
+ Et as C,
637
+ xt as D,
638
+ vt as G,
639
+ Lt as H,
640
+ lt as S,
603
641
  z as a,
604
- rt as b,
642
+ ct as b,
605
643
  ot as c,
606
644
  V as d,
607
- H as e,
608
- C as f,
609
- U as g,
610
- w as h,
611
- M as i,
612
- y as j,
613
- D as k,
614
- x as l,
615
- ht as m,
645
+ B as e,
646
+ v as f,
647
+ G as g,
648
+ y as h,
649
+ O as i,
650
+ _ as j,
651
+ I as k,
652
+ w as l,
653
+ _t as m,
616
654
  d as n,
617
- at as o,
618
- wt as p,
619
- L as q,
620
- b as r,
621
- I as s,
622
- xt as t,
623
- $t as u,
624
- _t as v,
625
- mt as w,
626
- pt as x,
627
- P as y,
655
+ W as o,
656
+ dt as p,
657
+ gt as q,
658
+ p as r,
659
+ D as s,
660
+ E as t,
661
+ ft as u,
662
+ at as v,
663
+ kt as w,
664
+ bt as x,
665
+ pt as y,
628
666
  yt as z
629
667
  };