@everymatrix/casino-most-played-section 1.59.3 → 1.60.1
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/{CasinoFilter-BuJFRvPM.js → CasinoFilter-BEMZeS_g.js} +1021 -999
- package/components/{CasinoFilter-B89QTVUk.js → CasinoFilter-C_0ob48-.js} +987 -965
- package/components/CasinoFilter-DofohXbH.cjs +18 -0
- package/components/{CasinoGameThumbnail-De-MNb5C.js → CasinoGameThumbnail-Brp54Mkr.js} +1421 -1426
- package/components/CasinoGameThumbnail-D1hFEtJA.cjs +47 -0
- package/components/{CasinoGameThumbnail-D7d2CH9f.js → CasinoGameThumbnail-DdWkNS2C.js} +1781 -1754
- package/components/{CasinoGamesCategorySection-itQeJrW_.cjs → CasinoGamesCategorySection-CHZiU-PO.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-BpG8cEx6.js → CasinoGamesCategorySection-D1vQeCrE.js} +261 -261
- package/components/{CasinoGamesCategorySection-BZda8xTc.js → CasinoGamesCategorySection-DyF270dL.js} +261 -261
- package/components/{CasinoMostPlayedSection-BE1AytOD.js → CasinoMostPlayedSection-Biz_quau.js} +44 -44
- package/components/{CasinoMostPlayedSection-awe5OQbs.js → CasinoMostPlayedSection-DqhZX69X.js} +46 -46
- package/components/{CasinoMostPlayedSection-CmAWXh3D.cjs → CasinoMostPlayedSection-_lcsNiHC.cjs} +1 -1
- package/components/{CasinoSort-BeHiiUhs.js → CasinoSort-BlmGeGgO.js} +105 -106
- package/components/{CasinoSort-CrQRKk5p.js → CasinoSort-C0-xVhct.js} +113 -112
- package/components/{CasinoSort-CrDBxoGC.cjs → CasinoSort-M-DWe9Ma.cjs} +1 -1
- package/es2015/casino-most-played-section.cjs +1 -1
- package/es2015/casino-most-played-section.js +1 -1
- package/esnext/casino-most-played-section.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BLGDaRxR.js +519 -0
- package/stencil/index-b2193545-CgYO4hhs.cjs +1 -0
- package/stencil/index-b2193545-dQymAF3M.js +503 -0
- package/stencil/{ui-skeleton-DFpfaKvi.js → ui-skeleton-BCx6m_uC.js} +4 -4
- package/stencil/ui-skeleton-BtNRiNfn.cjs +1 -0
- package/stencil/{ui-skeleton-UUT_AJxa.js → ui-skeleton-DypM319u.js} +8 -8
- package/stencil/ui-skeleton-ea659b95-Bo7WD0ao.js +152 -0
- package/stencil/ui-skeleton-ea659b95-Dc45mVmr.cjs +73 -0
- package/stencil/ui-skeleton-ea659b95-DyTVU8Ak.js +152 -0
- package/components/CasinoFilter-OPj81-Zy.cjs +0 -18
- package/components/CasinoGameThumbnail-BadbB37q.cjs +0 -47
- package/stencil/index-ae04a8b1-BxaX26xW.js +0 -516
- package/stencil/index-ae04a8b1-D7qYBP-T.js +0 -532
- package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +0 -1
- package/stencil/ui-skeleton-IHMCRYEX.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-5nW6b8_l.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-BNXFvvk_.js +0 -122
- package/stencil/ui-skeleton-a642cced-DdY2eEM0.js +0 -122
@@ -1,532 +0,0 @@
|
|
1
|
-
var P = (e, t, s) => new Promise((n, r) => {
|
2
|
-
var a = (i) => {
|
3
|
-
try {
|
4
|
-
o(s.next(i));
|
5
|
-
} catch ($) {
|
6
|
-
r($);
|
7
|
-
}
|
8
|
-
}, l = (i) => {
|
9
|
-
try {
|
10
|
-
o(s.throw(i));
|
11
|
-
} catch ($) {
|
12
|
-
r($);
|
13
|
-
}
|
14
|
-
}, o = (i) => i.done ? n(i.value) : Promise.resolve(i.value).then(a, l);
|
15
|
-
o((s = s.apply(e, t)).next());
|
16
|
-
});
|
17
|
-
const $e = "ui-skeleton", ce = (
|
18
|
-
/* ui-skeleton */
|
19
|
-
{ hydratedSelectorName: "hydrated" }
|
20
|
-
);
|
21
|
-
var fe = Object.defineProperty, ue = (e, t) => {
|
22
|
-
for (var s in t)
|
23
|
-
fe(e, s, { get: t[s], enumerable: !0 });
|
24
|
-
}, B = /* @__PURE__ */ new WeakMap(), b = (e) => B.get(e), Ze = (e, t) => B.set(t.$lazyInstance$ = e, t), de = (e, t) => {
|
25
|
-
const s = {
|
26
|
-
$flags$: 0,
|
27
|
-
$hostElement$: e,
|
28
|
-
$cmpMeta$: t,
|
29
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
30
|
-
};
|
31
|
-
return s.$onReadyPromise$ = new Promise((n) => s.$onReadyResolve$ = n), e["s-p"] = [], e["s-rc"] = [], B.set(e, s);
|
32
|
-
}, k = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), me = (e, t, s) => {
|
33
|
-
const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
34
|
-
if (!r)
|
35
|
-
return;
|
36
|
-
const a = O.get(r);
|
37
|
-
if (a)
|
38
|
-
return a[n];
|
39
|
-
{
|
40
|
-
const l = (o) => (O.set(r, o), o[n]);
|
41
|
-
switch (r) {
|
42
|
-
case "ui-skeleton":
|
43
|
-
return import(
|
44
|
-
/* webpackMode: "lazy" */
|
45
|
-
"./ui-skeleton-UUT_AJxa.js"
|
46
|
-
).then(l, k);
|
47
|
-
}
|
48
|
-
}
|
49
|
-
return import(
|
50
|
-
/* @vite-ignore */
|
51
|
-
/* webpackInclude: /\.entry\.js$/ */
|
52
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
53
|
-
/* webpackMode: "lazy" */
|
54
|
-
`./${r}.entry.js`
|
55
|
-
).then((l) => (O.set(r, l), l[n]), k);
|
56
|
-
}, T = /* @__PURE__ */ new Map(), ve = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", z = typeof window != "undefined" ? window : {}, y = z.document || { head: {} }, g = {
|
57
|
-
$flags$: 0,
|
58
|
-
$resourcesUrl$: "",
|
59
|
-
jmp: (e) => e(),
|
60
|
-
raf: (e) => requestAnimationFrame(e),
|
61
|
-
ael: (e, t, s, n) => e.addEventListener(t, s, n),
|
62
|
-
rel: (e, t, s, n) => e.removeEventListener(t, s, n),
|
63
|
-
ce: (e, t) => new CustomEvent(e, t)
|
64
|
-
}, ge = (e) => Promise.resolve(e), he = /* @__PURE__ */ (() => {
|
65
|
-
try {
|
66
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
67
|
-
} catch (e) {
|
68
|
-
}
|
69
|
-
return !1;
|
70
|
-
})(), A = !1, C = [], K = [], pe = (e, t) => (s) => {
|
71
|
-
e.push(s), A || (A = !0, g.$flags$ & 4 ? q(I) : g.raf(I));
|
72
|
-
}, D = (e) => {
|
73
|
-
for (let t = 0; t < e.length; t++)
|
74
|
-
try {
|
75
|
-
e[t](performance.now());
|
76
|
-
} catch (s) {
|
77
|
-
k(s);
|
78
|
-
}
|
79
|
-
e.length = 0;
|
80
|
-
}, I = () => {
|
81
|
-
D(C), D(K), (A = C.length > 0) && g.raf(I);
|
82
|
-
}, q = (e) => ge().then(e), ye = /* @__PURE__ */ pe(K), F = {}, Q = (e) => (e = typeof e, e === "object" || e === "function");
|
83
|
-
function X(e) {
|
84
|
-
var t, s, n;
|
85
|
-
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;
|
86
|
-
}
|
87
|
-
var Se = {};
|
88
|
-
ue(Se, {
|
89
|
-
err: () => Z,
|
90
|
-
map: () => be,
|
91
|
-
ok: () => H,
|
92
|
-
unwrap: () => ke,
|
93
|
-
unwrapErr: () => Ee
|
94
|
-
});
|
95
|
-
var H = (e) => ({
|
96
|
-
isOk: !0,
|
97
|
-
isErr: !1,
|
98
|
-
value: e
|
99
|
-
}), Z = (e) => ({
|
100
|
-
isOk: !1,
|
101
|
-
isErr: !0,
|
102
|
-
value: e
|
103
|
-
});
|
104
|
-
function be(e, t) {
|
105
|
-
if (e.isOk) {
|
106
|
-
const s = t(e.value);
|
107
|
-
return s instanceof Promise ? s.then((n) => H(n)) : H(s);
|
108
|
-
}
|
109
|
-
if (e.isErr) {
|
110
|
-
const s = e.value;
|
111
|
-
return Z(s);
|
112
|
-
}
|
113
|
-
throw "should never get here";
|
114
|
-
}
|
115
|
-
var ke = (e) => {
|
116
|
-
if (e.isOk)
|
117
|
-
return e.value;
|
118
|
-
throw e.value;
|
119
|
-
}, Ee = (e) => {
|
120
|
-
if (e.isErr)
|
121
|
-
return e.value;
|
122
|
-
throw e.value;
|
123
|
-
}, S = (e, t = "") => () => {
|
124
|
-
}, we = (e, t) => () => {
|
125
|
-
}, Pe = (e, t, ...s) => {
|
126
|
-
let n = null, r = null, a = !1, l = !1;
|
127
|
-
const o = [], i = (c) => {
|
128
|
-
for (let f = 0; f < c.length; f++)
|
129
|
-
n = c[f], Array.isArray(n) ? i(n) : n != null && typeof n != "boolean" && ((a = typeof e != "function" && !Q(n)) && (n = String(n)), a && l ? o[o.length - 1].$text$ += n : o.push(a ? U(null, n) : n), l = a);
|
130
|
-
};
|
131
|
-
if (i(s), t) {
|
132
|
-
t.key && (r = t.key);
|
133
|
-
{
|
134
|
-
const c = t.className || t.class;
|
135
|
-
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
|
136
|
-
}
|
137
|
-
}
|
138
|
-
const $ = U(e, null);
|
139
|
-
return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = r, $;
|
140
|
-
}, U = (e, t) => {
|
141
|
-
const s = {
|
142
|
-
$flags$: 0,
|
143
|
-
$tag$: e,
|
144
|
-
$text$: t,
|
145
|
-
$elm$: null,
|
146
|
-
$children$: null
|
147
|
-
};
|
148
|
-
return s.$attrs$ = null, s.$key$ = null, s;
|
149
|
-
}, xe = {}, Le = (e) => e && e.$tag$ === xe, Te = (e, t) => e != null && !Q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, _e = (e, t, s) => {
|
150
|
-
const n = g.ce(t, s);
|
151
|
-
return e.dispatchEvent(n), n;
|
152
|
-
}, M = /* @__PURE__ */ new WeakMap(), je = (e, t, s) => {
|
153
|
-
let n = T.get(e);
|
154
|
-
he && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, T.set(e, n);
|
155
|
-
}, Oe = (e, t, s) => {
|
156
|
-
var n;
|
157
|
-
const r = R(t), a = T.get(r);
|
158
|
-
if (e = e.nodeType === 11 ? e : y, a)
|
159
|
-
if (typeof a == "string") {
|
160
|
-
e = e.head || e;
|
161
|
-
let l = M.get(e), o;
|
162
|
-
if (l || M.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
163
|
-
{
|
164
|
-
o = y.createElement("style"), o.innerHTML = a;
|
165
|
-
const i = (n = g.$nonce$) != null ? n : X(y);
|
166
|
-
i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
|
167
|
-
}
|
168
|
-
t.$flags$ & 4 && (o.innerHTML += J), l && l.add(r);
|
169
|
-
}
|
170
|
-
} else
|
171
|
-
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
172
|
-
return r;
|
173
|
-
}, Ae = (e) => {
|
174
|
-
const t = e.$cmpMeta$, s = e.$hostElement$, n = S("attachStyles", t.$tagName$);
|
175
|
-
Oe(
|
176
|
-
s.getRootNode(),
|
177
|
-
t
|
178
|
-
), n();
|
179
|
-
}, R = (e, t) => "sc-" + e.$tagName$, W = (e, t, s, n, r, a) => {
|
180
|
-
if (s !== n)
|
181
|
-
if (t.toLowerCase(), t === "class") {
|
182
|
-
const l = e.classList, o = Y(s), i = Y(n);
|
183
|
-
l.remove(...o.filter(($) => $ && !i.includes($))), l.add(...i.filter(($) => $ && !o.includes($)));
|
184
|
-
} else if (t === "style") {
|
185
|
-
for (const l in s)
|
186
|
-
(!n || n[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
|
187
|
-
for (const l in n)
|
188
|
-
(!s || n[l] !== s[l]) && (l.includes("-") ? e.style.setProperty(l, n[l]) : e.style[l] = n[l]);
|
189
|
-
} else
|
190
|
-
t === "key" || t === "ref" && n && n(e);
|
191
|
-
}, Ie = /\s/, Y = (e) => e ? e.split(Ie) : [], V = (e, t, s) => {
|
192
|
-
const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || F, a = t.$attrs$ || F;
|
193
|
-
for (const l of G(Object.keys(r)))
|
194
|
-
l in a || W(n, l, r[l], void 0);
|
195
|
-
for (const l of G(Object.keys(a)))
|
196
|
-
W(n, l, r[l], a[l]);
|
197
|
-
};
|
198
|
-
function G(e) {
|
199
|
-
return e.includes("ref") ? (
|
200
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
201
|
-
[...e.filter((t) => t !== "ref"), "ref"]
|
202
|
-
) : (
|
203
|
-
// no need to sort, return the original array
|
204
|
-
e
|
205
|
-
);
|
206
|
-
}
|
207
|
-
var ee, _ = (e, t, s, n) => {
|
208
|
-
const r = t.$children$[s];
|
209
|
-
let a = 0, l, o;
|
210
|
-
if (l = r.$elm$ = y.createElement(
|
211
|
-
r.$tag$
|
212
|
-
), V(null, r), r.$children$)
|
213
|
-
for (a = 0; a < r.$children$.length; ++a)
|
214
|
-
o = _(e, r, a), o && l.appendChild(o);
|
215
|
-
return l["s-hn"] = ee, l;
|
216
|
-
}, te = (e, t, s, n, r, a) => {
|
217
|
-
let l = e, o;
|
218
|
-
for (; r <= a; ++r)
|
219
|
-
n[r] && (o = _(null, s, r), o && (n[r].$elm$ = o, L(l, o, t)));
|
220
|
-
}, ne = (e, t, s) => {
|
221
|
-
for (let n = t; n <= s; ++n) {
|
222
|
-
const r = e[n];
|
223
|
-
if (r) {
|
224
|
-
const a = r.$elm$;
|
225
|
-
se(r), a && a.remove();
|
226
|
-
}
|
227
|
-
}
|
228
|
-
}, He = (e, t, s, n, r = !1) => {
|
229
|
-
let a = 0, l = 0, o = 0, i = 0, $ = t.length - 1, c = t[0], f = t[$], u = n.length - 1, d = n[0], m = n[u], v, h;
|
230
|
-
for (; a <= $ && l <= u; )
|
231
|
-
if (c == null)
|
232
|
-
c = t[++a];
|
233
|
-
else if (f == null)
|
234
|
-
f = t[--$];
|
235
|
-
else if (d == null)
|
236
|
-
d = n[++l];
|
237
|
-
else if (m == null)
|
238
|
-
m = n[--u];
|
239
|
-
else if (x(c, d, r))
|
240
|
-
E(c, d, r), c = t[++a], d = n[++l];
|
241
|
-
else if (x(f, m, r))
|
242
|
-
E(f, m, r), f = t[--$], m = n[--u];
|
243
|
-
else if (x(c, m, r))
|
244
|
-
E(c, m, r), L(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], m = n[--u];
|
245
|
-
else if (x(f, d, r))
|
246
|
-
E(f, d, r), L(e, f.$elm$, c.$elm$), f = t[--$], d = n[++l];
|
247
|
-
else {
|
248
|
-
for (o = -1, i = a; i <= $; ++i)
|
249
|
-
if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
|
250
|
-
o = i;
|
251
|
-
break;
|
252
|
-
}
|
253
|
-
o >= 0 ? (h = t[o], h.$tag$ !== d.$tag$ ? v = _(t && t[l], s, o) : (E(h, d, r), t[o] = void 0, v = h.$elm$), d = n[++l]) : (v = _(t && t[l], s, l), d = n[++l]), v && L(c.$elm$.parentNode, v, c.$elm$);
|
254
|
-
}
|
255
|
-
a > $ ? te(
|
256
|
-
e,
|
257
|
-
n[u + 1] == null ? null : n[u + 1].$elm$,
|
258
|
-
s,
|
259
|
-
n,
|
260
|
-
l,
|
261
|
-
u
|
262
|
-
) : l > u && ne(t, a, $);
|
263
|
-
}, x = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, E = (e, t, s = !1) => {
|
264
|
-
const n = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$;
|
265
|
-
V(e, t), r !== null && a !== null ? He(n, r, t, a, s) : a !== null ? te(n, null, t, a, 0, a.length - 1) : r !== null && ne(r, 0, r.length - 1);
|
266
|
-
}, se = (e) => {
|
267
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(se);
|
268
|
-
}, L = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), Ue = (e, t, s = !1) => {
|
269
|
-
const n = e.$hostElement$, r = e.$vnode$ || U(null, null), a = Le(t) ? t : Pe(null, null, t);
|
270
|
-
if (ee = n.tagName, s && a.$attrs$)
|
271
|
-
for (const l of Object.keys(a.$attrs$))
|
272
|
-
n.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = n[l]);
|
273
|
-
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = n, E(r, a, s);
|
274
|
-
}, re = (e, t) => {
|
275
|
-
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
|
276
|
-
}, N = (e, t) => {
|
277
|
-
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
278
|
-
e.$flags$ |= 512;
|
279
|
-
return;
|
280
|
-
}
|
281
|
-
return re(e, e.$ancestorComponent$), ye(() => Be(e, t));
|
282
|
-
}, Be = (e, t) => {
|
283
|
-
const s = e.$hostElement$, n = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
284
|
-
if (!r)
|
285
|
-
throw new Error(
|
286
|
-
`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`
|
287
|
-
);
|
288
|
-
let a;
|
289
|
-
return n(), ze(a, () => Ne(e, r, t));
|
290
|
-
}, ze = (e, t) => qe(e) ? e.then(t).catch((s) => {
|
291
|
-
console.error(s), t();
|
292
|
-
}) : t(), qe = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ne = (e, t, s) => P(void 0, null, function* () {
|
293
|
-
var n;
|
294
|
-
const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
|
295
|
-
s && Ae(e);
|
296
|
-
const o = S("render", e.$cmpMeta$.$tagName$);
|
297
|
-
Ce(e, t, r, s), l && (l.map((i) => i()), r["s-rc"] = void 0), o(), a();
|
298
|
-
{
|
299
|
-
const i = (n = r["s-p"]) != null ? n : [], $ = () => De(e);
|
300
|
-
i.length === 0 ? $() : (Promise.all(i).then($), e.$flags$ |= 4, i.length = 0);
|
301
|
-
}
|
302
|
-
}), Ce = (e, t, s, n) => {
|
303
|
-
try {
|
304
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ue(e, t, n);
|
305
|
-
} catch (r) {
|
306
|
-
k(r, e.$hostElement$);
|
307
|
-
}
|
308
|
-
return null;
|
309
|
-
}, De = (e) => {
|
310
|
-
const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
|
311
|
-
e.$flags$ & 64 ? n() : (e.$flags$ |= 64, ae(s), Fe(r, "componentDidLoad"), n(), e.$onReadyResolve$(s), a || le()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && q(() => N(e, !1)), e.$flags$ &= -517;
|
312
|
-
}, le = (e) => {
|
313
|
-
ae(y.documentElement), q(() => _e(z, "appload", { detail: { namespace: $e } }));
|
314
|
-
}, Fe = (e, t, s) => {
|
315
|
-
if (e && e[t])
|
316
|
-
try {
|
317
|
-
return e[t](s);
|
318
|
-
} catch (n) {
|
319
|
-
k(n);
|
320
|
-
}
|
321
|
-
}, ae = (e) => {
|
322
|
-
var t;
|
323
|
-
return e.classList.add((t = ce.hydratedSelectorName) != null ? t : "hydrated");
|
324
|
-
}, Me = (e, t) => b(e).$instanceValues$.get(t), We = (e, t, s, n) => {
|
325
|
-
const r = b(e);
|
326
|
-
if (!r)
|
327
|
-
throw new Error(
|
328
|
-
`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).`
|
329
|
-
);
|
330
|
-
const a = r.$hostElement$, l = r.$instanceValues$.get(t), o = r.$flags$, i = r.$lazyInstance$;
|
331
|
-
s = Te(s, n.$members$[t][0]);
|
332
|
-
const $ = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !$;
|
333
|
-
if ((!(o & 8) || l === void 0) && c && (r.$instanceValues$.set(t, s), i)) {
|
334
|
-
if (n.$watchers$ && o & 128) {
|
335
|
-
const f = n.$watchers$[t];
|
336
|
-
f && f.map((u) => {
|
337
|
-
try {
|
338
|
-
i[u](s, l, t);
|
339
|
-
} catch (d) {
|
340
|
-
k(d, a);
|
341
|
-
}
|
342
|
-
});
|
343
|
-
}
|
344
|
-
(o & 18) === 2 && N(r, !1);
|
345
|
-
}
|
346
|
-
}, ie = (e, t, s) => {
|
347
|
-
var n, r;
|
348
|
-
const a = e.prototype;
|
349
|
-
if (t.$members$ || t.$watchers$ || e.watchers) {
|
350
|
-
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
351
|
-
const l = Object.entries((n = t.$members$) != null ? n : {});
|
352
|
-
if (l.map(([o, [i]]) => {
|
353
|
-
(i & 31 || s & 2 && i & 32) && Object.defineProperty(a, o, {
|
354
|
-
get() {
|
355
|
-
return Me(this, o);
|
356
|
-
},
|
357
|
-
set($) {
|
358
|
-
We(this, o, $, t);
|
359
|
-
},
|
360
|
-
configurable: !0,
|
361
|
-
enumerable: !0
|
362
|
-
});
|
363
|
-
}), s & 1) {
|
364
|
-
const o = /* @__PURE__ */ new Map();
|
365
|
-
a.attributeChangedCallback = function(i, $, c) {
|
366
|
-
g.jmp(() => {
|
367
|
-
var f;
|
368
|
-
const u = o.get(i);
|
369
|
-
if (this.hasOwnProperty(u))
|
370
|
-
c = this[u], delete this[u];
|
371
|
-
else {
|
372
|
-
if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
|
373
|
-
return;
|
374
|
-
if (u == null) {
|
375
|
-
const d = b(this), m = d == null ? void 0 : d.$flags$;
|
376
|
-
if (m && !(m & 8) && m & 128 && c !== $) {
|
377
|
-
const v = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[i];
|
378
|
-
h == null || h.forEach((p) => {
|
379
|
-
v[p] != null && v[p].call(v, c, $, i);
|
380
|
-
});
|
381
|
-
}
|
382
|
-
return;
|
383
|
-
}
|
384
|
-
}
|
385
|
-
this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
|
386
|
-
});
|
387
|
-
}, e.observedAttributes = Array.from(
|
388
|
-
/* @__PURE__ */ new Set([
|
389
|
-
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
390
|
-
...l.filter(
|
391
|
-
([i, $]) => $[0] & 15
|
392
|
-
/* HasAttribute */
|
393
|
-
).map(([i, $]) => {
|
394
|
-
const c = $[1] || i;
|
395
|
-
return o.set(c, i), c;
|
396
|
-
})
|
397
|
-
])
|
398
|
-
);
|
399
|
-
}
|
400
|
-
}
|
401
|
-
return e;
|
402
|
-
}, Ye = (e, t, s, n) => P(void 0, null, function* () {
|
403
|
-
let r;
|
404
|
-
if (!(t.$flags$ & 32)) {
|
405
|
-
if (t.$flags$ |= 32, s.$lazyBundleId$) {
|
406
|
-
const i = me(s);
|
407
|
-
if (i && "then" in i) {
|
408
|
-
const c = we();
|
409
|
-
r = yield i, c();
|
410
|
-
} else
|
411
|
-
r = i;
|
412
|
-
if (!r)
|
413
|
-
throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
|
414
|
-
r.isProxied || (s.$watchers$ = r.watchers, ie(
|
415
|
-
r,
|
416
|
-
s,
|
417
|
-
2
|
418
|
-
/* proxyState */
|
419
|
-
), r.isProxied = !0);
|
420
|
-
const $ = S("createInstance", s.$tagName$);
|
421
|
-
t.$flags$ |= 8;
|
422
|
-
try {
|
423
|
-
new r(t);
|
424
|
-
} catch (c) {
|
425
|
-
k(c);
|
426
|
-
}
|
427
|
-
t.$flags$ &= -9, t.$flags$ |= 128, $();
|
428
|
-
} else {
|
429
|
-
r = e.constructor;
|
430
|
-
const i = e.localName;
|
431
|
-
customElements.whenDefined(i).then(
|
432
|
-
() => t.$flags$ |= 128
|
433
|
-
/* isWatchReady */
|
434
|
-
);
|
435
|
-
}
|
436
|
-
if (r && r.style) {
|
437
|
-
let i;
|
438
|
-
typeof r.style == "string" && (i = r.style);
|
439
|
-
const $ = R(s);
|
440
|
-
if (!T.has($)) {
|
441
|
-
const c = S("registerStyles", s.$tagName$);
|
442
|
-
je($, i, !!(s.$flags$ & 1)), c();
|
443
|
-
}
|
444
|
-
}
|
445
|
-
}
|
446
|
-
const a = t.$ancestorComponent$, l = () => N(t, !0);
|
447
|
-
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
448
|
-
}), Ge = (e) => {
|
449
|
-
}, Je = (e) => {
|
450
|
-
if (!(g.$flags$ & 1)) {
|
451
|
-
const t = b(e), s = t.$cmpMeta$, n = S("connectedCallback", s.$tagName$);
|
452
|
-
if (t.$flags$ & 1)
|
453
|
-
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ge());
|
454
|
-
else {
|
455
|
-
t.$flags$ |= 1;
|
456
|
-
{
|
457
|
-
let r = e;
|
458
|
-
for (; r = r.parentNode || r.host; )
|
459
|
-
if (r["s-p"]) {
|
460
|
-
re(t, t.$ancestorComponent$ = r);
|
461
|
-
break;
|
462
|
-
}
|
463
|
-
}
|
464
|
-
s.$members$ && Object.entries(s.$members$).map(([r, [a]]) => {
|
465
|
-
if (a & 31 && e.hasOwnProperty(r)) {
|
466
|
-
const l = e[r];
|
467
|
-
delete e[r], e[r] = l;
|
468
|
-
}
|
469
|
-
}), Ye(e, t, s);
|
470
|
-
}
|
471
|
-
n();
|
472
|
-
}
|
473
|
-
}, Ke = (e) => {
|
474
|
-
}, Qe = (e) => P(void 0, null, function* () {
|
475
|
-
if (!(g.$flags$ & 1)) {
|
476
|
-
const t = b(e);
|
477
|
-
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ke());
|
478
|
-
}
|
479
|
-
}), Re = (e, t = {}) => {
|
480
|
-
var s;
|
481
|
-
const n = S(), r = [], a = t.exclude || [], l = z.customElements, o = y.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
|
482
|
-
let f, u = !0;
|
483
|
-
Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
484
|
-
let d = !1;
|
485
|
-
if (e.map((m) => {
|
486
|
-
m[1].map((v) => {
|
487
|
-
var h;
|
488
|
-
const p = {
|
489
|
-
$flags$: v[0],
|
490
|
-
$tagName$: v[1],
|
491
|
-
$members$: v[2],
|
492
|
-
$listeners$: v[3]
|
493
|
-
};
|
494
|
-
p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
|
495
|
-
const w = p.$tagName$, oe = class extends HTMLElement {
|
496
|
-
// StencilLazyHost
|
497
|
-
constructor(j) {
|
498
|
-
super(j), this.hasRegisteredEventListeners = !1, j = this, de(j, p);
|
499
|
-
}
|
500
|
-
connectedCallback() {
|
501
|
-
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : g.jmp(() => Je(this));
|
502
|
-
}
|
503
|
-
disconnectedCallback() {
|
504
|
-
g.jmp(() => Qe(this));
|
505
|
-
}
|
506
|
-
componentOnReady() {
|
507
|
-
return b(this).$onReadyPromise$;
|
508
|
-
}
|
509
|
-
};
|
510
|
-
p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (r.push(w), l.define(
|
511
|
-
w,
|
512
|
-
ie(
|
513
|
-
oe,
|
514
|
-
p,
|
515
|
-
1
|
516
|
-
/* isElementConstructor */
|
517
|
-
)
|
518
|
-
));
|
519
|
-
});
|
520
|
-
}), r.length > 0 && (d && ($.textContent += J), $.textContent += r.sort() + ve, $.innerHTML.length)) {
|
521
|
-
$.setAttribute("data-styles", "");
|
522
|
-
const m = (s = g.$nonce$) != null ? s : X(y);
|
523
|
-
m != null && $.setAttribute("nonce", m), o.insertBefore($, i ? i.nextSibling : o.firstChild);
|
524
|
-
}
|
525
|
-
u = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => f = setTimeout(le, 30)), n();
|
526
|
-
};
|
527
|
-
export {
|
528
|
-
Re as b,
|
529
|
-
Pe as h,
|
530
|
-
ge as p,
|
531
|
-
Ze as r
|
532
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var P=(e,t,s)=>new Promise((n,r)=>{var a=i=>{try{o(s.next(i))}catch($){r($)}},l=i=>{try{o(s.throw(i))}catch($){r($)}},o=i=>i.done?n(i.value):Promise.resolve(i.value).then(a,l);o((s=s.apply(e,t)).next())});const fe="ui-skeleton",ue={hydratedSelectorName:"hydrated"};var de=Object.defineProperty,me=(e,t)=>{for(var s in t)de(e,s,{get:t[s],enumerable:!0})},z=new WeakMap,b=e=>z.get(e),ve=(e,t)=>z.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],z.set(e,s)},k=(e,t)=>(0,console.error)(e,t),A=new Map,he=(e,t,s)=>{const n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const a=A.get(r);if(a)return a[n];{const l=o=>(A.set(r,o),o[n]);switch(r){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-IHMCRYEX.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(A.set(r,l),l[n]),k)},_=new Map,pe="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},g={$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)},K=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),x=!1,C=[],Q=[],Se=(e,t)=>s=>{e.push(s),x||(x=!0,g.$flags$&4?q(I):g.raf(I))},D=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){k(s)}e.length=0},I=()=>{D(C),D(Q),(x=C.length>0)&&g.raf(I)},q=e=>K().then(e),be=Se(Q),F={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(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 ke={};me(ke,{err:()=>R,map:()=>Ee,ok:()=>H,unwrap:()=>we,unwrapErr:()=>Pe});var H=e=>({isOk:!0,isErr:!1,value:e}),R=e=>({isOk:!1,isErr:!0,value:e});function Ee(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(n=>H(n)):H(s)}if(e.isErr){const s=e.value;return R(s)}throw"should never get here"}var we=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Le=(e,t)=>()=>{},V=(e,t,...s)=>{let n=null,r=null,a=!1,l=!1;const o=[],i=c=>{for(let f=0;f<c.length;f++)n=c[f],Array.isArray(n)?i(n):n!=null&&typeof n!="boolean"&&((a=typeof e!="function"&&!X(n))&&(n=String(n)),a&&l?o[o.length-1].$text$+=n:o.push(a?U(null,n):n),l=a)};if(i(s),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=U(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$},U=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s},Te={},_e=e=>e&&e.$tag$===Te,je=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,Oe=(e,t,s)=>{const n=g.ce(t,s);return e.dispatchEvent(n),n},M=new WeakMap,Ae=(e,t,s)=>{let n=_.get(e);ye&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,_.set(e,n)},xe=(e,t,s)=>{var n;const r=ee(t),a=_.get(r);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),o;if(l||M.set(e,l=new Set),!l.has(r)){{o=y.createElement("style"),o.innerHTML=a;const i=(n=g.$nonce$)!=null?n:Z(y);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(r)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return r},Ie=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,n=S("attachStyles",t.$tagName$);xe(s.getRootNode(),t),n()},ee=(e,t)=>"sc-"+e.$tagName$,W=(e,t,s,n,r,a)=>{if(s!==n)if(t.toLowerCase(),t==="class"){const l=e.classList,o=Y(s),i=Y(n);l.remove(...o.filter($=>$&&!i.includes($))),l.add(...i.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)},He=/\s/,Y=e=>e?e.split(He):[],te=(e,t,s)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||F,a=t.$attrs$||F;for(const l of G(Object.keys(r)))l in a||W(n,l,r[l],void 0);for(const l of G(Object.keys(a)))W(n,l,r[l],a[l])};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var ne,j=(e,t,s,n)=>{const r=t.$children$[s];let a=0,l,o;if(l=r.$elm$=y.createElement(r.$tag$),te(null,r),r.$children$)for(a=0;a<r.$children$.length;++a)o=j(e,r,a),o&&l.appendChild(o);return l["s-hn"]=ne,l},se=(e,t,s,n,r,a)=>{let l=e,o;for(;r<=a;++r)n[r]&&(o=j(null,s,r),o&&(n[r].$elm$=o,T(l,o,t)))},re=(e,t,s)=>{for(let n=t;n<=s;++n){const r=e[n];if(r){const a=r.$elm$;le(r),a&&a.remove()}}},Ue=(e,t,s,n,r=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],f=t[$],u=n.length-1,d=n[0],m=n[u],v,h;for(;a<=$&&l<=u;)if(c==null)c=t[++a];else if(f==null)f=t[--$];else if(d==null)d=n[++l];else if(m==null)m=n[--u];else if(L(c,d,r))E(c,d,r),c=t[++a],d=n[++l];else if(L(f,m,r))E(f,m,r),f=t[--$],m=n[--u];else if(L(c,m,r))E(c,m,r),T(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],m=n[--u];else if(L(f,d,r))E(f,d,r),T(e,f.$elm$,c.$elm$),f=t[--$],d=n[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(h=t[o],h.$tag$!==d.$tag$?v=j(t&&t[l],s,o):(E(h,d,r),t[o]=void 0,v=h.$elm$),d=n[++l]):(v=j(t&&t[l],s,l),d=n[++l]),v&&T(c.$elm$.parentNode,v,c.$elm$)}a>$?se(e,n[u+1]==null?null:n[u+1].$elm$,s,n,l,u):l>u&&re(t,a,$)},L=(e,t,s=!1)=>e.$tag$===t.$tag$?s?!0:e.$key$===t.$key$:!1,E=(e,t,s=!1)=>{const n=t.$elm$=e.$elm$,r=e.$children$,a=t.$children$;te(e,t),r!==null&&a!==null?Ue(n,r,t,a,s):a!==null?se(n,null,t,a,0,a.length-1):r!==null&&re(r,0,r.length-1)},le=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(le)},T=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),ze=(e,t,s=!1)=>{const n=e.$hostElement$,r=e.$vnode$||U(null,null),a=_e(t)?t:V(null,null,t);if(ne=n.tagName,s&&a.$attrs$)for(const l of Object.keys(a.$attrs$))n.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=n[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=r.$elm$=n,E(r,a,s)},ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},N=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ae(e,e.$ancestorComponent$),be(()=>Be(e,t))},Be=(e,t)=>{const s=e.$hostElement$,n=S("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 a;return n(),qe(a,()=>Ce(e,r,t))},qe=(e,t)=>Ne(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),Ne=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ce=(e,t,s)=>P(exports,null,function*(){var n;const r=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];s&&Ie(e);const o=S("render",e.$cmpMeta$.$tagName$);De(e,t,r,s),l&&(l.map(i=>i()),r["s-rc"]=void 0),o(),a();{const i=(n=r["s-p"])!=null?n:[],$=()=>Fe(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),De=(e,t,s,n)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,ze(e,t,n)}catch(r){k(r,e.$hostElement$)}return null},Fe=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=S("postUpdate",t),r=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?n():(e.$flags$|=64,oe(s),Me(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),a||ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&q(()=>N(e,!1)),e.$flags$&=-517},ie=e=>{oe(y.documentElement),q(()=>Oe(B,"appload",{detail:{namespace:fe}}))},Me=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){k(n)}},oe=e=>{var t;return e.classList.add((t=ue.hydratedSelectorName)!=null?t:"hydrated")},We=(e,t)=>b(e).$instanceValues$.get(t),Ye=(e,t,s,n)=>{const r=b(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 a=r.$hostElement$,l=r.$instanceValues$.get(t),o=r.$flags$,i=r.$lazyInstance$;s=je(s,n.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(s),c=s!==l&&!$;if((!(o&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,s),i)){if(n.$watchers$&&o&128){const f=n.$watchers$[t];f&&f.map(u=>{try{i[u](s,l,t)}catch(d){k(d,a)}})}(o&18)===2&&N(r,!1)}},$e=(e,t,s)=>{var n,r;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((n=t.$members$)!=null?n:{});if(l.map(([o,[i]])=>{(i&31||s&2&&i&32)&&Object.defineProperty(a,o,{get(){return We(this,o)},set($){Ye(this,o,$,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var f;const u=o.get(i);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=b(this),m=d==null?void 0:d.$flags$;if(m&&!(m&8)&&m&128&&c!==$){const v=d.$lazyInstance$,h=(f=t.$watchers$)==null?void 0:f[i];h==null||h.forEach(p=>{v[p]!=null&&v[p].call(v,c,$,i)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{const c=$[1]||i;return o.set(c,i),c})]))}}return e},Ge=(e,t,s,n)=>P(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const i=he(s);if(i&&"then"in i){const c=Le();r=yield i,c()}else r=i;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,$e(r,s,2),r.isProxied=!0);const $=S("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(r&&r.style){let i;typeof r.style=="string"&&(i=r.style);const $=ee(s);if(!_.has($)){const c=S("registerStyles",s.$tagName$);Ae($,i,!!(s.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>N(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Je=e=>{},Ke=e=>{if(!(g.$flags$&1)){const t=b(e),s=t.$cmpMeta$,n=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ae(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[a]])=>{if(a&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Ge(e,t,s)}n()}},Qe=e=>{},Xe=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Qe())}}),Ze=(e,t={})=>{var s;const n=S(),r=[],a=t.exclude||[],l=B.customElements,o=y.head,i=o.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let f,u=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let d=!1;if(e.map(m=>{m[1].map(v=>{var h;const p={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};p.$flags$&4&&(d=!0),p.$members$=v[2],p.$watchers$=(h=v[4])!=null?h:{};const w=p.$tagName$,ce=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,ge(O,p)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):g.jmp(()=>Ke(this))}disconnectedCallback(){g.jmp(()=>Xe(this))}componentOnReady(){return b(this).$onReadyPromise$}};p.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(r.push(w),l.define(w,$e(ce,p,1)))})}),r.length>0&&(d&&($.textContent+=J),$.textContent+=r.sort()+pe,$.innerHTML.length)){$.setAttribute("data-styles","");const m=(s=g.$nonce$)!=null?s:Z(y);m!=null&&$.setAttribute("nonce",m),o.insertBefore($,i?i.nextSibling:o.firstChild)}u=!1,c.length?c.map(m=>m.connectedCallback()):g.jmp(()=>f=setTimeout(ie,30)),n()};exports.bootstrapLazy=Ze;exports.h=V;exports.promiseResolve=K;exports.registerInstance=ve;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var c=(r,t,o)=>new Promise((u,s)=>{var d=e=>{try{n(o.next(e))}catch(i){s(i)}},m=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?u(e.value):Promise.resolve(e.value).then(d,m);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index-ae04a8b1-Dk7mk6oB.cjs"),p=require("./app-globals-0f993ce5-sCt45RkC.cjs"),g=require("./ui-skeleton-a642cced-5nW6b8_l.cjs");var a=typeof document!="undefined"?document.currentScript:null,y=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-IHMCRYEX.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),l.promiseResolve(t)};y().then(r=>c(exports,null,function*(){return yield p.globalScripts(),l.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"],primaryColor:["updateStyles"],secondaryColor:["updateStyles"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const r=require("./index-ae04a8b1-Dk7mk6oB.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(e){r.registerInstance(this,e),this.structure=void 0,this.width=void 0,this.height=void 0,this.borderRadius=void 0,this.marginBottom=void 0,this.marginTop=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.animation=!0,this.rows=void 0,this.size=void 0,this.color=void 0,this.primaryColor=void 0,this.secondaryColor=void 0}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}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(e){switch(e){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 e={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:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){const e={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:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Image "+(this.animation?"Skeleton":"")}))}renderTitle(){const e={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:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){const e={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((t,o)=>r.h("div",{style:e,key:o,class:"Text "+(this.animation?"Skeleton":"")}))}renderRectangle(){const e={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:t=>this.skeletonContainer=t},r.h("div",{style:e,class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){const e={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:t=>this.skeletonContainer=t},r.h("div",{style:e,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;
|