@everymatrix/player-profile-info 1.56.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,594 +0,0 @@
1
- const de = "ui-skeleton", D = (
2
- /* ui-skeleton */
3
- { hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
4
- );
5
- var he = Object.defineProperty, ve = (e, t) => {
6
- for (var s in t)
7
- he(e, s, { get: t[s], enumerable: !0 });
8
- }, W = /* @__PURE__ */ new WeakMap(), S = (e) => W.get(e), Ve = (e, t) => {
9
- W.set(t.$lazyInstance$ = e, t);
10
- }, ye = (e, t) => {
11
- const s = {
12
- $flags$: 0,
13
- $hostElement$: e,
14
- $cmpMeta$: t,
15
- $instanceValues$: /* @__PURE__ */ new Map()
16
- };
17
- return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], W.set(e, s);
18
- }, b = (e, t) => (0, console.error)(e, t), _ = /* @__PURE__ */ new Map(), pe = (e, t, s) => {
19
- const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
20
- if (!r)
21
- return;
22
- const i = _.get(r);
23
- if (i)
24
- return i[n];
25
- {
26
- const a = (l) => (_.set(r, l), l[n]);
27
- switch (r) {
28
- case "ui-skeleton":
29
- return import(
30
- /* webpackMode: "lazy" */
31
- "./ui-skeleton-rqI1NmdA.js"
32
- ).then(a, b);
33
- }
34
- }
35
- return import(
36
- /* @vite-ignore */
37
- /* webpackInclude: /\.entry\.js$/ */
38
- /* webpackExclude: /\.system\.entry\.js$/ */
39
- /* webpackMode: "lazy" */
40
- `./${r}.entry.js`
41
- ).then(
42
- (a) => (_.set(r, a), a[n]),
43
- (a) => {
44
- b(a, t.$hostElement$);
45
- }
46
- );
47
- }, T = /* @__PURE__ */ new Map(), ge = "sty-id", Se = "{visibility:hidden}.hydrated{visibility:inherit}", R = "slot-fb{display:contents}slot-fb[hidden]{display:none}", Y = typeof window < "u" ? window : {}, k = Y.document || { head: {} }, y = {
48
- $flags$: 0,
49
- $resourcesUrl$: "",
50
- jmp: (e) => e(),
51
- raf: (e) => requestAnimationFrame(e),
52
- ael: (e, t, s, n) => e.addEventListener(t, s, n),
53
- rel: (e, t, s, n) => e.removeEventListener(t, s, n),
54
- ce: (e, t) => new CustomEvent(e, t)
55
- }, me = (e) => Promise.resolve(e), M = /* @__PURE__ */ (() => {
56
- try {
57
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
58
- } catch {
59
- }
60
- return !1;
61
- })(), z = !1, Q = [], V = [], ke = (e, t) => (s) => {
62
- e.push(s), z || (z = !0, y.$flags$ & 4 ? G(H) : y.raf(H));
63
- }, X = (e) => {
64
- for (let t = 0; t < e.length; t++)
65
- try {
66
- e[t](performance.now());
67
- } catch (s) {
68
- b(s);
69
- }
70
- e.length = 0;
71
- }, H = () => {
72
- X(Q), X(V), (z = Q.length > 0) && y.raf(H);
73
- }, G = (e) => me().then(e), Ee = /* @__PURE__ */ ke(V), N = (e) => (e = typeof e, e === "object" || e === "function");
74
- function ee(e) {
75
- var t, s, n;
76
- return (n = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? n : void 0;
77
- }
78
- var be = {};
79
- ve(be, {
80
- err: () => te,
81
- map: () => we,
82
- ok: () => U,
83
- unwrap: () => Pe,
84
- unwrapErr: () => Le
85
- });
86
- var U = (e) => ({
87
- isOk: !0,
88
- isErr: !1,
89
- value: e
90
- }), te = (e) => ({
91
- isOk: !1,
92
- isErr: !0,
93
- value: e
94
- });
95
- function we(e, t) {
96
- if (e.isOk) {
97
- const s = t(e.value);
98
- return s instanceof Promise ? s.then((n) => U(n)) : U(s);
99
- }
100
- if (e.isErr) {
101
- const s = e.value;
102
- return te(s);
103
- }
104
- throw "should never get here";
105
- }
106
- var Pe = (e) => {
107
- if (e.isOk)
108
- return e.value;
109
- throw e.value;
110
- }, Le = (e) => {
111
- if (e.isErr)
112
- return e.value;
113
- throw e.value;
114
- }, m = (e, t = "") => () => {
115
- }, xe = (e, t) => () => {
116
- }, je = (e, t, ...s) => {
117
- let n = null, r = null, i = !1, a = !1;
118
- const l = [], c = ($) => {
119
- for (let u = 0; u < $.length; u++)
120
- n = $[u], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((i = typeof e != "function" && !N(n)) && (n = String(n)), i && a ? l[l.length - 1].$text$ += n : l.push(i ? q(null, n) : n), a = i);
121
- };
122
- if (c(s), t) {
123
- t.key && (r = t.key);
124
- {
125
- const $ = t.className || t.class;
126
- $ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((u) => $[u]).join(" "));
127
- }
128
- }
129
- const o = q(e, null);
130
- return o.$attrs$ = t, l.length > 0 && (o.$children$ = l), o.$key$ = r, o;
131
- }, q = (e, t) => {
132
- const s = {
133
- $flags$: 0,
134
- $tag$: e,
135
- $text$: t,
136
- $elm$: null,
137
- $children$: null
138
- };
139
- return s.$attrs$ = null, s.$key$ = null, s;
140
- }, Oe = {}, Te = (e) => e && e.$tag$ === Oe, B = (e, t) => e != null && !N(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Ie = (e, t, s) => {
141
- const n = y.ce(t, s);
142
- return e.dispatchEvent(n), n;
143
- }, L = /* @__PURE__ */ new WeakMap(), _e = (e, t, s) => {
144
- let n = T.get(e);
145
- M && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, T.set(e, n);
146
- }, Ae = (e, t, s) => {
147
- var n;
148
- const r = ne(t), i = T.get(r);
149
- if (e = e.nodeType === 11 ? e : k, i)
150
- if (typeof i == "string") {
151
- e = e.head || e;
152
- let a = L.get(e), l;
153
- if (a || L.set(e, a = /* @__PURE__ */ new Set()), !a.has(r)) {
154
- {
155
- l = document.querySelector(`[${ge}="${r}"]`) || k.createElement("style"), l.innerHTML = i;
156
- const c = (n = y.$nonce$) != null ? n : ee(k);
157
- if (c != null && l.setAttribute("nonce", c), !(t.$flags$ & 1))
158
- if (e.nodeName === "HEAD") {
159
- const o = e.querySelectorAll("link[rel=preconnect]"), $ = o.length > 0 ? o[o.length - 1].nextSibling : e.querySelector("style");
160
- e.insertBefore(
161
- l,
162
- $?.parentNode === e ? $ : null
163
- );
164
- } else if ("host" in e)
165
- if (M) {
166
- const o = new CSSStyleSheet();
167
- o.replaceSync(i), e.adoptedStyleSheets = [o, ...e.adoptedStyleSheets];
168
- } else {
169
- const o = e.querySelector("style");
170
- o ? o.innerHTML = i + o.innerHTML : e.prepend(l);
171
- }
172
- else
173
- e.append(l);
174
- t.$flags$ & 1 && e.insertBefore(l, null);
175
- }
176
- t.$flags$ & 4 && (l.innerHTML += R), a && a.add(r);
177
- }
178
- } else e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
179
- return r;
180
- }, ze = (e) => {
181
- const t = e.$cmpMeta$, s = e.$hostElement$, n = m("attachStyles", t.$tagName$);
182
- Ae(
183
- s.getRootNode(),
184
- t
185
- ), n();
186
- }, ne = (e, t) => "sc-" + e.$tagName$, Z = (e, t, s, n, r, i, a) => {
187
- if (s !== n)
188
- if (t.toLowerCase(), t === "class") {
189
- const l = e.classList, c = F(s);
190
- let o = F(n);
191
- l.remove(...c.filter(($) => $ && !o.includes($))), l.add(...o.filter(($) => $ && !c.includes($)));
192
- } else if (t === "style") {
193
- for (const l in s)
194
- (!n || n[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
195
- for (const l in n)
196
- (!s || n[l] !== s[l]) && (l.includes("-") ? e.style.setProperty(l, n[l]) : e.style[l] = n[l]);
197
- } else t === "key" || t === "ref" && n && n(e);
198
- }, He = /\s/, F = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(He)), se = (e, t, s, n) => {
199
- const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, a = t.$attrs$ || {};
200
- for (const l of C(Object.keys(i)))
201
- l in a || Z(
202
- r,
203
- l,
204
- i[l],
205
- void 0
206
- );
207
- for (const l of C(Object.keys(a)))
208
- Z(
209
- r,
210
- l,
211
- i[l],
212
- a[l]
213
- );
214
- };
215
- function C(e) {
216
- return e.includes("ref") ? (
217
- // we need to sort these to ensure that `'ref'` is the last attr
218
- [...e.filter((t) => t !== "ref"), "ref"]
219
- ) : (
220
- // no need to sort, return the original array
221
- e
222
- );
223
- }
224
- var re, I = (e, t, s) => {
225
- const n = t.$children$[s];
226
- let r = 0, i, a;
227
- if (i = n.$elm$ = k.createElement(
228
- n.$tag$
229
- ), se(null, n), n.$children$)
230
- for (r = 0; r < n.$children$.length; ++r)
231
- a = I(e, n, r), a && i.appendChild(a);
232
- return i["s-hn"] = re, i;
233
- }, le = (e, t, s, n, r, i) => {
234
- let a = e, l;
235
- for (; r <= i; ++r)
236
- n[r] && (l = I(null, s, r), l && (n[r].$elm$ = l, O(a, l, t)));
237
- }, ie = (e, t, s) => {
238
- for (let n = t; n <= s; ++n) {
239
- const r = e[n];
240
- if (r) {
241
- const i = r.$elm$;
242
- ae(r), i && i.remove();
243
- }
244
- }
245
- }, Ue = (e, t, s, n, r = !1) => {
246
- let i = 0, a = 0, l = 0, c = 0, o = t.length - 1, $ = t[0], u = t[o], f = n.length - 1, d = n[0], h = n[f], v, p;
247
- for (; i <= o && a <= f; )
248
- if ($ == null)
249
- $ = t[++i];
250
- else if (u == null)
251
- u = t[--o];
252
- else if (d == null)
253
- d = n[++a];
254
- else if (h == null)
255
- h = n[--f];
256
- else if (j($, d, r))
257
- P($, d, r), $ = t[++i], d = n[++a];
258
- else if (j(u, h, r))
259
- P(u, h, r), u = t[--o], h = n[--f];
260
- else if (j($, h, r))
261
- P($, h, r), O(e, $.$elm$, u.$elm$.nextSibling), $ = t[++i], h = n[--f];
262
- else if (j(u, d, r))
263
- P(u, d, r), O(e, u.$elm$, $.$elm$), u = t[--o], d = n[++a];
264
- else {
265
- for (l = -1, c = i; c <= o; ++c)
266
- if (t[c] && t[c].$key$ !== null && t[c].$key$ === d.$key$) {
267
- l = c;
268
- break;
269
- }
270
- l >= 0 ? (p = t[l], p.$tag$ !== d.$tag$ ? v = I(t && t[a], s, l) : (P(p, d, r), t[l] = void 0, v = p.$elm$), d = n[++a]) : (v = I(t && t[a], s, a), d = n[++a]), v && O($.$elm$.parentNode, v, $.$elm$);
271
- }
272
- i > o ? le(
273
- e,
274
- n[f + 1] == null ? null : n[f + 1].$elm$,
275
- s,
276
- n,
277
- a,
278
- f
279
- ) : a > f && ie(t, i, o);
280
- }, j = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? (s && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, P = (e, t, s = !1) => {
281
- const n = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$;
282
- se(e, t), r !== null && i !== null ? Ue(n, r, t, i, s) : i !== null ? le(n, null, t, i, 0, i.length - 1) : (
283
- // don't do this on initial render as it can cause non-hydrated content to be removed
284
- !s && D.updatable && r !== null && ie(r, 0, r.length - 1)
285
- );
286
- }, ae = (e) => {
287
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ae);
288
- }, O = (e, t, s) => e?.insertBefore(t, s), qe = (e, t, s = !1) => {
289
- const n = e.$hostElement$, r = e.$vnode$ || q(null, null), i = Te(t) ? t : je(null, null, t);
290
- if (re = n.tagName, s && i.$attrs$)
291
- for (const a of Object.keys(i.$attrs$))
292
- n.hasAttribute(a) && !["key", "ref", "style", "class"].includes(a) && (i.$attrs$[a] = n[a]);
293
- i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = r.$elm$ = n, P(r, i, s);
294
- }, $e = (e, t) => {
295
- if (t && !e.$onRenderResolve$ && t["s-p"]) {
296
- const s = t["s-p"].push(
297
- new Promise(
298
- (n) => e.$onRenderResolve$ = () => {
299
- t["s-p"].splice(s - 1, 1), n();
300
- }
301
- )
302
- );
303
- }
304
- }, J = (e, t) => {
305
- if (e.$flags$ |= 16, e.$flags$ & 4) {
306
- e.$flags$ |= 512;
307
- return;
308
- }
309
- return $e(e, e.$ancestorComponent$), Ee(() => Be(e, t));
310
- }, Be = (e, t) => {
311
- const s = e.$hostElement$, n = m("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
312
- if (!r)
313
- throw new Error(
314
- `Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
315
- );
316
- let i;
317
- return n(), De(i, () => Ye(e, r, t));
318
- }, De = (e, t) => We(e) ? e.then(t).catch((s) => {
319
- console.error(s), t();
320
- }) : t(), We = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ye = async (e, t, s) => {
321
- var n;
322
- const r = e.$hostElement$, i = m("update", e.$cmpMeta$.$tagName$), a = r["s-rc"];
323
- s && ze(e);
324
- const l = m("render", e.$cmpMeta$.$tagName$);
325
- Ge(e, t, r, s), a && (a.map((c) => c()), r["s-rc"] = void 0), l(), i();
326
- {
327
- const c = (n = r["s-p"]) != null ? n : [], o = () => Je(e);
328
- c.length === 0 ? o() : (Promise.all(c).then(o), e.$flags$ |= 4, c.length = 0);
329
- }
330
- }, Ge = (e, t, s, n) => {
331
- try {
332
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, qe(e, t, n);
333
- } catch (r) {
334
- b(r, e.$hostElement$);
335
- }
336
- return null;
337
- }, Je = (e) => {
338
- const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = m("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
339
- e.$flags$ & 64 ? n() : (e.$flags$ |= 64, Qe(s), Ke(r, "componentDidLoad", void 0, s), n(), e.$onReadyResolve$(s), i || oe()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && G(() => J(e, !1)), e.$flags$ &= -517;
340
- }, oe = (e) => {
341
- G(() => Ie(Y, "appload", { detail: { namespace: de } }));
342
- }, Ke = (e, t, s, n) => {
343
- if (e && e[t])
344
- try {
345
- return e[t](s);
346
- } catch (r) {
347
- b(r, n);
348
- }
349
- }, Qe = (e) => {
350
- var t;
351
- return e.classList.add((t = D.hydratedSelectorName) != null ? t : "hydrated");
352
- }, Xe = (e, t) => S(e).$instanceValues$.get(t), A = (e, t, s, n) => {
353
- const r = S(e);
354
- if (!r)
355
- throw new Error(
356
- `Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
357
- );
358
- const i = r.$hostElement$, a = r.$instanceValues$.get(t), l = r.$flags$, c = r.$lazyInstance$;
359
- s = B(s, n.$members$[t][0]);
360
- const o = Number.isNaN(a) && Number.isNaN(s), $ = s !== a && !o;
361
- if ((!(l & 8) || a === void 0) && $ && (r.$instanceValues$.set(t, s), c)) {
362
- if (n.$watchers$ && l & 128) {
363
- const u = n.$watchers$[t];
364
- u && u.map((f) => {
365
- try {
366
- c[f](s, a, t);
367
- } catch (d) {
368
- b(d, i);
369
- }
370
- });
371
- }
372
- (l & 18) === 2 && J(r, !1);
373
- }
374
- }, ce = (e, t, s) => {
375
- var n, r;
376
- const i = e.prototype;
377
- if (t.$members$ || t.$watchers$ || e.watchers) {
378
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
379
- const a = Object.entries((n = t.$members$) != null ? n : {});
380
- if (a.map(([l, [c]]) => {
381
- if (c & 31 || s & 2 && c & 32) {
382
- const { get: o, set: $ } = Object.getOwnPropertyDescriptor(i, l) || {};
383
- o && (t.$members$[l][0] |= 2048), $ && (t.$members$[l][0] |= 4096), (s & 1 || !o) && Object.defineProperty(i, l, {
384
- get() {
385
- {
386
- if (!(t.$members$[l][0] & 2048))
387
- return Xe(this, l);
388
- const u = S(this), f = u ? u.$lazyInstance$ : i;
389
- return f ? f[l] : void 0;
390
- }
391
- },
392
- configurable: !0,
393
- enumerable: !0
394
- }), Object.defineProperty(i, l, {
395
- set(u) {
396
- const f = S(this);
397
- if ($) {
398
- const d = c & 32 ? this[l] : f.$hostElement$[l];
399
- typeof d > "u" && f.$instanceValues$.get(l) ? u = f.$instanceValues$.get(l) : !f.$instanceValues$.get(l) && d && f.$instanceValues$.set(l, d), $.apply(this, [B(u, c)]), u = c & 32 ? this[l] : f.$hostElement$[l], A(this, l, u, t);
400
- return;
401
- }
402
- {
403
- if (!(s & 1) || !(t.$members$[l][0] & 4096)) {
404
- A(this, l, u, t), s & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
405
- t.$members$[l][0] & 4096 && f.$lazyInstance$[l] !== f.$instanceValues$.get(l) && (f.$lazyInstance$[l] = u);
406
- });
407
- return;
408
- }
409
- const d = () => {
410
- const h = f.$lazyInstance$[l];
411
- !f.$instanceValues$.get(l) && h && f.$instanceValues$.set(l, h), f.$lazyInstance$[l] = B(u, c), A(this, l, f.$lazyInstance$[l], t);
412
- };
413
- f.$lazyInstance$ ? d() : f.$onReadyPromise$.then(() => d());
414
- }
415
- }
416
- });
417
- }
418
- }), s & 1) {
419
- const l = /* @__PURE__ */ new Map();
420
- i.attributeChangedCallback = function(c, o, $) {
421
- y.jmp(() => {
422
- var u;
423
- const f = l.get(c);
424
- if (this.hasOwnProperty(f) && D.lazyLoad)
425
- $ = this[f], delete this[f];
426
- else {
427
- if (i.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
428
- this[f] == $)
429
- return;
430
- if (f == null) {
431
- const h = S(this), v = h?.$flags$;
432
- if (v && !(v & 8) && v & 128 && $ !== o) {
433
- const p = h.$lazyInstance$, g = (u = t.$watchers$) == null ? void 0 : u[c];
434
- g?.forEach((E) => {
435
- p[E] != null && p[E].call(p, $, o, c);
436
- });
437
- }
438
- return;
439
- }
440
- }
441
- const d = Object.getOwnPropertyDescriptor(i, f);
442
- $ = $ === null && typeof this[f] == "boolean" ? !1 : $, $ !== this[f] && (!d.get || d.set) && (this[f] = $);
443
- });
444
- }, e.observedAttributes = Array.from(
445
- /* @__PURE__ */ new Set([
446
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
447
- ...a.filter(
448
- ([c, o]) => o[0] & 15
449
- /* HasAttribute */
450
- ).map(([c, o]) => {
451
- const $ = o[1] || c;
452
- return l.set($, c), $;
453
- })
454
- ])
455
- );
456
- }
457
- }
458
- return e;
459
- }, Ze = async (e, t, s, n) => {
460
- let r;
461
- if (!(t.$flags$ & 32)) {
462
- if (t.$flags$ |= 32, s.$lazyBundleId$) {
463
- const c = pe(s, t);
464
- if (c && "then" in c) {
465
- const $ = xe();
466
- r = await c, $();
467
- } else
468
- r = c;
469
- if (!r)
470
- throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
471
- r.isProxied || (s.$watchers$ = r.watchers, ce(
472
- r,
473
- s,
474
- 2
475
- /* proxyState */
476
- ), r.isProxied = !0);
477
- const o = m("createInstance", s.$tagName$);
478
- t.$flags$ |= 8;
479
- try {
480
- new r(t);
481
- } catch ($) {
482
- b($, e);
483
- }
484
- t.$flags$ &= -9, t.$flags$ |= 128, o();
485
- } else {
486
- r = e.constructor;
487
- const c = e.localName;
488
- customElements.whenDefined(c).then(
489
- () => t.$flags$ |= 128
490
- /* isWatchReady */
491
- );
492
- }
493
- if (r && r.style) {
494
- let c;
495
- typeof r.style == "string" && (c = r.style);
496
- const o = ne(s);
497
- if (!T.has(o)) {
498
- const $ = m("registerStyles", s.$tagName$);
499
- _e(o, c, !!(s.$flags$ & 1)), $();
500
- }
501
- }
502
- }
503
- const i = t.$ancestorComponent$, a = () => J(t, !0);
504
- i && i["s-rc"] ? i["s-rc"].push(a) : a();
505
- }, Fe = (e, t) => {
506
- }, Ce = (e) => {
507
- if (!(y.$flags$ & 1)) {
508
- const t = S(e), s = t.$cmpMeta$, n = m("connectedCallback", s.$tagName$);
509
- if (t.$flags$ & 1)
510
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Fe());
511
- else {
512
- t.$flags$ |= 1;
513
- {
514
- let r = e;
515
- for (; r = r.parentNode || r.host; )
516
- if (r["s-p"]) {
517
- $e(t, t.$ancestorComponent$ = r);
518
- break;
519
- }
520
- }
521
- s.$members$ && Object.entries(s.$members$).map(([r, [i]]) => {
522
- if (i & 31 && e.hasOwnProperty(r)) {
523
- const a = e[r];
524
- delete e[r], e[r] = a;
525
- }
526
- }), Ze(e, t, s);
527
- }
528
- n();
529
- }
530
- }, Re = (e, t) => {
531
- }, Me = async (e) => {
532
- if (!(y.$flags$ & 1)) {
533
- const t = S(e);
534
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Re());
535
- }
536
- L.has(e) && L.delete(e), e.shadowRoot && L.has(e.shadowRoot) && L.delete(e.shadowRoot);
537
- }, Ne = (e, t = {}) => {
538
- var s;
539
- const n = m(), r = [], i = t.exclude || [], a = Y.customElements, l = k.head, c = /* @__PURE__ */ l.querySelector("meta[charset]"), o = /* @__PURE__ */ k.createElement("style"), $ = [];
540
- let u, f = !0;
541
- Object.assign(y, t), y.$resourcesUrl$ = new URL(t.resourcesUrl || "./", k.baseURI).href;
542
- let d = !1;
543
- if (e.map((h) => {
544
- h[1].map((v) => {
545
- var p;
546
- const g = {
547
- $flags$: v[0],
548
- $tagName$: v[1],
549
- $members$: v[2],
550
- $listeners$: v[3]
551
- };
552
- g.$flags$ & 4 && (d = !0), g.$members$ = v[2], g.$watchers$ = (p = v[4]) != null ? p : {};
553
- const E = g.$tagName$, fe = class extends HTMLElement {
554
- // StencilLazyHost
555
- constructor(w) {
556
- super(w), this.hasRegisteredEventListeners = !1, w = this, ye(w, g);
557
- }
558
- connectedCallback() {
559
- S(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), u && (clearTimeout(u), u = null), f ? $.push(this) : y.jmp(() => Ce(this));
560
- }
561
- disconnectedCallback() {
562
- y.jmp(() => Me(this)), y.raf(() => {
563
- var w;
564
- const x = S(this), K = $.findIndex((ue) => ue === this);
565
- K > -1 && $.splice(K, 1), ((w = x?.$vnode$) == null ? void 0 : w.$elm$) instanceof Node && !x.$vnode$.$elm$.isConnected && delete x.$vnode$.$elm$;
566
- });
567
- }
568
- componentOnReady() {
569
- return S(this).$onReadyPromise$;
570
- }
571
- };
572
- g.$lazyBundleId$ = h[0], !i.includes(E) && !a.get(E) && (r.push(E), a.define(
573
- E,
574
- ce(
575
- fe,
576
- g,
577
- 1
578
- /* isElementConstructor */
579
- )
580
- ));
581
- });
582
- }), r.length > 0 && (d && (o.textContent += R), o.textContent += r.sort() + Se, o.innerHTML.length)) {
583
- o.setAttribute("data-styles", "");
584
- const h = (s = y.$nonce$) != null ? s : ee(k);
585
- h != null && o.setAttribute("nonce", h), l.insertBefore(o, c ? c.nextSibling : l.firstChild);
586
- }
587
- f = !1, $.length ? $.map((h) => h.connectedCallback()) : y.jmp(() => u = setTimeout(oe, 30)), n();
588
- };
589
- export {
590
- Ne as b,
591
- je as h,
592
- me as p,
593
- Ve as r
594
- };
@@ -1 +0,0 @@
1
- "use strict";var I=(e,t,s)=>new Promise((n,r)=>{var i=o=>{try{l(s.next(o))}catch(c){r(c)}},a=o=>{try{l(s.throw(o))}catch(c){r(c)}},l=o=>o.done?n(o.value):Promise.resolve(o.value).then(i,a);l((s=s.apply(e,t)).next())});const ye="ui-skeleton",W={hydratedSelectorName:"hydrated",lazyLoad:!0,updatable:!0};var pe=Object.defineProperty,ge=(e,t)=>{for(var s in t)pe(e,s,{get:t[s],enumerable:!0})},Y=new WeakMap,S=e=>Y.get(e),Se=(e,t)=>{Y.set(t.$lazyInstance$=e,t)},me=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],Y.set(e,s)},b=(e,t)=>(0,console.error)(e,t),x=new Map,ke=(e,t,s)=>{const n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=x.get(r);if(i)return i[n];{const a=l=>(x.set(r,l),l[n]);switch(r){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-DtnYQAt6.cjs")).then(a,b)}}return import(`./${r}.entry.js`).then(a=>(x.set(r,a),a[n]),a=>{b(a,t.$hostElement$)})},_=new Map,Ee="sty-id",be="{visibility:hidden}.hydrated{visibility:inherit}",M="slot-fb{display:contents}slot-fb[hidden]{display:none}",G=typeof window!="undefined"?window:{},k=G.document||{head:{}},y={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},V=e=>Promise.resolve(e),N=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),H=!1,X=[],ee=[],we=(e,t)=>s=>{e.push(s),H||(H=!0,y.$flags$&4?J(q):y.raf(q))},Z=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){b(s)}e.length=0},q=()=>{Z(X),Z(ee),(H=X.length>0)&&y.raf(q)},J=e=>V().then(e),Pe=we(ee),te=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Le={};ge(Le,{err:()=>se,map:()=>je,ok:()=>U,unwrap:()=>Ie,unwrapErr:()=>Oe});var U=e=>({isOk:!0,isErr:!1,value:e}),se=e=>({isOk:!1,isErr:!0,value:e});function je(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(n=>U(n)):U(s)}if(e.isErr){const s=e.value;return se(s)}throw"should never get here"}var Ie=e=>{if(e.isOk)return e.value;throw e.value},Oe=e=>{if(e.isErr)return e.value;throw e.value},m=(e,t="")=>()=>{},Te=(e,t)=>()=>{},re=(e,t,...s)=>{let n=null,r=null,i=!1,a=!1;const l=[],o=$=>{for(let u=0;u<$.length;u++)n=$[u],Array.isArray(n)?o(n):n!=null&&typeof n!="boolean"&&((i=typeof e!="function"&&!te(n))&&(n=String(n)),i&&a?l[l.length-1].$text$+=n:l.push(i?B(null,n):n),a=i)};if(o(s),t){t.key&&(r=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(u=>$[u]).join(" "))}}const c=B(e,null);return c.$attrs$=t,l.length>0&&(c.$children$=l),c.$key$=r,c},B=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},_e={},Ae=e=>e&&e.$tag$===_e,D=(e,t)=>e!=null&&!te(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,xe=(e,t,s)=>{const n=y.ce(t,s);return e.dispatchEvent(n),n},L=new WeakMap,ze=(e,t,s)=>{let n=_.get(e);N&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,_.set(e,n)},He=(e,t,s)=>{var n;const r=le(t),i=_.get(r);if(e=e.nodeType===11?e:k,i)if(typeof i=="string"){e=e.head||e;let a=L.get(e),l;if(a||L.set(e,a=new Set),!a.has(r)){{l=document.querySelector(`[${Ee}="${r}"]`)||k.createElement("style"),l.innerHTML=i;const o=(n=y.$nonce$)!=null?n:ne(k);if(o!=null&&l.setAttribute("nonce",o),!(t.$flags$&1))if(e.nodeName==="HEAD"){const c=e.querySelectorAll("link[rel=preconnect]"),$=c.length>0?c[c.length-1].nextSibling:e.querySelector("style");e.insertBefore(l,($==null?void 0:$.parentNode)===e?$:null)}else if("host"in e)if(N){const c=new CSSStyleSheet;c.replaceSync(i),e.adoptedStyleSheets=[c,...e.adoptedStyleSheets]}else{const c=e.querySelector("style");c?c.innerHTML=i+c.innerHTML:e.prepend(l)}else e.append(l);t.$flags$&1&&e.insertBefore(l,null)}t.$flags$&4&&(l.innerHTML+=M),a&&a.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},qe=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,n=m("attachStyles",t.$tagName$);He(s.getRootNode(),t),n()},le=(e,t)=>"sc-"+e.$tagName$,F=(e,t,s,n,r,i,a)=>{if(s!==n)if(t.toLowerCase(),t==="class"){const l=e.classList,o=C(s);let c=C(n);l.remove(...o.filter($=>$&&!c.includes($))),l.add(...c.filter($=>$&&!o.includes($)))}else if(t==="style"){for(const l in s)(!n||n[l]==null)&&(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in n)(!s||n[l]!==s[l])&&(l.includes("-")?e.style.setProperty(l,n[l]):e.style[l]=n[l])}else t==="key"||t==="ref"&&n&&n(e)},Ue=/\s/,C=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(Ue)),ie=(e,t,s,n)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,i=e&&e.$attrs$||{},a=t.$attrs$||{};for(const l of R(Object.keys(i)))l in a||F(r,l,i[l],void 0);for(const l of R(Object.keys(a)))F(r,l,i[l],a[l])};function R(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var ae,A=(e,t,s)=>{const n=t.$children$[s];let r=0,i,a;if(i=n.$elm$=k.createElement(n.$tag$),ie(null,n),n.$children$)for(r=0;r<n.$children$.length;++r)a=A(e,n,r),a&&i.appendChild(a);return i["s-hn"]=ae,i},$e=(e,t,s,n,r,i)=>{let a=e,l;for(;r<=i;++r)n[r]&&(l=A(null,s,r),l&&(n[r].$elm$=l,T(a,l,t)))},oe=(e,t,s)=>{for(let n=t;n<=s;++n){const r=e[n];if(r){const i=r.$elm$;ce(r),i&&i.remove()}}},Be=(e,t,s,n,r=!1)=>{let i=0,a=0,l=0,o=0,c=t.length-1,$=t[0],u=t[c],f=n.length-1,d=n[0],h=n[f],v,p;for(;i<=c&&a<=f;)if($==null)$=t[++i];else if(u==null)u=t[--c];else if(d==null)d=n[++a];else if(h==null)h=n[--f];else if(O($,d,r))P($,d,r),$=t[++i],d=n[++a];else if(O(u,h,r))P(u,h,r),u=t[--c],h=n[--f];else if(O($,h,r))P($,h,r),T(e,$.$elm$,u.$elm$.nextSibling),$=t[++i],h=n[--f];else if(O(u,d,r))P(u,d,r),T(e,u.$elm$,$.$elm$),u=t[--c],d=n[++a];else{for(l=-1,o=i;o<=c;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===d.$key$){l=o;break}l>=0?(p=t[l],p.$tag$!==d.$tag$?v=A(t&&t[a],s,l):(P(p,d,r),t[l]=void 0,v=p.$elm$),d=n[++a]):(v=A(t&&t[a],s,a),d=n[++a]),v&&T($.$elm$.parentNode,v,$.$elm$)}i>c?$e(e,n[f+1]==null?null:n[f+1].$elm$,s,n,a,f):a>f&&oe(t,i,c)},O=(e,t,s=!1)=>e.$tag$===t.$tag$?s?(s&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,P=(e,t,s=!1)=>{const n=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$;ie(e,t),r!==null&&i!==null?Be(n,r,t,i,s):i!==null?$e(n,null,t,i,0,i.length-1):!s&&W.updatable&&r!==null&&oe(r,0,r.length-1)},ce=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ce)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),De=(e,t,s=!1)=>{const n=e.$hostElement$,r=e.$vnode$||B(null,null),i=Ae(t)?t:re(null,null,t);if(ae=n.tagName,s&&i.$attrs$)for(const a of Object.keys(i.$attrs$))n.hasAttribute(a)&&!["key","ref","style","class"].includes(a)&&(i.$attrs$[a]=n[a]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=r.$elm$=n,P(r,i,s)},fe=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){const s=t["s-p"].push(new Promise(n=>e.$onRenderResolve$=()=>{t["s-p"].splice(s-1,1),n()}))}},K=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return fe(e,e.$ancestorComponent$),Pe(()=>We(e,t))},We=(e,t)=>{const s=e.$hostElement$,n=m("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return n(),Ye(i,()=>Je(e,r,t))},Ye=(e,t)=>Ge(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Je=(e,t,s)=>I(exports,null,function*(){var n;const r=e.$hostElement$,i=m("update",e.$cmpMeta$.$tagName$),a=r["s-rc"];s&&qe(e);const l=m("render",e.$cmpMeta$.$tagName$);Ke(e,t,r,s),a&&(a.map(o=>o()),r["s-rc"]=void 0),l(),i();{const o=(n=r["s-p"])!=null?n:[],c=()=>Qe(e);o.length===0?c():(Promise.all(o).then(c),e.$flags$|=4,o.length=0)}}),Ke=(e,t,s,n)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,De(e,t,n)}catch(r){b(r,e.$hostElement$)}return null},Qe=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=m("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?n():(e.$flags$|=64,Ze(s),Xe(r,"componentDidLoad",void 0,s),n(),e.$onReadyResolve$(s),i||ue()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&J(()=>K(e,!1)),e.$flags$&=-517},ue=e=>{J(()=>xe(G,"appload",{detail:{namespace:ye}}))},Xe=(e,t,s,n)=>{if(e&&e[t])try{return e[t](s)}catch(r){b(r,n)}},Ze=e=>{var t;return e.classList.add((t=W.hydratedSelectorName)!=null?t:"hydrated")},Fe=(e,t)=>S(e).$instanceValues$.get(t),z=(e,t,s,n)=>{const r=S(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,a=r.$instanceValues$.get(t),l=r.$flags$,o=r.$lazyInstance$;s=D(s,n.$members$[t][0]);const c=Number.isNaN(a)&&Number.isNaN(s),$=s!==a&&!c;if((!(l&8)||a===void 0)&&$&&(r.$instanceValues$.set(t,s),o)){if(n.$watchers$&&l&128){const u=n.$watchers$[t];u&&u.map(f=>{try{o[f](s,a,t)}catch(d){b(d,i)}})}(l&18)===2&&K(r,!1)}},de=(e,t,s)=>{var n,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const a=Object.entries((n=t.$members$)!=null?n:{});if(a.map(([l,[o]])=>{if(o&31||s&2&&o&32){const{get:c,set:$}=Object.getOwnPropertyDescriptor(i,l)||{};c&&(t.$members$[l][0]|=2048),$&&(t.$members$[l][0]|=4096),(s&1||!c)&&Object.defineProperty(i,l,{get(){{if(!(t.$members$[l][0]&2048))return Fe(this,l);const u=S(this),f=u?u.$lazyInstance$:i;return f?f[l]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(i,l,{set(u){const f=S(this);if($){const d=o&32?this[l]:f.$hostElement$[l];typeof d=="undefined"&&f.$instanceValues$.get(l)?u=f.$instanceValues$.get(l):!f.$instanceValues$.get(l)&&d&&f.$instanceValues$.set(l,d),$.apply(this,[D(u,o)]),u=o&32?this[l]:f.$hostElement$[l],z(this,l,u,t);return}{if(!(s&1)||!(t.$members$[l][0]&4096)){z(this,l,u,t),s&1&&!f.$lazyInstance$&&f.$onReadyPromise$.then(()=>{t.$members$[l][0]&4096&&f.$lazyInstance$[l]!==f.$instanceValues$.get(l)&&(f.$lazyInstance$[l]=u)});return}const d=()=>{const h=f.$lazyInstance$[l];!f.$instanceValues$.get(l)&&h&&f.$instanceValues$.set(l,h),f.$lazyInstance$[l]=D(u,o),z(this,l,f.$lazyInstance$[l],t)};f.$lazyInstance$?d():f.$onReadyPromise$.then(()=>d())}}})}}),s&1){const l=new Map;i.attributeChangedCallback=function(o,c,$){y.jmp(()=>{var u;const f=l.get(o);if(this.hasOwnProperty(f)&&W.lazyLoad)$=this[f],delete this[f];else{if(i.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==$)return;if(f==null){const h=S(this),v=h==null?void 0:h.$flags$;if(v&&!(v&8)&&v&128&&$!==c){const p=h.$lazyInstance$,g=(u=t.$watchers$)==null?void 0:u[o];g==null||g.forEach(E=>{p[E]!=null&&p[E].call(p,$,c,o)})}return}}const d=Object.getOwnPropertyDescriptor(i,f);$=$===null&&typeof this[f]=="boolean"?!1:$,$!==this[f]&&(!d.get||d.set)&&(this[f]=$)})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...a.filter(([o,c])=>c[0]&15).map(([o,c])=>{const $=c[1]||o;return l.set($,o),$})]))}}return e},Ce=(e,t,s,n)=>I(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const o=ke(s,t);if(o&&"then"in o){const $=Te();r=yield o,$()}else r=o;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,de(r,s,2),r.isProxied=!0);const c=m("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch($){b($,e)}t.$flags$&=-9,t.$flags$|=128,c()}else{r=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);const c=le(s);if(!_.has(c)){const $=m("registerStyles",s.$tagName$);ze(c,o,!!(s.$flags$&1)),$()}}}const i=t.$ancestorComponent$,a=()=>K(t,!0);i&&i["s-rc"]?i["s-rc"].push(a):a()}),Re=(e,t)=>{},Me=e=>{if(!(y.$flags$&1)){const t=S(e),s=t.$cmpMeta$,n=m("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Re());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){fe(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const a=e[r];delete e[r],e[r]=a}}),Ce(e,t,s)}n()}},Ve=(e,t)=>{},Ne=e=>I(exports,null,function*(){if(!(y.$flags$&1)){const t=S(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ve())}L.has(e)&&L.delete(e),e.shadowRoot&&L.has(e.shadowRoot)&&L.delete(e.shadowRoot)}),et=(e,t={})=>{var s;const n=m(),r=[],i=t.exclude||[],a=G.customElements,l=k.head,o=l.querySelector("meta[charset]"),c=k.createElement("style"),$=[];let u,f=!0;Object.assign(y,t),y.$resourcesUrl$=new URL(t.resourcesUrl||"./",k.baseURI).href;let d=!1;if(e.map(h=>{h[1].map(v=>{var p;const g={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};g.$flags$&4&&(d=!0),g.$members$=v[2],g.$watchers$=(p=v[4])!=null?p:{};const E=g.$tagName$,he=class extends HTMLElement{constructor(w){super(w),this.hasRegisteredEventListeners=!1,w=this,me(w,g)}connectedCallback(){S(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),u&&(clearTimeout(u),u=null),f?$.push(this):y.jmp(()=>Me(this))}disconnectedCallback(){y.jmp(()=>Ne(this)),y.raf(()=>{var w;const j=S(this),Q=$.findIndex(ve=>ve===this);Q>-1&&$.splice(Q,1),((w=j==null?void 0:j.$vnode$)==null?void 0:w.$elm$)instanceof Node&&!j.$vnode$.$elm$.isConnected&&delete j.$vnode$.$elm$})}componentOnReady(){return S(this).$onReadyPromise$}};g.$lazyBundleId$=h[0],!i.includes(E)&&!a.get(E)&&(r.push(E),a.define(E,de(he,g,1)))})}),r.length>0&&(d&&(c.textContent+=M),c.textContent+=r.sort()+be,c.innerHTML.length)){c.setAttribute("data-styles","");const h=(s=y.$nonce$)!=null?s:ne(k);h!=null&&c.setAttribute("nonce",h),l.insertBefore(c,o?o.nextSibling:l.firstChild)}f=!1,$.length?$.map(h=>h.connectedCallback()):y.jmp(()=>u=setTimeout(ue,30)),n()};exports.bootstrapLazy=et;exports.h=re;exports.promiseResolve=V;exports.registerInstance=Se;
@@ -1 +0,0 @@
1
- "use strict";const r=require("./index-db5752f9-CEbtfUsZ.cjs"),n=".Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 2px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 5px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:var(--emw-skeleton-text-width-100, 300px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 5px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 250px);height:var(--emw-skeleton-image-height, 200px);border-radius:var(--emw-skeleton-image-border-radius, 10px)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 5px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, var(--emw-skeleton-color-0, #c2c2c2))}100%{background-color:var(--emw-skeleton-secondary-color, var(--emw-skeleton-color-100, #f0f0f0))}}",s=n,i=class{constructor(t){r.registerInstance(this,t),this.animation=!0}handleStructureChange(t,e){e!==t&&this.handleStructure(t)}updateStyles(){this.primaryColor&&this.skeletonContainer.style.setProperty("--emw-skeleton-primary-color",this.primaryColor),this.secondaryColor&&this.skeletonContainer.style.setProperty("--emw-skeleton-secondary-color",this.secondaryColor)}handleStructure(t){switch(t){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle()}}renderLogo(){const t={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:e=>this.skeletonContainer=e},r.h("div",{style:t,class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){const t={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:e=>this.skeletonContainer=e},r.h("div",{style:t,class:"Image "+(this.animation?"Skeleton":"")}))}renderTitle(){const t={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:e=>this.skeletonContainer=e},r.h("div",{style:t,class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){const t={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return Array.from({length:this.rows>0?this.rows:1}).map((e,o)=>r.h("div",{style:t,key:o,class:"Text "+(this.animation?"Skeleton":"")}))}renderRectangle(){const t={width:`${this.width}`,height:`${this.height}`,"background-color":`${this.color}`,"border-radius":`${this.borderRadius}px`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:e=>this.skeletonContainer=e},r.h("div",{style:t,class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){const t={width:`${this.size}`,height:`${this.size}`,"background-color":`${this.color}`,"margin-bottom":`${this.marginBottom}px`,"margin-top":`${this.marginTop}px`,"margin-left":`${this.marginLeft}px`,"margin-right":`${this.marginRight}px`};return r.h("div",{ref:e=>this.skeletonContainer=e},r.h("div",{style:t,class:"Circle "+(this.animation?"Skeleton":"")}))}componentDidLoad(){this.updateStyles()}render(){return this.handleStructure(this.structure)}static get watchers(){return{structure:["handleStructureChange"],primaryColor:["updateStyles"],secondaryColor:["updateStyles"]}}};i.style=s;exports.UiSkeleton=i;