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