@everymatrix/general-animation-loading 1.54.12 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,34 +1,34 @@
1
1
  function a() {
2
2
  }
3
- function N(t) {
3
+ function M(t) {
4
4
  return t();
5
5
  }
6
- function A() {
6
+ function O() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function y(t) {
10
- t.forEach(N);
10
+ t.forEach(M);
11
11
  }
12
- function P(t) {
12
+ function N(t) {
13
13
  return typeof t == "function";
14
14
  }
15
- function B(t, e) {
15
+ function R(t, e) {
16
16
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
17
17
  }
18
- function R(t) {
18
+ function T(t) {
19
19
  return Object.keys(t).length === 0;
20
20
  }
21
21
  function H(t, e) {
22
22
  t.appendChild(e);
23
23
  }
24
- function I(t, e, n) {
25
- const s = U(t);
24
+ function U(t, e, n) {
25
+ const s = I(t);
26
26
  if (!s.getElementById(e)) {
27
27
  const i = v("style");
28
- i.id = e, i.textContent = n, D(s, i);
28
+ i.id = e, i.textContent = n, z(s, i);
29
29
  }
30
30
  }
31
- function U(t) {
31
+ function I(t) {
32
32
  if (!t) return document;
33
33
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
34
34
  return e && /** @type {ShadowRoot} */
@@ -37,14 +37,14 @@ function U(t) {
37
37
  e
38
38
  ) : t.ownerDocument;
39
39
  }
40
- function D(t, e) {
40
+ function z(t, e) {
41
41
  return H(
42
42
  /** @type {Document} */
43
43
  t.head || t,
44
44
  e
45
45
  ), e.sheet;
46
46
  }
47
- function M(t, e, n) {
47
+ function B(t, e, n) {
48
48
  t.insertBefore(e, n || null);
49
49
  }
50
50
  function E(t) {
@@ -53,13 +53,13 @@ function E(t) {
53
53
  function v(t) {
54
54
  return document.createElement(t);
55
55
  }
56
- function G(t, e, n) {
56
+ function D(t, e, n) {
57
57
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
58
58
  }
59
- function J(t) {
59
+ function F(t) {
60
60
  return Array.from(t.childNodes);
61
61
  }
62
- function V(t) {
62
+ function G(t) {
63
63
  const e = {};
64
64
  return t.childNodes.forEach(
65
65
  /** @param {Element} node */
@@ -68,116 +68,123 @@ function V(t) {
68
68
  }
69
69
  ), e;
70
70
  }
71
- let C;
72
- function p(t) {
73
- C = t;
71
+ let p;
72
+ function _(t) {
73
+ p = t;
74
+ }
75
+ function J() {
76
+ if (!p) throw new Error("Function called outside component initialization");
77
+ return p;
78
+ }
79
+ function V(t) {
80
+ J().$$.on_mount.push(t);
74
81
  }
75
- const f = [], x = [];
82
+ const $ = [], w = [];
76
83
  let h = [];
77
- const S = [], z = /* @__PURE__ */ Promise.resolve();
78
- let w = !1;
79
- function F() {
80
- w || (w = !0, z.then(m));
84
+ const A = [], q = /* @__PURE__ */ Promise.resolve();
85
+ let x = !1;
86
+ function K() {
87
+ x || (x = !0, q.then(m));
81
88
  }
82
89
  function k(t) {
83
90
  h.push(t);
84
91
  }
85
92
  const b = /* @__PURE__ */ new Set();
86
- let $ = 0;
93
+ let f = 0;
87
94
  function m() {
88
- if ($ !== 0)
95
+ if (f !== 0)
89
96
  return;
90
- const t = C;
97
+ const t = p;
91
98
  do {
92
99
  try {
93
- for (; $ < f.length; ) {
94
- const e = f[$];
95
- $++, p(e), q(e.$$);
100
+ for (; f < $.length; ) {
101
+ const e = $[f];
102
+ f++, _(e), Q(e.$$);
96
103
  }
97
104
  } catch (e) {
98
- throw f.length = 0, $ = 0, e;
105
+ throw $.length = 0, f = 0, e;
99
106
  }
100
- for (p(null), f.length = 0, $ = 0; x.length; ) x.pop()();
107
+ for (_(null), $.length = 0, f = 0; w.length; ) w.pop()();
101
108
  for (let e = 0; e < h.length; e += 1) {
102
109
  const n = h[e];
103
110
  b.has(n) || (b.add(n), n());
104
111
  }
105
112
  h.length = 0;
106
- } while (f.length);
107
- for (; S.length; )
108
- S.pop()();
109
- w = !1, b.clear(), p(t);
113
+ } while ($.length);
114
+ for (; A.length; )
115
+ A.pop()();
116
+ x = !1, b.clear(), _(t);
110
117
  }
111
- function q(t) {
118
+ function Q(t) {
112
119
  if (t.fragment !== null) {
113
120
  t.update(), y(t.before_update);
114
121
  const e = t.dirty;
115
122
  t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
116
123
  }
117
124
  }
118
- function K(t) {
125
+ function W(t) {
119
126
  const e = [], n = [];
120
127
  h.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), h = e;
121
128
  }
122
- const Q = /* @__PURE__ */ new Set();
123
- function W(t, e) {
124
- t && t.i && (Q.delete(t), t.i(e));
129
+ const X = /* @__PURE__ */ new Set();
130
+ function Y(t, e) {
131
+ t && t.i && (X.delete(t), t.i(e));
125
132
  }
126
- function X(t, e, n) {
133
+ function Z(t, e, n) {
127
134
  const { fragment: s, after_update: i } = t.$$;
128
135
  s && s.m(e, n), k(() => {
129
- const l = t.$$.on_mount.map(N).filter(P);
130
- t.$$.on_destroy ? t.$$.on_destroy.push(...l) : y(l), t.$$.on_mount = [];
136
+ const r = t.$$.on_mount.map(M).filter(N);
137
+ t.$$.on_destroy ? t.$$.on_destroy.push(...r) : y(r), t.$$.on_mount = [];
131
138
  }), i.forEach(k);
132
139
  }
133
- function Y(t, e) {
140
+ function tt(t, e) {
134
141
  const n = t.$$;
135
- n.fragment !== null && (K(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
142
+ n.fragment !== null && (W(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
136
143
  }
137
- function Z(t, e) {
138
- t.$$.dirty[0] === -1 && (f.push(t), F(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
144
+ function et(t, e) {
145
+ t.$$.dirty[0] === -1 && ($.push(t), K(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
139
146
  }
140
- function tt(t, e, n, s, i, l, u = null, c = [-1]) {
141
- const o = C;
142
- p(t);
143
- const r = t.$$ = {
147
+ function nt(t, e, n, s, i, r, o = null, l = [-1]) {
148
+ const c = p;
149
+ _(t);
150
+ const u = t.$$ = {
144
151
  fragment: null,
145
152
  ctx: [],
146
153
  // state
147
- props: l,
154
+ props: r,
148
155
  update: a,
149
156
  not_equal: i,
150
- bound: A(),
157
+ bound: O(),
151
158
  // lifecycle
152
159
  on_mount: [],
153
160
  on_destroy: [],
154
161
  on_disconnect: [],
155
162
  before_update: [],
156
163
  after_update: [],
157
- context: new Map(e.context || (o ? o.$$.context : [])),
164
+ context: new Map(e.context || (c ? c.$$.context : [])),
158
165
  // everything else
159
- callbacks: A(),
160
- dirty: c,
166
+ callbacks: O(),
167
+ dirty: l,
161
168
  skip_bound: !1,
162
- root: e.target || o.$$.root
169
+ root: e.target || c.$$.root
163
170
  };
164
- u && u(r.root);
165
- let _ = !1;
166
- if (r.ctx = n ? n(t, e.props || {}, (d, L, ...j) => {
167
- const O = j.length ? j[0] : L;
168
- return r.ctx && i(r.ctx[d], r.ctx[d] = O) && (!r.skip_bound && r.bound[d] && r.bound[d](O), _ && Z(t, d)), L;
169
- }) : [], r.update(), _ = !0, y(r.before_update), r.fragment = s ? s(r.ctx) : !1, e.target) {
171
+ o && o(u.root);
172
+ let L = !1;
173
+ if (u.ctx = n ? n(t, e.props || {}, (d, C, ...S) => {
174
+ const j = S.length ? S[0] : C;
175
+ return u.ctx && i(u.ctx[d], u.ctx[d] = j) && (!u.skip_bound && u.bound[d] && u.bound[d](j), L && et(t, d)), C;
176
+ }) : [], u.update(), L = !0, y(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
170
177
  if (e.hydrate) {
171
- const d = J(e.target);
172
- r.fragment && r.fragment.l(d), d.forEach(E);
178
+ const d = F(e.target);
179
+ u.fragment && u.fragment.l(d), d.forEach(E);
173
180
  } else
174
- r.fragment && r.fragment.c();
175
- e.intro && W(t.$$.fragment), X(t, e.target, e.anchor), m();
181
+ u.fragment && u.fragment.c();
182
+ e.intro && Y(t.$$.fragment), Z(t, e.target, e.anchor), m();
176
183
  }
177
- p(o);
184
+ _(c);
178
185
  }
179
- let T;
180
- typeof HTMLElement == "function" && (T = class extends HTMLElement {
186
+ let P;
187
+ typeof HTMLElement == "function" && (P = class extends HTMLElement {
181
188
  /** The Svelte component constructor */
182
189
  $$ctor;
183
190
  /** Slots */
@@ -216,32 +223,32 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
216
223
  if (this.$$cn = !0, !this.$$c) {
217
224
  let t = function(i) {
218
225
  return () => {
219
- let l;
226
+ let r;
220
227
  return {
221
228
  c: function() {
222
- l = v("slot"), i !== "default" && G(l, "name", i);
229
+ r = v("slot"), i !== "default" && D(r, "name", i);
223
230
  },
224
231
  /**
225
232
  * @param {HTMLElement} target
226
233
  * @param {HTMLElement} [anchor]
227
234
  */
228
- m: function(o, r) {
229
- M(o, l, r);
235
+ m: function(c, u) {
236
+ B(c, r, u);
230
237
  },
231
- d: function(o) {
232
- o && E(l);
238
+ d: function(c) {
239
+ c && E(r);
233
240
  }
234
241
  };
235
242
  };
236
243
  };
237
244
  if (await Promise.resolve(), !this.$$cn || this.$$c)
238
245
  return;
239
- const e = {}, n = V(this);
246
+ const e = {}, n = G(this);
240
247
  for (const i of this.$$s)
241
248
  i in n && (e[i] = [t(i)]);
242
249
  for (const i of this.attributes) {
243
- const l = this.$$g_p(i.name);
244
- l in this.$$d || (this.$$d[l] = g(l, i.value, this.$$p_d, "toProp"));
250
+ const r = this.$$g_p(i.name);
251
+ r in this.$$d || (this.$$d[r] = g(r, i.value, this.$$p_d, "toProp"));
245
252
  }
246
253
  for (const i in this.$$p_d)
247
254
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -259,21 +266,21 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
259
266
  this.$$r = !0;
260
267
  for (const i in this.$$p_d)
261
268
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
262
- const l = g(
269
+ const r = g(
263
270
  i,
264
271
  this.$$d[i],
265
272
  this.$$p_d,
266
273
  "toAttribute"
267
274
  );
268
- l == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, l);
275
+ r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
269
276
  }
270
277
  this.$$r = !1;
271
278
  };
272
279
  this.$$c.$$.after_update.push(s), s();
273
280
  for (const i in this.$$l)
274
- for (const l of this.$$l[i]) {
275
- const u = this.$$c.$on(i, l);
276
- this.$$l_u.set(l, u);
281
+ for (const r of this.$$l[i]) {
282
+ const o = this.$$c.$on(i, r);
283
+ this.$$l_u.set(r, o);
277
284
  }
278
285
  this.$$l = {};
279
286
  }
@@ -323,36 +330,36 @@ function g(t, e, n, s) {
323
330
  return e;
324
331
  }
325
332
  }
326
- function et(t, e, n, s, i, l) {
327
- let u = class extends T {
333
+ function it(t, e, n, s, i, r) {
334
+ let o = class extends P {
328
335
  constructor() {
329
336
  super(t, n, i), this.$$p_d = e;
330
337
  }
331
338
  static get observedAttributes() {
332
339
  return Object.keys(e).map(
333
- (c) => (e[c].attribute || c).toLowerCase()
340
+ (l) => (e[l].attribute || l).toLowerCase()
334
341
  );
335
342
  }
336
343
  };
337
- return Object.keys(e).forEach((c) => {
338
- Object.defineProperty(u.prototype, c, {
344
+ return Object.keys(e).forEach((l) => {
345
+ Object.defineProperty(o.prototype, l, {
339
346
  get() {
340
- return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
347
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
341
348
  },
342
- set(o) {
343
- o = g(c, o, e), this.$$d[c] = o, this.$$c?.$set({ [c]: o });
349
+ set(c) {
350
+ c = g(l, c, e), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
344
351
  }
345
352
  });
346
- }), s.forEach((c) => {
347
- Object.defineProperty(u.prototype, c, {
353
+ }), s.forEach((l) => {
354
+ Object.defineProperty(o.prototype, l, {
348
355
  get() {
349
- return this.$$c?.[c];
356
+ return this.$$c?.[l];
350
357
  }
351
358
  });
352
359
  }), t.element = /** @type {any} */
353
- u, u;
360
+ o, o;
354
361
  }
355
- class nt {
362
+ class st {
356
363
  /**
357
364
  * ### PRIVATE API
358
365
  *
@@ -371,7 +378,7 @@ class nt {
371
378
  $$set = void 0;
372
379
  /** @returns {void} */
373
380
  $destroy() {
374
- Y(this, 1), this.$destroy = a;
381
+ tt(this, 1), this.$destroy = a;
375
382
  }
376
383
  /**
377
384
  * @template {Extract<keyof Events, string>} K
@@ -380,7 +387,7 @@ class nt {
380
387
  * @returns {() => void}
381
388
  */
382
389
  $on(e, n) {
383
- if (!P(n))
390
+ if (!N(n))
384
391
  return a;
385
392
  const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
386
393
  return s.push(n), () => {
@@ -393,67 +400,93 @@ class nt {
393
400
  * @returns {void}
394
401
  */
395
402
  $set(e) {
396
- this.$$set && !R(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
403
+ this.$$set && !T(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
404
+ }
405
+ }
406
+ const rt = "4";
407
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rt);
408
+ function ct(t, e) {
409
+ if (t) {
410
+ const n = document.createElement("style");
411
+ n.innerHTML = e, t.appendChild(n);
397
412
  }
398
413
  }
399
- const it = "4";
400
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(it);
401
- function st(t) {
402
- 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)}}");
414
+ function ot(t, e) {
415
+ const n = new URL(e);
416
+ fetch(n.href).then((s) => s.text()).then((s) => {
417
+ const i = document.createElement("style");
418
+ i.innerHTML = s, t && t.appendChild(i);
419
+ }).catch((s) => {
420
+ console.error("There was an error while trying to load client styling from URL", s);
421
+ });
403
422
  }
404
- function rt(t) {
423
+ function lt(t, e, n) {
424
+ if (window.emMessageBus) {
425
+ const s = document.createElement("style");
426
+ window.emMessageBus.subscribe(e, (i) => {
427
+ s.innerHTML = i, t && t.appendChild(s);
428
+ });
429
+ }
430
+ }
431
+ function ut(t) {
432
+ U(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)}}");
433
+ }
434
+ function dt(t) {
405
435
  let e;
406
436
  return {
407
437
  c() {
408
- e = v("div"), e.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
438
+ e = v("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
409
439
  },
410
440
  m(n, s) {
411
- M(n, e, s), t[3](e);
441
+ B(n, e, s), t[4](e);
412
442
  },
413
443
  p: a,
414
444
  i: a,
415
445
  o: a,
416
446
  d(n) {
417
- n && E(e), t[3](null);
447
+ n && E(e), t[4](null);
418
448
  }
419
449
  };
420
450
  }
421
- function lt(t, e, n) {
422
- let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, l;
423
- const u = () => {
424
- let r = document.createElement("style");
425
- r.innerHTML = s, l.appendChild(r);
426
- }, c = () => {
427
- let r = new URL(i), _ = document.createElement("style");
428
- fetch(r.href).then((d) => d.text()).then((d) => {
429
- _.innerHTML = d, setTimeout(
430
- () => {
431
- l.appendChild(_);
432
- },
433
- 1
434
- ), setTimeout(
435
- () => {
436
- },
437
- 500
438
- );
439
- });
440
- };
441
- function o(r) {
442
- x[r ? "unshift" : "push"](() => {
443
- l = r, n(0, l);
451
+ function ft(t, e, n) {
452
+ let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, { mbsource: r } = e, o;
453
+ V(() => () => {
454
+ });
455
+ function l(c) {
456
+ w[c ? "unshift" : "push"](() => {
457
+ o = c, n(0, o);
444
458
  });
445
459
  }
446
- return t.$$set = (r) => {
447
- "clientstyling" in r && n(1, s = r.clientstyling), "clientstylingurl" in r && n(2, i = r.clientstylingurl);
460
+ return t.$$set = (c) => {
461
+ "clientstyling" in c && n(1, s = c.clientstyling), "clientstylingurl" in c && n(2, i = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
448
462
  }, t.$$.update = () => {
449
463
  t.$$.dirty & /*clientstyling, customStylingContainer*/
450
- 3 && s && l && u(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
451
- 5 && i && l && c();
452
- }, [l, s, i, o];
453
- }
454
- class ct extends nt {
464
+ 3 && s && o && ct(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
465
+ 5 && i && o && ot(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
466
+ 9 && r && o && lt(o, `${r}.Style`);
467
+ }, [
468
+ o,
469
+ s,
470
+ i,
471
+ r,
472
+ l
473
+ ];
474
+ }
475
+ class $t extends st {
455
476
  constructor(e) {
456
- super(), tt(this, e, lt, rt, B, { clientstyling: 1, clientstylingurl: 2 }, st);
477
+ super(), nt(
478
+ this,
479
+ e,
480
+ ft,
481
+ dt,
482
+ R,
483
+ {
484
+ clientstyling: 1,
485
+ clientstylingurl: 2,
486
+ mbsource: 3
487
+ },
488
+ ut
489
+ );
457
490
  }
458
491
  get clientstyling() {
459
492
  return this.$$.ctx[1];
@@ -467,8 +500,14 @@ class ct extends nt {
467
500
  set clientstylingurl(e) {
468
501
  this.$$set({ clientstylingurl: e }), m();
469
502
  }
503
+ get mbsource() {
504
+ return this.$$.ctx[3];
505
+ }
506
+ set mbsource(e) {
507
+ this.$$set({ mbsource: e }), m();
508
+ }
470
509
  }
471
- et(ct, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
510
+ it($t, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
472
511
  export {
473
- ct as G
512
+ $t as G
474
513
  };
@@ -0,0 +1 @@
1
+ "use strict";var F=Object.defineProperty,J=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var x=(e,t,n)=>t in e?F(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&x(e,n,t[n]);if(M)for(var n of M(t))q.call(t,n)&&x(e,n,t[n]);return e},P=(e,t)=>J(e,V(t));var d=(e,t,n)=>x(e,typeof t!="symbol"?t+"":t,n);var B=(e,t,n)=>new Promise((i,r)=>{var s=o=>{try{u(n.next(o))}catch(l){r(l)}},c=o=>{try{u(n.throw(o))}catch(l){r(l)}},u=o=>o.done?i(o.value):Promise.resolve(o.value).then(s,c);u((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function h(){}function H(e){return e()}function T(){return Object.create(null)}function w(e){e.forEach(H)}function U(e){return typeof e=="function"}function K(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Q(e){return Object.keys(e).length===0}function W(e,t){e.appendChild(t)}function X(e,t,n){const i=Y(e);if(!i.getElementById(t)){const r=C("style");r.id=t,r.textContent=n,Z(i,r)}}function Y(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Z(e,t){return W(e.head||e,t),t.sheet}function I(e,t,n){e.insertBefore(t,n||null)}function S(e){e.parentNode&&e.parentNode.removeChild(e)}function C(e){return document.createElement(e)}function tt(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function et(e){return Array.from(e.childNodes)}function nt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let g;function _(e){g=e}function it(){if(!g)throw new Error("Function called outside component initialization");return g}function st(e){it().$$.on_mount.push(e)}const a=[],E=[];let m=[];const R=[],rt=Promise.resolve();let v=!1;function ct(){v||(v=!0,rt.then(p))}function L(e){m.push(e)}const k=new Set;let $=0;function p(){if($!==0)return;const e=g;do{try{for(;$<a.length;){const t=a[$];$++,_(t),ot(t.$$)}}catch(t){throw a.length=0,$=0,t}for(_(null),a.length=0,$=0;E.length;)E.pop()();for(let t=0;t<m.length;t+=1){const n=m[t];k.has(n)||(k.add(n),n())}m.length=0}while(a.length);for(;R.length;)R.pop()();v=!1,k.clear(),_(e)}function ot(e){if(e.fragment!==null){e.update(),w(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(L)}}function lt(e){const t=[],n=[];m.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),m=t}const ut=new Set;function dt(e,t){e&&e.i&&(ut.delete(e),e.i(t))}function ft(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),L(()=>{const s=e.$$.on_mount.map(H).filter(U);e.$$.on_destroy?e.$$.on_destroy.push(...s):w(s),e.$$.on_mount=[]}),r.forEach(L)}function $t(e,t){const n=e.$$;n.fragment!==null&&(lt(n.after_update),w(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function at(e,t){e.$$.dirty[0]===-1&&(a.push(e),ct(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ht(e,t,n,i,r,s,c=null,u=[-1]){const o=g;_(e);const l=e.$$={fragment:null,ctx:[],props:s,update:h,not_equal:r,bound:T(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(o?o.$$.context:[])),callbacks:T(),dirty:u,skip_bound:!1,root:t.target||o.$$.root};c&&c(l.root);let y=!1;if(l.ctx=n?n(e,t.props||{},(f,j,...O)=>{const A=O.length?O[0]:j;return l.ctx&&r(l.ctx[f],l.ctx[f]=A)&&(!l.skip_bound&&l.bound[f]&&l.bound[f](A),y&&at(e,f)),j}):[],l.update(),y=!0,w(l.before_update),l.fragment=i?i(l.ctx):!1,t.target){if(t.hydrate){const f=et(t.target);l.fragment&&l.fragment.l(f),f.forEach(S)}else l.fragment&&l.fragment.c();t.intro&&dt(e.$$.fragment),ft(e,t.target,t.anchor),p()}_(o)}let z;typeof HTMLElement=="function"&&(z=class extends HTMLElement{constructor(t,n,i){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,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return B(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let c;return{c:function(){c=C("slot"),s!=="default"&&tt(c,"name",s)},m:function(l,y){I(l,c,y)},d:function(l){l&&S(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=nt(this);for(const s of this.$$s)s in i&&(n[s]=[t(s)]);for(const s of this.attributes){const c=this.$$g_p(s.name);c in this.$$d||(this.$$d[c]=b(c,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:P(N({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const c=b(s,this.$$d[s],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,c)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const s in this.$$l)for(const c of this.$$l[s]){const u=this.$$c.$on(s,c);this.$$l_u.set(c,u)}this.$$l={}}})}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=b(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$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 b(e,t,n,i){var s;const r=(s=n[e])==null?void 0:s.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){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(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function mt(e,t,n,i,r,s){let c=class extends z{constructor(){super(e,n,r),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(c.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(o){var l;o=b(u,o,t),this.$$d[u]=o,(l=this.$$c)==null||l.$set({[u]:o})}})}),i.forEach(u=>{Object.defineProperty(c.prototype,u,{get(){var o;return(o=this.$$c)==null?void 0:o[u]}})}),e.element=c,c}class _t{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){$t(this,1),this.$destroy=h}$on(t,n){if(!U(n))return h;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!Q(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const pt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(pt);function gt(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function yt(e,t){const n=new URL(t);fetch(n.href).then(i=>i.text()).then(i=>{const r=document.createElement("style");r.innerHTML=i,e&&e.appendChild(r)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function bt(e,t,n){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,r=>{i.innerHTML=r,e&&e.appendChild(i)})}}function wt(e){X(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 xt(e){let t;return{c(){t=C("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(n,i){I(n,t,i),e[4](t)},p:h,i:h,o:h,d(n){n&&S(t),e[4](null)}}}function kt(e,t,n){let{clientstyling:i=""}=t,{clientstylingurl:r=""}=t,{mbsource:s}=t,c;st(()=>()=>{});function u(o){E[o?"unshift":"push"](()=>{c=o,n(0,c)})}return e.$$set=o=>{"clientstyling"in o&&n(1,i=o.clientstyling),"clientstylingurl"in o&&n(2,r=o.clientstylingurl),"mbsource"in o&&n(3,s=o.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&i&&c&&gt(c,i),e.$$.dirty&5&&r&&c&&yt(c,r),e.$$.dirty&9&&s&&c&&bt(c,`${s}.Style`)},[c,i,r,s,u]}class D extends _t{constructor(t){super(),ht(this,t,kt,xt,K,{clientstyling:1,clientstylingurl:2,mbsource:3},wt)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),p()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),p()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),p()}}mt(D,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=D;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}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/GeneralAnimationLoading-CczQRHih.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}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/GeneralAnimationLoading-JAguG32u.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/GeneralAnimationLoading-Dr8e6mQV.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/GeneralAnimationLoading-Bw1wfT2n.js").then(({ default: t }) => {
14
14
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { G as a } from "../components/GeneralAnimationLoading-CrZMEs7k.js";
1
+ import { G as a } from "../components/GeneralAnimationLoading-Dc8XQq-L.js";
2
2
  function i(n) {
3
3
  return function(...t) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-animation-loading",
3
- "version": "1.54.12",
3
+ "version": "1.56.0",
4
4
  "type": "module",
5
5
  "main": "esnext/general-animation-loading.js",
6
6
  "module": "esnext/general-animation-loading.js",
@@ -1 +0,0 @@
1
- "use strict";var V=Object.defineProperty,z=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var x=(e,t,n)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&x(e,n,t[n]);if(N)for(var n of N(t))q.call(t,n)&&x(e,n,t[n]);return e},M=(e,t)=>z(e,F(t));var $=(e,t,n)=>x(e,typeof t!="symbol"?t+"":t,n);var T=(e,t,n)=>new Promise((s,l)=>{var i=o=>{try{u(n.next(o))}catch(r){l(r)}},c=o=>{try{u(n.throw(o))}catch(r){l(r)}},u=o=>o.done?s(o.value):Promise.resolve(o.value).then(i,c);u((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function _(){}function H(e){return e()}function B(){return Object.create(null)}function b(e){e.forEach(H)}function I(e){return typeof e=="function"}function K(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Q(e){return Object.keys(e).length===0}function W(e,t){e.appendChild(t)}function X(e,t,n){const s=Y(e);if(!s.getElementById(t)){const l=L("style");l.id=t,l.textContent=n,Z(s,l)}}function Y(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Z(e,t){return W(e.head||e,t),t.sheet}function U(e,t,n){e.insertBefore(t,n||null)}function C(e){e.parentNode&&e.parentNode.removeChild(e)}function L(e){return document.createElement(e)}function tt(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function et(e){return Array.from(e.childNodes)}function nt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let j;function g(e){j=e}const h=[],k=[];let p=[];const R=[],it=Promise.resolve();let v=!1;function st(){v||(v=!0,it.then(y))}function E(e){p.push(e)}const w=new Set;let a=0;function y(){if(a!==0)return;const e=j;do{try{for(;a<h.length;){const t=h[a];a++,g(t),rt(t.$$)}}catch(t){throw h.length=0,a=0,t}for(g(null),h.length=0,a=0;k.length;)k.pop()();for(let t=0;t<p.length;t+=1){const n=p[t];w.has(n)||(w.add(n),n())}p.length=0}while(h.length);for(;R.length;)R.pop()();v=!1,w.clear(),g(e)}function rt(e){if(e.fragment!==null){e.update(),b(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(E)}}function lt(e){const t=[],n=[];p.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),p=t}const ct=new Set;function ot(e,t){e&&e.i&&(ct.delete(e),e.i(t))}function ut(e,t,n){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,n),E(()=>{const i=e.$$.on_mount.map(H).filter(I);e.$$.on_destroy?e.$$.on_destroy.push(...i):b(i),e.$$.on_mount=[]}),l.forEach(E)}function dt(e,t){const n=e.$$;n.fragment!==null&&(lt(n.after_update),b(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function $t(e,t){e.$$.dirty[0]===-1&&(h.push(e),st(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ft(e,t,n,s,l,i,c=null,u=[-1]){const o=j;g(e);const r=e.$$={fragment:null,ctx:[],props:i,update:_,not_equal:l,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(o?o.$$.context:[])),callbacks:B(),dirty:u,skip_bound:!1,root:t.target||o.$$.root};c&&c(r.root);let f=!1;if(r.ctx=n?n(e,t.props||{},(d,O,...S)=>{const A=S.length?S[0]:O;return r.ctx&&l(r.ctx[d],r.ctx[d]=A)&&(!r.skip_bound&&r.bound[d]&&r.bound[d](A),f&&$t(e,d)),O}):[],r.update(),f=!0,b(r.before_update),r.fragment=s?s(r.ctx):!1,t.target){if(t.hydrate){const d=et(t.target);r.fragment&&r.fragment.l(d),d.forEach(C)}else r.fragment&&r.fragment.c();t.intro&&ot(e.$$.fragment),ut(e,t.target,t.anchor),y()}g(o)}let D;typeof HTMLElement=="function"&&(D=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 T(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let c;return{c:function(){c=L("slot"),i!=="default"&&tt(c,"name",i)},m:function(r,f){U(r,c,f)},d:function(r){r&&C(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=nt(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const c=this.$$g_p(i.name);c in this.$$d||(this.$$d[c]=m(c,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:M(P({},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 c=m(i,this.$$d[i],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,c)}this.$$r=!1};this.$$c.$$.after_update.push(l),l();for(const i in this.$$l)for(const c of this.$$l[i]){const u=this.$$c.$on(i,c);this.$$l_u.set(c,u)}this.$$l={}}})}attributeChangedCallback(t,n,s){var l;this.$$r||(t=this.$$g_p(t),this.$$d[t]=m(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 m(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 at(e,t,n,s,l,i){let c=class extends D{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(c.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(o){var r;o=m(u,o,t),this.$$d[u]=o,(r=this.$$c)==null||r.$set({[u]:o})}})}),s.forEach(u=>{Object.defineProperty(c.prototype,u,{get(){var o;return(o=this.$$c)==null?void 0:o[u]}})}),e.element=c,c}class ht{constructor(){$(this,"$$");$(this,"$$set")}$destroy(){dt(this,1),this.$destroy=_}$on(t,n){if(!I(n))return _;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&&!Q(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const _t="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(_t);function pt(e){X(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 gt(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){U(n,t,s),e[3](t)},p:_,i:_,o:_,d(n){n&&C(t),e[3](null)}}}function mt(e,t,n){let{clientstyling:s=""}=t,{clientstylingurl:l=""}=t,i;const c=()=>{let r=document.createElement("style");r.innerHTML=s,i.appendChild(r)},u=()=>{let r=new URL(l),f=document.createElement("style");fetch(r.href).then(d=>d.text()).then(d=>{f.innerHTML=d,setTimeout(()=>{i.appendChild(f)},1),setTimeout(()=>{},500)})};function o(r){k[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,l=r.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&3&&s&&i&&c(),e.$$.dirty&5&&l&&i&&u()},[i,s,l,o]}class J extends ht{constructor(t){super(),ft(this,t,mt,gt,K,{clientstyling:1,clientstylingurl:2},pt)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),y()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),y()}}at(J,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=J;