@everymatrix/casino-game-page 1.71.1 → 1.72.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/{CasinoGamePage-BNUXUzgK.js → CasinoGamePage-BgeAgSIB.js} +1069 -1050
- package/components/CasinoGamePage-D9Ie-1fu.cjs +26 -0
- package/components/{CasinoGamePage-B-CfiiUN.js → CasinoGamePage-DXtSuV7D.js} +1120 -1101
- package/es2015/casino-game-page.cjs +1 -1
- package/es2015/casino-game-page.js +1 -1
- package/esnext/casino-game-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652--F7PvMq9.js +542 -0
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/index-97d17652-CCFHkzJw.js +558 -0
- package/stencil/{ui-image-BMiZteNE.cjs → ui-image-BaHsVAxH.cjs} +1 -1
- package/stencil/{ui-image-CX3MBBZL.js → ui-image-C7s6Uvn5.js} +1 -1
- package/stencil/{ui-image-BW8AeEVd.js → ui-image-CHeV8e9p.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
- package/components/CasinoGamePage-_QpDgYxR.cjs +0 -26
- package/stencil/index-97d17652-BD-QREJe.js +0 -558
- package/stencil/index-97d17652-DJqGt8q2.js +0 -542
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -0,0 +1,558 @@
|
|
1
|
+
var P = (e, t, n) => new Promise((s, r) => {
|
2
|
+
var i = (a) => {
|
3
|
+
try {
|
4
|
+
$(n.next(a));
|
5
|
+
} catch (o) {
|
6
|
+
r(o);
|
7
|
+
}
|
8
|
+
}, l = (a) => {
|
9
|
+
try {
|
10
|
+
$(n.throw(a));
|
11
|
+
} catch (o) {
|
12
|
+
r(o);
|
13
|
+
}
|
14
|
+
}, $ = (a) => a.done ? s(a.value) : Promise.resolve(a.value).then(i, l);
|
15
|
+
$((n = n.apply(e, t)).next());
|
16
|
+
});
|
17
|
+
const ue = "ui-image", de = (
|
18
|
+
/* ui-image */
|
19
|
+
{ hydratedSelectorName: "hydrated" }
|
20
|
+
);
|
21
|
+
var ve = Object.defineProperty, ge = (e, t) => {
|
22
|
+
for (var n in t)
|
23
|
+
ve(e, n, { get: t[n], enumerable: !0 });
|
24
|
+
}, z = /* @__PURE__ */ new WeakMap(), E = (e) => z.get(e), tt = (e, t) => z.set(t.$lazyInstance$ = e, t), pe = (e, t) => {
|
25
|
+
const n = {
|
26
|
+
$flags$: 0,
|
27
|
+
$hostElement$: e,
|
28
|
+
$cmpMeta$: t,
|
29
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
30
|
+
};
|
31
|
+
return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], z.set(e, n);
|
32
|
+
}, D = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), w = /* @__PURE__ */ new Map(), he = (e, t, n) => {
|
33
|
+
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
34
|
+
if (!r)
|
35
|
+
return;
|
36
|
+
const i = w.get(r);
|
37
|
+
if (i)
|
38
|
+
return i[s];
|
39
|
+
{
|
40
|
+
const l = ($) => (w.set(r, $), $[s]);
|
41
|
+
switch (r) {
|
42
|
+
case "ui-image_2":
|
43
|
+
return import(
|
44
|
+
/* webpackMode: "lazy" */
|
45
|
+
"./ui-image_2-qO3reSlr.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) => (w.set(r, l), l[s]), k);
|
56
|
+
}, A = /* @__PURE__ */ new Map(), ye = "{visibility:hidden}.hydrated{visibility:inherit}", Q = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window != "undefined" ? window : {}, m = j.document || { head: {} }, p = {
|
57
|
+
$flags$: 0,
|
58
|
+
$resourcesUrl$: "",
|
59
|
+
jmp: (e) => e(),
|
60
|
+
raf: (e) => requestAnimationFrame(e),
|
61
|
+
ael: (e, t, n, s) => e.addEventListener(t, n, s),
|
62
|
+
rel: (e, t, n, s) => e.removeEventListener(t, n, s),
|
63
|
+
ce: (e, t) => new CustomEvent(e, t)
|
64
|
+
}, me = (e) => Promise.resolve(e), Se = /* @__PURE__ */ (() => {
|
65
|
+
try {
|
66
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
67
|
+
} catch (e) {
|
68
|
+
}
|
69
|
+
return !1;
|
70
|
+
})(), I = !1, W = [], Z = [], Ee = (e, t) => (n) => {
|
71
|
+
e.push(n), I || (I = !0, p.$flags$ & 4 ? C(U) : p.raf(U));
|
72
|
+
}, M = (e) => {
|
73
|
+
for (let t = 0; t < e.length; t++)
|
74
|
+
try {
|
75
|
+
e[t](performance.now());
|
76
|
+
} catch (n) {
|
77
|
+
k(n);
|
78
|
+
}
|
79
|
+
e.length = 0;
|
80
|
+
}, U = () => {
|
81
|
+
M(W), M(Z), (I = W.length > 0) && p.raf(U);
|
82
|
+
}, C = (e) => me().then(e), ke = /* @__PURE__ */ Ee(Z), G = {}, q = (e) => (e = typeof e, e === "object" || e === "function");
|
83
|
+
function R(e) {
|
84
|
+
var t, n, s;
|
85
|
+
return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
|
86
|
+
}
|
87
|
+
var be = {};
|
88
|
+
ge(be, {
|
89
|
+
err: () => N,
|
90
|
+
map: () => xe,
|
91
|
+
ok: () => H,
|
92
|
+
unwrap: () => Pe,
|
93
|
+
unwrapErr: () => Te
|
94
|
+
});
|
95
|
+
var H = (e) => ({
|
96
|
+
isOk: !0,
|
97
|
+
isErr: !1,
|
98
|
+
value: e
|
99
|
+
}), N = (e) => ({
|
100
|
+
isOk: !1,
|
101
|
+
isErr: !0,
|
102
|
+
value: e
|
103
|
+
});
|
104
|
+
function xe(e, t) {
|
105
|
+
if (e.isOk) {
|
106
|
+
const n = t(e.value);
|
107
|
+
return n instanceof Promise ? n.then((s) => H(s)) : H(n);
|
108
|
+
}
|
109
|
+
if (e.isErr) {
|
110
|
+
const n = e.value;
|
111
|
+
return N(n);
|
112
|
+
}
|
113
|
+
throw "should never get here";
|
114
|
+
}
|
115
|
+
var Pe = (e) => {
|
116
|
+
if (e.isOk)
|
117
|
+
return e.value;
|
118
|
+
throw e.value;
|
119
|
+
}, Te = (e) => {
|
120
|
+
if (e.isErr)
|
121
|
+
return e.value;
|
122
|
+
throw e.value;
|
123
|
+
}, S = (e, t = "") => () => {
|
124
|
+
}, _e = (e, t) => () => {
|
125
|
+
}, Ae = (e, t, ...n) => {
|
126
|
+
let s = null, r = null, i = !1, l = !1;
|
127
|
+
const $ = [], a = (c) => {
|
128
|
+
for (let f = 0; f < c.length; f++)
|
129
|
+
s = c[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((i = typeof e != "function" && !q(s)) && (s = String(s)), i && l ? $[$.length - 1].$text$ += s : $.push(i ? B(null, s) : s), l = i);
|
130
|
+
};
|
131
|
+
if (a(n), 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 o = B(e, null);
|
139
|
+
return o.$attrs$ = t, $.length > 0 && (o.$children$ = $), o.$key$ = r, o;
|
140
|
+
}, B = (e, t) => {
|
141
|
+
const n = {
|
142
|
+
$flags$: 0,
|
143
|
+
$tag$: e,
|
144
|
+
$text$: t,
|
145
|
+
$elm$: null,
|
146
|
+
$children$: null
|
147
|
+
};
|
148
|
+
return n.$attrs$ = null, n.$key$ = null, n;
|
149
|
+
}, Le = {}, je = (e) => e && e.$tag$ === Le, Oe = (e, t) => e != null && !q(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, st = (e) => E(e).$hostElement$, we = (e, t, n) => {
|
150
|
+
const s = p.ce(t, n);
|
151
|
+
return e.dispatchEvent(s), s;
|
152
|
+
}, X = /* @__PURE__ */ new WeakMap(), Ie = (e, t, n) => {
|
153
|
+
let s = A.get(e);
|
154
|
+
Se && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
|
155
|
+
}, Ue = (e, t, n) => {
|
156
|
+
var s;
|
157
|
+
const r = V(t), i = A.get(r);
|
158
|
+
if (e = e.nodeType === 11 ? e : m, i)
|
159
|
+
if (typeof i == "string") {
|
160
|
+
e = e.head || e;
|
161
|
+
let l = X.get(e), $;
|
162
|
+
if (l || X.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
163
|
+
{
|
164
|
+
$ = m.createElement("style"), $.innerHTML = i;
|
165
|
+
const a = (s = p.$nonce$) != null ? s : R(m);
|
166
|
+
a != null && $.setAttribute("nonce", a), e.insertBefore($, e.querySelector("link"));
|
167
|
+
}
|
168
|
+
t.$flags$ & 4 && ($.innerHTML += Q), l && l.add(r);
|
169
|
+
}
|
170
|
+
} else
|
171
|
+
e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
|
172
|
+
return r;
|
173
|
+
}, He = (e) => {
|
174
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
175
|
+
Ue(
|
176
|
+
n.getRootNode(),
|
177
|
+
t
|
178
|
+
), s();
|
179
|
+
}, V = (e, t) => "sc-" + e.$tagName$, Y = (e, t, n, s, r, i) => {
|
180
|
+
if (n !== s) {
|
181
|
+
let l = D(e, t), $ = t.toLowerCase();
|
182
|
+
if (t === "class") {
|
183
|
+
const a = e.classList, o = J(n), c = J(s);
|
184
|
+
a.remove(...o.filter((f) => f && !c.includes(f))), a.add(...c.filter((f) => f && !o.includes(f)));
|
185
|
+
} else if (t === "style") {
|
186
|
+
for (const a in n)
|
187
|
+
(!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
|
188
|
+
for (const a in s)
|
189
|
+
(!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
|
190
|
+
} else if (t !== "key")
|
191
|
+
if (t === "ref")
|
192
|
+
s && s(e);
|
193
|
+
else if (!l && t[0] === "o" && t[1] === "n") {
|
194
|
+
if (t[2] === "-" ? t = t.slice(3) : D(j, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
|
195
|
+
const a = t.endsWith(ee);
|
196
|
+
t = t.replace(ze, ""), n && p.rel(e, t, n, a), s && p.ael(e, t, s, a);
|
197
|
+
}
|
198
|
+
} else {
|
199
|
+
const a = q(s);
|
200
|
+
if ((l || a && s !== null) && !r)
|
201
|
+
try {
|
202
|
+
if (e.tagName.includes("-"))
|
203
|
+
e[t] = s;
|
204
|
+
else {
|
205
|
+
const o = s == null ? "" : s;
|
206
|
+
t === "list" ? l = !1 : (n == null || e[t] != o) && (e[t] = o);
|
207
|
+
}
|
208
|
+
} catch (o) {
|
209
|
+
}
|
210
|
+
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}, Be = /\s/, J = (e) => e ? e.split(Be) : [], ee = "Capture", ze = new RegExp(ee + "$"), te = (e, t, n) => {
|
214
|
+
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || G, i = t.$attrs$ || G;
|
215
|
+
for (const l of K(Object.keys(r)))
|
216
|
+
l in i || Y(s, l, r[l], void 0, n, t.$flags$);
|
217
|
+
for (const l of K(Object.keys(i)))
|
218
|
+
Y(s, l, r[l], i[l], n, t.$flags$);
|
219
|
+
};
|
220
|
+
function K(e) {
|
221
|
+
return e.includes("ref") ? (
|
222
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
223
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
224
|
+
) : (
|
225
|
+
// no need to sort, return the original array
|
226
|
+
e
|
227
|
+
);
|
228
|
+
}
|
229
|
+
var se, ne = !1, L = (e, t, n, s) => {
|
230
|
+
const r = t.$children$[n];
|
231
|
+
let i = 0, l, $;
|
232
|
+
if (r.$text$ !== null)
|
233
|
+
l = r.$elm$ = m.createTextNode(r.$text$);
|
234
|
+
else if (l = r.$elm$ = m.createElement(
|
235
|
+
r.$tag$
|
236
|
+
), te(null, r, ne), r.$children$)
|
237
|
+
for (i = 0; i < r.$children$.length; ++i)
|
238
|
+
$ = L(e, r, i), $ && l.appendChild($);
|
239
|
+
return l["s-hn"] = se, l;
|
240
|
+
}, re = (e, t, n, s, r, i) => {
|
241
|
+
let l = e, $;
|
242
|
+
for (; r <= i; ++r)
|
243
|
+
s[r] && ($ = L(null, n, r), $ && (s[r].$elm$ = $, _(l, $, t)));
|
244
|
+
}, le = (e, t, n) => {
|
245
|
+
for (let s = t; s <= n; ++s) {
|
246
|
+
const r = e[s];
|
247
|
+
if (r) {
|
248
|
+
const i = r.$elm$;
|
249
|
+
ae(r), i && i.remove();
|
250
|
+
}
|
251
|
+
}
|
252
|
+
}, Ce = (e, t, n, s, r = !1) => {
|
253
|
+
let i = 0, l = 0, $ = 0, a = 0, o = t.length - 1, c = t[0], f = t[o], u = s.length - 1, d = s[0], v = s[u], g, h;
|
254
|
+
for (; i <= o && l <= u; )
|
255
|
+
if (c == null)
|
256
|
+
c = t[++i];
|
257
|
+
else if (f == null)
|
258
|
+
f = t[--o];
|
259
|
+
else if (d == null)
|
260
|
+
d = s[++l];
|
261
|
+
else if (v == null)
|
262
|
+
v = s[--u];
|
263
|
+
else if (T(c, d, r))
|
264
|
+
b(c, d, r), c = t[++i], d = s[++l];
|
265
|
+
else if (T(f, v, r))
|
266
|
+
b(f, v, r), f = t[--o], v = s[--u];
|
267
|
+
else if (T(c, v, r))
|
268
|
+
b(c, v, r), _(e, c.$elm$, f.$elm$.nextSibling), c = t[++i], v = s[--u];
|
269
|
+
else if (T(f, d, r))
|
270
|
+
b(f, d, r), _(e, f.$elm$, c.$elm$), f = t[--o], d = s[++l];
|
271
|
+
else {
|
272
|
+
for ($ = -1, a = i; a <= o; ++a)
|
273
|
+
if (t[a] && t[a].$key$ !== null && t[a].$key$ === d.$key$) {
|
274
|
+
$ = a;
|
275
|
+
break;
|
276
|
+
}
|
277
|
+
$ >= 0 ? (h = t[$], h.$tag$ !== d.$tag$ ? g = L(t && t[l], n, $) : (b(h, d, r), t[$] = void 0, g = h.$elm$), d = s[++l]) : (g = L(t && t[l], n, l), d = s[++l]), g && _(c.$elm$.parentNode, g, c.$elm$);
|
278
|
+
}
|
279
|
+
i > o ? re(
|
280
|
+
e,
|
281
|
+
s[u + 1] == null ? null : s[u + 1].$elm$,
|
282
|
+
n,
|
283
|
+
s,
|
284
|
+
l,
|
285
|
+
u
|
286
|
+
) : l > u && le(t, i, o);
|
287
|
+
}, T = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, b = (e, t, n = !1) => {
|
288
|
+
const s = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, l = t.$text$;
|
289
|
+
l === null ? (te(e, t, ne), r !== null && i !== null ? Ce(s, r, t, i, n) : i !== null ? (e.$text$ !== null && (s.textContent = ""), re(s, null, t, i, 0, i.length - 1)) : r !== null && le(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
|
290
|
+
}, ae = (e) => {
|
291
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ae);
|
292
|
+
}, _ = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), qe = (e, t, n = !1) => {
|
293
|
+
const s = e.$hostElement$, r = e.$vnode$ || B(null, null), i = je(t) ? t : Ae(null, null, t);
|
294
|
+
if (se = s.tagName, n && i.$attrs$)
|
295
|
+
for (const l of Object.keys(i.$attrs$))
|
296
|
+
s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = s[l]);
|
297
|
+
i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = r.$elm$ = s, b(r, i, n);
|
298
|
+
}, ie = (e, t) => {
|
299
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
300
|
+
}, F = (e, t) => {
|
301
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
302
|
+
e.$flags$ |= 512;
|
303
|
+
return;
|
304
|
+
}
|
305
|
+
return ie(e, e.$ancestorComponent$), ke(() => Fe(e, t));
|
306
|
+
}, Fe = (e, t) => {
|
307
|
+
const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
308
|
+
if (!r)
|
309
|
+
throw new Error(
|
310
|
+
`Can't render component <${n.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`
|
311
|
+
);
|
312
|
+
let i;
|
313
|
+
return s(), De(i, () => Me(e, r, t));
|
314
|
+
}, De = (e, t) => We(e) ? e.then(t).catch((n) => {
|
315
|
+
console.error(n), t();
|
316
|
+
}) : t(), We = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Me = (e, t, n) => P(void 0, null, function* () {
|
317
|
+
var s;
|
318
|
+
const r = e.$hostElement$, i = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
|
319
|
+
n && He(e);
|
320
|
+
const $ = S("render", e.$cmpMeta$.$tagName$);
|
321
|
+
Ge(e, t, r, n), l && (l.map((a) => a()), r["s-rc"] = void 0), $(), i();
|
322
|
+
{
|
323
|
+
const a = (s = r["s-p"]) != null ? s : [], o = () => Xe(e);
|
324
|
+
a.length === 0 ? o() : (Promise.all(a).then(o), e.$flags$ |= 4, a.length = 0);
|
325
|
+
}
|
326
|
+
}), Ge = (e, t, n, s) => {
|
327
|
+
try {
|
328
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, qe(e, t, s);
|
329
|
+
} catch (r) {
|
330
|
+
k(r, e.$hostElement$);
|
331
|
+
}
|
332
|
+
return null;
|
333
|
+
}, Xe = (e) => {
|
334
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
|
335
|
+
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, oe(n), Ye(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), i || $e()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && C(() => F(e, !1)), e.$flags$ &= -517;
|
336
|
+
}, $e = (e) => {
|
337
|
+
oe(m.documentElement), C(() => we(j, "appload", { detail: { namespace: ue } }));
|
338
|
+
}, Ye = (e, t, n) => {
|
339
|
+
if (e && e[t])
|
340
|
+
try {
|
341
|
+
return e[t](n);
|
342
|
+
} catch (s) {
|
343
|
+
k(s);
|
344
|
+
}
|
345
|
+
}, oe = (e) => {
|
346
|
+
var t;
|
347
|
+
return e.classList.add((t = de.hydratedSelectorName) != null ? t : "hydrated");
|
348
|
+
}, Je = (e, t) => E(e).$instanceValues$.get(t), Ke = (e, t, n, s) => {
|
349
|
+
const r = E(e);
|
350
|
+
if (!r)
|
351
|
+
throw new Error(
|
352
|
+
`Couldn't find host element for "${s.$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).`
|
353
|
+
);
|
354
|
+
const i = r.$hostElement$, l = r.$instanceValues$.get(t), $ = r.$flags$, a = r.$lazyInstance$;
|
355
|
+
n = Oe(n, s.$members$[t][0]);
|
356
|
+
const o = Number.isNaN(l) && Number.isNaN(n), c = n !== l && !o;
|
357
|
+
if ((!($ & 8) || l === void 0) && c && (r.$instanceValues$.set(t, n), a)) {
|
358
|
+
if (s.$watchers$ && $ & 128) {
|
359
|
+
const f = s.$watchers$[t];
|
360
|
+
f && f.map((u) => {
|
361
|
+
try {
|
362
|
+
a[u](n, l, t);
|
363
|
+
} catch (d) {
|
364
|
+
k(d, i);
|
365
|
+
}
|
366
|
+
});
|
367
|
+
}
|
368
|
+
($ & 18) === 2 && F(r, !1);
|
369
|
+
}
|
370
|
+
}, ce = (e, t, n) => {
|
371
|
+
var s, r;
|
372
|
+
const i = e.prototype;
|
373
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
374
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
375
|
+
const l = Object.entries((s = t.$members$) != null ? s : {});
|
376
|
+
if (l.map(([$, [a]]) => {
|
377
|
+
(a & 31 || n & 2 && a & 32) && Object.defineProperty(i, $, {
|
378
|
+
get() {
|
379
|
+
return Je(this, $);
|
380
|
+
},
|
381
|
+
set(o) {
|
382
|
+
Ke(this, $, o, t);
|
383
|
+
},
|
384
|
+
configurable: !0,
|
385
|
+
enumerable: !0
|
386
|
+
});
|
387
|
+
}), n & 1) {
|
388
|
+
const $ = /* @__PURE__ */ new Map();
|
389
|
+
i.attributeChangedCallback = function(a, o, c) {
|
390
|
+
p.jmp(() => {
|
391
|
+
var f;
|
392
|
+
const u = $.get(a);
|
393
|
+
if (this.hasOwnProperty(u))
|
394
|
+
c = this[u], delete this[u];
|
395
|
+
else {
|
396
|
+
if (i.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
|
397
|
+
return;
|
398
|
+
if (u == null) {
|
399
|
+
const d = E(this), v = d == null ? void 0 : d.$flags$;
|
400
|
+
if (v && !(v & 8) && v & 128 && c !== o) {
|
401
|
+
const g = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[a];
|
402
|
+
h == null || h.forEach((y) => {
|
403
|
+
g[y] != null && g[y].call(g, c, o, a);
|
404
|
+
});
|
405
|
+
}
|
406
|
+
return;
|
407
|
+
}
|
408
|
+
}
|
409
|
+
this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
|
410
|
+
});
|
411
|
+
}, e.observedAttributes = Array.from(
|
412
|
+
/* @__PURE__ */ new Set([
|
413
|
+
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
414
|
+
...l.filter(
|
415
|
+
([a, o]) => o[0] & 15
|
416
|
+
/* HasAttribute */
|
417
|
+
).map(([a, o]) => {
|
418
|
+
const c = o[1] || a;
|
419
|
+
return $.set(c, a), c;
|
420
|
+
})
|
421
|
+
])
|
422
|
+
);
|
423
|
+
}
|
424
|
+
}
|
425
|
+
return e;
|
426
|
+
}, Qe = (e, t, n, s) => P(void 0, null, function* () {
|
427
|
+
let r;
|
428
|
+
if (!(t.$flags$ & 32)) {
|
429
|
+
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
430
|
+
const a = he(n);
|
431
|
+
if (a && "then" in a) {
|
432
|
+
const c = _e();
|
433
|
+
r = yield a, c();
|
434
|
+
} else
|
435
|
+
r = a;
|
436
|
+
if (!r)
|
437
|
+
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
438
|
+
r.isProxied || (n.$watchers$ = r.watchers, ce(
|
439
|
+
r,
|
440
|
+
n,
|
441
|
+
2
|
442
|
+
/* proxyState */
|
443
|
+
), r.isProxied = !0);
|
444
|
+
const o = S("createInstance", n.$tagName$);
|
445
|
+
t.$flags$ |= 8;
|
446
|
+
try {
|
447
|
+
new r(t);
|
448
|
+
} catch (c) {
|
449
|
+
k(c);
|
450
|
+
}
|
451
|
+
t.$flags$ &= -9, t.$flags$ |= 128, o();
|
452
|
+
} else {
|
453
|
+
r = e.constructor;
|
454
|
+
const a = e.localName;
|
455
|
+
customElements.whenDefined(a).then(
|
456
|
+
() => t.$flags$ |= 128
|
457
|
+
/* isWatchReady */
|
458
|
+
);
|
459
|
+
}
|
460
|
+
if (r && r.style) {
|
461
|
+
let a;
|
462
|
+
typeof r.style == "string" && (a = r.style);
|
463
|
+
const o = V(n);
|
464
|
+
if (!A.has(o)) {
|
465
|
+
const c = S("registerStyles", n.$tagName$);
|
466
|
+
Ie(o, a, !!(n.$flags$ & 1)), c();
|
467
|
+
}
|
468
|
+
}
|
469
|
+
}
|
470
|
+
const i = t.$ancestorComponent$, l = () => F(t, !0);
|
471
|
+
i && i["s-rc"] ? i["s-rc"].push(l) : l();
|
472
|
+
}), Ze = (e) => {
|
473
|
+
}, Re = (e) => {
|
474
|
+
if (!(p.$flags$ & 1)) {
|
475
|
+
const t = E(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
|
476
|
+
if (t.$flags$ & 1)
|
477
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ze());
|
478
|
+
else {
|
479
|
+
t.$flags$ |= 1;
|
480
|
+
{
|
481
|
+
let r = e;
|
482
|
+
for (; r = r.parentNode || r.host; )
|
483
|
+
if (r["s-p"]) {
|
484
|
+
ie(t, t.$ancestorComponent$ = r);
|
485
|
+
break;
|
486
|
+
}
|
487
|
+
}
|
488
|
+
n.$members$ && Object.entries(n.$members$).map(([r, [i]]) => {
|
489
|
+
if (i & 31 && e.hasOwnProperty(r)) {
|
490
|
+
const l = e[r];
|
491
|
+
delete e[r], e[r] = l;
|
492
|
+
}
|
493
|
+
}), Qe(e, t, n);
|
494
|
+
}
|
495
|
+
s();
|
496
|
+
}
|
497
|
+
}, Ne = (e) => {
|
498
|
+
}, Ve = (e) => P(void 0, null, function* () {
|
499
|
+
if (!(p.$flags$ & 1)) {
|
500
|
+
const t = E(e);
|
501
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ne());
|
502
|
+
}
|
503
|
+
}), nt = (e, t = {}) => {
|
504
|
+
var n;
|
505
|
+
const s = S(), r = [], i = t.exclude || [], l = j.customElements, $ = m.head, a = /* @__PURE__ */ $.querySelector("meta[charset]"), o = /* @__PURE__ */ m.createElement("style"), c = [];
|
506
|
+
let f, u = !0;
|
507
|
+
Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
|
508
|
+
let d = !1;
|
509
|
+
if (e.map((v) => {
|
510
|
+
v[1].map((g) => {
|
511
|
+
var h;
|
512
|
+
const y = {
|
513
|
+
$flags$: g[0],
|
514
|
+
$tagName$: g[1],
|
515
|
+
$members$: g[2],
|
516
|
+
$listeners$: g[3]
|
517
|
+
};
|
518
|
+
y.$flags$ & 4 && (d = !0), y.$members$ = g[2], y.$watchers$ = (h = g[4]) != null ? h : {};
|
519
|
+
const x = y.$tagName$, fe = class extends HTMLElement {
|
520
|
+
// StencilLazyHost
|
521
|
+
constructor(O) {
|
522
|
+
super(O), this.hasRegisteredEventListeners = !1, O = this, pe(O, y);
|
523
|
+
}
|
524
|
+
connectedCallback() {
|
525
|
+
E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : p.jmp(() => Re(this));
|
526
|
+
}
|
527
|
+
disconnectedCallback() {
|
528
|
+
p.jmp(() => Ve(this));
|
529
|
+
}
|
530
|
+
componentOnReady() {
|
531
|
+
return E(this).$onReadyPromise$;
|
532
|
+
}
|
533
|
+
};
|
534
|
+
y.$lazyBundleId$ = v[0], !i.includes(x) && !l.get(x) && (r.push(x), l.define(
|
535
|
+
x,
|
536
|
+
ce(
|
537
|
+
fe,
|
538
|
+
y,
|
539
|
+
1
|
540
|
+
/* isElementConstructor */
|
541
|
+
)
|
542
|
+
));
|
543
|
+
});
|
544
|
+
}), r.length > 0 && (d && (o.textContent += Q), o.textContent += r.sort() + ye, o.innerHTML.length)) {
|
545
|
+
o.setAttribute("data-styles", "");
|
546
|
+
const v = (n = p.$nonce$) != null ? n : R(m);
|
547
|
+
v != null && o.setAttribute("nonce", v), $.insertBefore(o, a ? a.nextSibling : $.firstChild);
|
548
|
+
}
|
549
|
+
u = !1, c.length ? c.map((v) => v.connectedCallback()) : p.jmp(() => f = setTimeout($e, 30)), s();
|
550
|
+
};
|
551
|
+
export {
|
552
|
+
Le as H,
|
553
|
+
nt as b,
|
554
|
+
st as g,
|
555
|
+
Ae as h,
|
556
|
+
me as p,
|
557
|
+
tt as r
|
558
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var c=(t,r,i)=>new Promise((d,s)=>{var l=e=>{try{n(i.next(e))}catch(a){s(a)}},m=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(l,m);n((i=i.apply(t,r)).next())});const u=require("./index-97d17652-
|
1
|
+
"use strict";var c=(t,r,i)=>new Promise((d,s)=>{var l=e=>{try{n(i.next(e))}catch(a){s(a)}},m=e=>{try{n(i.throw(e))}catch(a){s(a)}},n=e=>e.done?d(e.value):Promise.resolve(e.value).then(l,m);n((i=i.apply(t,r)).next())});const u=require("./index-97d17652-BhLhk_xz.cjs"),g=require("./app-globals-0f993ce5-sCt45RkC.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/ui-image-BaHsVAxH.cjs",document.baseURI).href,r={};return t!==""&&(r.resourcesUrl=new URL(".",t).href),u.promiseResolve(r)};h().then(t=>c(exports,null,function*(){return yield g.globalScripts(),u.bootstrapLazy([["ui-image_2",[[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],t)}));
|
@@ -14,7 +14,7 @@ var n = (r, e, a) => new Promise((m, s) => {
|
|
14
14
|
}, i = (t) => t.done ? m(t.value) : Promise.resolve(t.value).then(g, u);
|
15
15
|
i((a = a.apply(r, e)).next());
|
16
16
|
});
|
17
|
-
import { b as c, p as l } from "./index-97d17652-
|
17
|
+
import { b as c, p as l } from "./index-97d17652-CCFHkzJw.js";
|
18
18
|
import { g as d } from "./app-globals-0f993ce5-D-kw1sls.js";
|
19
19
|
var h = () => {
|
20
20
|
const r = import.meta.url, e = {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r, h as s, H as n, g as a } from "./index-97d17652
|
1
|
+
import { r, h as s, H as n, g as a } from "./index-97d17652--F7PvMq9.js";
|
2
2
|
const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
|
3
3
|
constructor(e) {
|
4
4
|
r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r, h as s, H as n, g as a } from "./index-97d17652-
|
1
|
+
import { r, h as s, H as n, g as a } from "./index-97d17652-CCFHkzJw.js";
|
2
2
|
const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
|
3
3
|
constructor(e) {
|
4
4
|
r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";const i=require("./index-97d17652-
|
1
|
+
"use strict";const i=require("./index-97d17652-BhLhk_xz.cjs"),r=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}",d=r,n=class{constructor(e){i.registerInstance(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver(e=>{e.forEach(t=>{if(t.isIntersecting){const s=t.target.__uxComponent;s&&(s.shouldLoad=!0,s.handleSrc()),window.EMUxObserver.unobserve(t.target)}})},{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return i.h(i.Host,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&i.h("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),i.h("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:`UiContainer ${this.imgLoaded?"Visible":"Hidden"}`,alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return i.getElement(this)}static get watchers(){return{src:["handleSrc"]}}};n.style=d;exports.UiImage=n;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { U as m } from "./ui-image-b7b48fe5-
|
2
|
-
import { r, h as t, H as n } from "./index-97d17652
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-ByRuJtdE.js";
|
2
|
+
import { r, h as t, H as n } from "./index-97d17652--F7PvMq9.js";
|
3
3
|
const s = ":host{display:block}.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, 10px)}.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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
|
4
4
|
constructor(e) {
|
5
5
|
r(this, e), this.stylingValue = {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ui-image-b7b48fe5-DG83WzAo.cjs"),t=require("./index-97d17652-BhLhk_xz.cjs"),s=":host{display:block}.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, 10px)}.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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",a=s,n=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,i){i!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}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();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Logo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"Image "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Title "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,i)=>t.h("div",{key:i,class:"Text "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Rectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"Circle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
2
2
|
:host {
|
3
3
|
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
4
4
|
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { U as m } from "./ui-image-b7b48fe5-
|
2
|
-
import { r, h as t, H as n } from "./index-97d17652-
|
1
|
+
import { U as m } from "./ui-image-b7b48fe5-D6iig_uN.js";
|
2
|
+
import { r, h as t, H as n } from "./index-97d17652-CCFHkzJw.js";
|
3
3
|
const s = ":host{display:block}.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, 10px)}.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, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.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, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.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, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", a = s, l = class {
|
4
4
|
constructor(e) {
|
5
5
|
r(this, e), this.stylingValue = {
|