@everymatrix/casino-tournaments-controller 1.67.0 → 1.67.3
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/{CasinoTournamentsController-BULZ_y4b.js → CasinoTournamentsController-7AKjDr-2.js} +1051 -1086
- package/components/{CasinoTournamentsController-2bTwgvFF.js → CasinoTournamentsController-CVqp7a_8.js} +1073 -1108
- package/components/CasinoTournamentsController-Coh7cPDO.cjs +27 -0
- package/components/{CasinoTournamentsFilterController-DjLEXDTC.cjs → CasinoTournamentsFilterController-BsmnMKtv.cjs} +1 -1
- package/components/{CasinoTournamentsFilterController-DXDkdo0S.js → CasinoTournamentsFilterController-DgpPT6gm.js} +20 -20
- package/components/{CasinoTournamentsFilterController-CoqpuR3P.js → CasinoTournamentsFilterController-rPR6a4OA.js} +22 -22
- package/components/{CasinoTournamentsListController-DuHpRjLq.js → CasinoTournamentsListController-DMd3vYND.js} +21 -21
- package/components/{CasinoTournamentsListController-DT6zQNpY.js → CasinoTournamentsListController-oZgCph3g.js} +21 -21
- package/components/{CasinoTournamentsListController-DWgmnfOc.cjs → CasinoTournamentsListController-zT0eUIB7.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnail-lBi843NX.js → CasinoTournamentsThumbnail-BJ9-GP8X.js} +30 -30
- package/components/{CasinoTournamentsThumbnail-BWfbNcYT.cjs → CasinoTournamentsThumbnail-BfhLke2H.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-CueG5cos.js → CasinoTournamentsThumbnail-O3FpkA6K.js} +30 -30
- package/components/{CasinoTournamentsThumbnailController-eBnrMpwv.js → CasinoTournamentsThumbnailController-8tUPae_-.js} +73 -73
- package/components/{CasinoTournamentsThumbnailController-CE8cLaj5.cjs → CasinoTournamentsThumbnailController-BEMM0P7L.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-CBp3ylH6.js → CasinoTournamentsThumbnailController-zdo20CEm.js} +74 -74
- package/components/{CasinoTournamentsThumbnailDuration-DYI4yj5n.cjs → CasinoTournamentsThumbnailDuration-C9R9OaYe.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-B87YJ1nA.js → CasinoTournamentsThumbnailDuration-CMlv4ox4.js} +43 -43
- package/components/{CasinoTournamentsThumbnailDuration-CEChJpk4.js → CasinoTournamentsThumbnailDuration-QeZBsYjk.js} +49 -49
- package/components/{CasinoTournamentsThumbnailGamesSlider-LtmE1Ho2.js → CasinoTournamentsThumbnailGamesSlider-DC9AU0N8.js} +35 -35
- package/components/{CasinoTournamentsThumbnailGamesSlider-DODIM4Fk.js → CasinoTournamentsThumbnailGamesSlider-KexMuwyu.js} +52 -52
- package/components/{CasinoTournamentsThumbnailGamesSlider-DWAgOpLA.cjs → CasinoTournamentsThumbnailGamesSlider-O0SVU50O.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-DBsFGpAH.js → CasinoTournamentsThumbnailPrizes-B4Am-AyF.js} +15 -15
- package/components/{CasinoTournamentsThumbnailPrizes-CWqeOB0q.js → CasinoTournamentsThumbnailPrizes-DuHPFshm.js} +15 -15
- package/components/{CasinoTournamentsThumbnailPrizes-BpQPVoHy.cjs → CasinoTournamentsThumbnailPrizes-DwsTRQPD.cjs} +1 -1
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-BEnqZAxL.js → index-97d17652-ChRvzjAp.js} +186 -186
- package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-DKsTmN3Z.js} +175 -175
- package/stencil/index-97d17652-qWThG1U9.cjs +1 -0
- package/stencil/index-b2193545-C1ayEiG4.js +503 -0
- package/stencil/index-b2193545-CyidmLE0.cjs +1 -0
- package/stencil/index-b2193545-s3PsNboB.js +519 -0
- package/stencil/{ui-image-3hy4ZvUC.js → ui-image-ClXqMGwp.js} +1 -1
- package/stencil/{ui-image-DE8MJHCZ.cjs → ui-image-Db5QCSmt.cjs} +1 -1
- package/stencil/{ui-image-D0wxuPze.js → ui-image-YphrYZtA.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-B43lELFk.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-CRQDt62Z.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-DVcK_myk.js} +1 -1
- package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CyHaM9Na.cjs} +1 -1
- package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-Df0q0jE8.js} +2 -2
- package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-EP2dwjfi.js} +2 -2
- package/stencil/{ui-skeleton-1cb75d00-B-R8GbLJ.js → ui-skeleton-1cb75d00-U47XWOV2.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-Dy30RNE6.js → ui-skeleton-1cb75d00-bf7NJcVF.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-BTnhspbc.cjs → ui-skeleton-1cb75d00-nmwFu55Y.cjs} +1 -1
- package/stencil/{ui-skeleton-CVBjRUvi.js → ui-skeleton-DSlZCsjK.js} +2 -2
- package/stencil/{ui-skeleton-se83zfWh.cjs → ui-skeleton-DXCQ8Yoq.cjs} +1 -1
- package/stencil/{ui-skeleton-RkXNxPG1.js → ui-skeleton-P9Vv-0Vy.js} +2 -2
- package/components/CasinoTournamentsController-CYyTUNIz.cjs +0 -27
- package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
- package/stencil/index-b2193545-BOMvxBzV.js +0 -519
- package/stencil/index-b2193545-CFn9dM-v.js +0 -503
- package/stencil/index-b2193545-DPygl1Qn.cjs +0 -1
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
var x = (e, t, n) => new Promise((r, s) => {
|
|
2
|
+
var a = (i) => {
|
|
3
|
+
try {
|
|
4
|
+
o(n.next(i));
|
|
5
|
+
} catch (c) {
|
|
6
|
+
s(c);
|
|
7
|
+
}
|
|
8
|
+
}, l = (i) => {
|
|
9
|
+
try {
|
|
10
|
+
o(n.throw(i));
|
|
11
|
+
} catch (c) {
|
|
12
|
+
s(c);
|
|
13
|
+
}
|
|
14
|
+
}, o = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(a, l);
|
|
15
|
+
o((n = n.apply(e, t)).next());
|
|
16
|
+
});
|
|
17
|
+
const oe = "ui-skeleton", ce = (
|
|
18
|
+
/* ui-skeleton */
|
|
19
|
+
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !1, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !1, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !1, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !1, vdomPropOrAttr: !1, vdomRef: !1, vdomRender: !0, vdomStyle: !1, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
|
20
|
+
);
|
|
21
|
+
var $e = Object.defineProperty, fe = (e, t) => {
|
|
22
|
+
for (var n in t)
|
|
23
|
+
$e(e, n, { get: t[n], enumerable: !0 });
|
|
24
|
+
}, B = /* @__PURE__ */ new WeakMap(), b = (e) => B.get(e), Ke = (e, t) => B.set(t.$lazyInstance$ = e, t), ue = (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((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], B.set(e, n);
|
|
32
|
+
}, w = (e, t) => (0, console.error)(e, t), _ = /* @__PURE__ */ new Map(), de = (e, t, n) => {
|
|
33
|
+
const r = e.$tagName$.replace(/-/g, "_"), s = e.$lazyBundleId$;
|
|
34
|
+
if (!s)
|
|
35
|
+
return;
|
|
36
|
+
const a = _.get(s);
|
|
37
|
+
if (a)
|
|
38
|
+
return a[r];
|
|
39
|
+
{
|
|
40
|
+
const l = (o) => (_.set(s, o), o[r]);
|
|
41
|
+
switch (s) {
|
|
42
|
+
case "ui-skeleton":
|
|
43
|
+
return import(
|
|
44
|
+
/* webpackMode: "lazy" */
|
|
45
|
+
"./ui-skeleton-DSlZCsjK.js"
|
|
46
|
+
).then(l, w);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return import(
|
|
50
|
+
/* @vite-ignore */
|
|
51
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
52
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
53
|
+
/* webpackMode: "lazy" */
|
|
54
|
+
`./${s}.entry.js`
|
|
55
|
+
).then((l) => (_.set(s, l), l[r]), w);
|
|
56
|
+
}, P = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", G = "slot-fb{display:contents}slot-fb[hidden]{display:none}", D = typeof window != "undefined" ? window : {}, y = D.document || { head: {} }, h = {
|
|
57
|
+
$flags$: 0,
|
|
58
|
+
$resourcesUrl$: "",
|
|
59
|
+
jmp: (e) => e(),
|
|
60
|
+
raf: (e) => requestAnimationFrame(e),
|
|
61
|
+
ael: (e, t, n, r) => e.addEventListener(t, n, r),
|
|
62
|
+
rel: (e, t, n, r) => e.removeEventListener(t, n, r),
|
|
63
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
64
|
+
}, pe = (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
|
+
})(), j = !1, z = [], J = [], ve = (e, t) => (n) => {
|
|
71
|
+
e.push(n), j || (j = !0, h.$flags$ & 4 ? H(N) : h.raf(N));
|
|
72
|
+
}, F = (e) => {
|
|
73
|
+
for (let t = 0; t < e.length; t++)
|
|
74
|
+
try {
|
|
75
|
+
e[t](performance.now());
|
|
76
|
+
} catch (n) {
|
|
77
|
+
w(n);
|
|
78
|
+
}
|
|
79
|
+
e.length = 0;
|
|
80
|
+
}, N = () => {
|
|
81
|
+
F(z), F(J), (j = z.length > 0) && h.raf(N);
|
|
82
|
+
}, H = (e) => pe().then(e), ge = /* @__PURE__ */ ve(J), q = {}, K = (e) => (e = typeof e, e === "object" || e === "function");
|
|
83
|
+
function X(e) {
|
|
84
|
+
var t, n, r;
|
|
85
|
+
return (r = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? r : void 0;
|
|
86
|
+
}
|
|
87
|
+
var ye = {};
|
|
88
|
+
fe(ye, {
|
|
89
|
+
err: () => R,
|
|
90
|
+
map: () => Se,
|
|
91
|
+
ok: () => C,
|
|
92
|
+
unwrap: () => be,
|
|
93
|
+
unwrapErr: () => ke
|
|
94
|
+
});
|
|
95
|
+
var C = (e) => ({
|
|
96
|
+
isOk: !0,
|
|
97
|
+
isErr: !1,
|
|
98
|
+
value: e
|
|
99
|
+
}), R = (e) => ({
|
|
100
|
+
isOk: !1,
|
|
101
|
+
isErr: !0,
|
|
102
|
+
value: e
|
|
103
|
+
});
|
|
104
|
+
function Se(e, t) {
|
|
105
|
+
if (e.isOk) {
|
|
106
|
+
const n = t(e.value);
|
|
107
|
+
return n instanceof Promise ? n.then((r) => C(r)) : C(n);
|
|
108
|
+
}
|
|
109
|
+
if (e.isErr) {
|
|
110
|
+
const n = e.value;
|
|
111
|
+
return R(n);
|
|
112
|
+
}
|
|
113
|
+
throw "should never get here";
|
|
114
|
+
}
|
|
115
|
+
var be = (e) => {
|
|
116
|
+
if (e.isOk)
|
|
117
|
+
return e.value;
|
|
118
|
+
throw e.value;
|
|
119
|
+
}, ke = (e) => {
|
|
120
|
+
if (e.isErr)
|
|
121
|
+
return e.value;
|
|
122
|
+
throw e.value;
|
|
123
|
+
}, S = (e, t = "") => () => {
|
|
124
|
+
}, we = (e, t) => () => {
|
|
125
|
+
}, Ee = (e, t, ...n) => {
|
|
126
|
+
let r = null, s = null, a = !1, l = !1;
|
|
127
|
+
const o = [], i = ($) => {
|
|
128
|
+
for (let f = 0; f < $.length; f++)
|
|
129
|
+
r = $[f], Array.isArray(r) ? i(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !K(r)) && (r = String(r)), a && l ? o[o.length - 1].$text$ += r : o.push(a ? U(null, r) : r), l = a);
|
|
130
|
+
};
|
|
131
|
+
if (i(n), t) {
|
|
132
|
+
t.key && (s = t.key);
|
|
133
|
+
{
|
|
134
|
+
const $ = t.className || t.class;
|
|
135
|
+
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
const c = U(e, null);
|
|
139
|
+
return c.$attrs$ = t, o.length > 0 && (c.$children$ = o), c.$key$ = s, c;
|
|
140
|
+
}, U = (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
|
+
}, xe = {}, Te = (e) => e && e.$tag$ === xe, Le = (e, t) => e != null && !K(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Pe = (e, t, n) => {
|
|
150
|
+
const r = h.ce(t, n);
|
|
151
|
+
return e.dispatchEvent(r), r;
|
|
152
|
+
}, W = /* @__PURE__ */ new WeakMap(), Ae = (e, t, n) => {
|
|
153
|
+
let r = P.get(e);
|
|
154
|
+
he && n ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, P.set(e, r);
|
|
155
|
+
}, Oe = (e, t, n) => {
|
|
156
|
+
var r;
|
|
157
|
+
const s = Z(t), a = P.get(s);
|
|
158
|
+
if (e = e.nodeType === 11 ? e : y, a)
|
|
159
|
+
if (typeof a == "string") {
|
|
160
|
+
e = e.head || e;
|
|
161
|
+
let l = W.get(e), o;
|
|
162
|
+
if (l || W.set(e, l = /* @__PURE__ */ new Set()), !l.has(s)) {
|
|
163
|
+
{
|
|
164
|
+
o = y.createElement("style"), o.innerHTML = a;
|
|
165
|
+
const i = (r = h.$nonce$) != null ? r : X(y);
|
|
166
|
+
i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
|
|
167
|
+
}
|
|
168
|
+
t.$flags$ & 4 && (o.innerHTML += G), l && l.add(s);
|
|
169
|
+
}
|
|
170
|
+
} else
|
|
171
|
+
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
172
|
+
return s;
|
|
173
|
+
}, _e = (e) => {
|
|
174
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, r = S("attachStyles", t.$tagName$);
|
|
175
|
+
Oe(
|
|
176
|
+
n.getRootNode(),
|
|
177
|
+
t
|
|
178
|
+
), r();
|
|
179
|
+
}, Z = (e, t) => "sc-" + e.$tagName$, M = (e, t, n, r, s, a) => {
|
|
180
|
+
if (n !== r && (t.toLowerCase(), t === "class")) {
|
|
181
|
+
const l = e.classList, o = Q(n), i = Q(r);
|
|
182
|
+
l.remove(...o.filter((c) => c && !i.includes(c))), l.add(...i.filter((c) => c && !o.includes(c)));
|
|
183
|
+
}
|
|
184
|
+
}, je = /\s/, Q = (e) => e ? e.split(je) : [], V = (e, t, n) => {
|
|
185
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, s = e && e.$attrs$ || q, a = t.$attrs$ || q;
|
|
186
|
+
for (const l of Y(Object.keys(s)))
|
|
187
|
+
l in a || M(r, l, s[l], void 0);
|
|
188
|
+
for (const l of Y(Object.keys(a)))
|
|
189
|
+
M(r, l, s[l], a[l]);
|
|
190
|
+
};
|
|
191
|
+
function Y(e) {
|
|
192
|
+
return e.includes("ref") ? (
|
|
193
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
194
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
195
|
+
) : (
|
|
196
|
+
// no need to sort, return the original array
|
|
197
|
+
e
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
var ee, A = (e, t, n, r) => {
|
|
201
|
+
const s = t.$children$[n];
|
|
202
|
+
let a = 0, l, o;
|
|
203
|
+
if (s.$text$ !== null)
|
|
204
|
+
l = s.$elm$ = y.createTextNode(s.$text$);
|
|
205
|
+
else if (l = s.$elm$ = y.createElement(
|
|
206
|
+
s.$tag$
|
|
207
|
+
), V(null, s), s.$children$)
|
|
208
|
+
for (a = 0; a < s.$children$.length; ++a)
|
|
209
|
+
o = A(e, s, a), o && l.appendChild(o);
|
|
210
|
+
return l["s-hn"] = ee, l;
|
|
211
|
+
}, te = (e, t, n, r, s, a) => {
|
|
212
|
+
let l = e, o;
|
|
213
|
+
for (; s <= a; ++s)
|
|
214
|
+
r[s] && (o = A(null, n, s), o && (r[s].$elm$ = o, L(l, o, t)));
|
|
215
|
+
}, se = (e, t, n) => {
|
|
216
|
+
for (let r = t; r <= n; ++r) {
|
|
217
|
+
const s = e[r];
|
|
218
|
+
if (s) {
|
|
219
|
+
const a = s.$elm$;
|
|
220
|
+
a && a.remove();
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}, Ne = (e, t, n, r, s = !1) => {
|
|
224
|
+
let a = 0, l = 0, o = 0, i = 0, c = t.length - 1, $ = t[0], f = t[c], u = r.length - 1, d = r[0], m = r[u], p, v;
|
|
225
|
+
for (; a <= c && l <= u; )
|
|
226
|
+
if ($ == null)
|
|
227
|
+
$ = t[++a];
|
|
228
|
+
else if (f == null)
|
|
229
|
+
f = t[--c];
|
|
230
|
+
else if (d == null)
|
|
231
|
+
d = r[++l];
|
|
232
|
+
else if (m == null)
|
|
233
|
+
m = r[--u];
|
|
234
|
+
else if (T($, d, s))
|
|
235
|
+
k($, d, s), $ = t[++a], d = r[++l];
|
|
236
|
+
else if (T(f, m, s))
|
|
237
|
+
k(f, m, s), f = t[--c], m = r[--u];
|
|
238
|
+
else if (T($, m, s))
|
|
239
|
+
k($, m, s), L(e, $.$elm$, f.$elm$.nextSibling), $ = t[++a], m = r[--u];
|
|
240
|
+
else if (T(f, d, s))
|
|
241
|
+
k(f, d, s), L(e, f.$elm$, $.$elm$), f = t[--c], d = r[++l];
|
|
242
|
+
else {
|
|
243
|
+
for (o = -1, i = a; i <= c; ++i)
|
|
244
|
+
if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
|
|
245
|
+
o = i;
|
|
246
|
+
break;
|
|
247
|
+
}
|
|
248
|
+
o >= 0 ? (v = t[o], v.$tag$ !== d.$tag$ ? p = A(t && t[l], n, o) : (k(v, d, s), t[o] = void 0, p = v.$elm$), d = r[++l]) : (p = A(t && t[l], n, l), d = r[++l]), p && L($.$elm$.parentNode, p, $.$elm$);
|
|
249
|
+
}
|
|
250
|
+
a > c ? te(
|
|
251
|
+
e,
|
|
252
|
+
r[u + 1] == null ? null : r[u + 1].$elm$,
|
|
253
|
+
n,
|
|
254
|
+
r,
|
|
255
|
+
l,
|
|
256
|
+
u
|
|
257
|
+
) : l > u && se(t, a, c);
|
|
258
|
+
}, T = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, n = !1) => {
|
|
259
|
+
const r = t.$elm$ = e.$elm$, s = e.$children$, a = t.$children$, l = t.$text$;
|
|
260
|
+
l === null ? (V(e, t), s !== null && a !== null ? Ne(r, s, t, a, n) : a !== null ? (e.$text$ !== null && (r.textContent = ""), te(r, null, t, a, 0, a.length - 1)) : s !== null && se(s, 0, s.length - 1)) : e.$text$ !== l && (r.data = l);
|
|
261
|
+
}, L = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), Ce = (e, t, n = !1) => {
|
|
262
|
+
const r = e.$hostElement$, s = e.$vnode$ || U(null, null), a = Te(t) ? t : Ee(null, null, t);
|
|
263
|
+
if (ee = r.tagName, n && a.$attrs$)
|
|
264
|
+
for (const l of Object.keys(a.$attrs$))
|
|
265
|
+
r.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = r[l]);
|
|
266
|
+
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = s.$elm$ = r, k(s, a, n);
|
|
267
|
+
}, ne = (e, t) => {
|
|
268
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
|
269
|
+
}, I = (e, t) => {
|
|
270
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
271
|
+
e.$flags$ |= 512;
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
return ne(e, e.$ancestorComponent$), ge(() => Ue(e, t));
|
|
275
|
+
}, Ue = (e, t) => {
|
|
276
|
+
const n = e.$hostElement$, r = S("scheduleUpdate", e.$cmpMeta$.$tagName$), s = e.$lazyInstance$;
|
|
277
|
+
if (!s)
|
|
278
|
+
throw new Error(
|
|
279
|
+
`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`
|
|
280
|
+
);
|
|
281
|
+
let a;
|
|
282
|
+
return r(), Be(a, () => He(e, s, t));
|
|
283
|
+
}, Be = (e, t) => De(e) ? e.then(t).catch((n) => {
|
|
284
|
+
console.error(n), t();
|
|
285
|
+
}) : t(), De = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", He = (e, t, n) => x(void 0, null, function* () {
|
|
286
|
+
var r;
|
|
287
|
+
const s = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = s["s-rc"];
|
|
288
|
+
n && _e(e);
|
|
289
|
+
const o = S("render", e.$cmpMeta$.$tagName$);
|
|
290
|
+
Ie(e, t, s, n), l && (l.map((i) => i()), s["s-rc"] = void 0), o(), a();
|
|
291
|
+
{
|
|
292
|
+
const i = (r = s["s-p"]) != null ? r : [], c = () => ze(e);
|
|
293
|
+
i.length === 0 ? c() : (Promise.all(i).then(c), e.$flags$ |= 4, i.length = 0);
|
|
294
|
+
}
|
|
295
|
+
}), Ie = (e, t, n, r) => {
|
|
296
|
+
try {
|
|
297
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ce(e, t, r);
|
|
298
|
+
} catch (s) {
|
|
299
|
+
w(s, e.$hostElement$);
|
|
300
|
+
}
|
|
301
|
+
return null;
|
|
302
|
+
}, ze = (e) => {
|
|
303
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, r = S("postUpdate", t), s = e.$ancestorComponent$;
|
|
304
|
+
e.$flags$ & 64 ? r() : (e.$flags$ |= 64, le(n), r(), e.$onReadyResolve$(n), s || re()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && H(() => I(e, !1)), e.$flags$ &= -517;
|
|
305
|
+
}, re = (e) => {
|
|
306
|
+
le(y.documentElement), H(() => Pe(D, "appload", { detail: { namespace: oe } }));
|
|
307
|
+
}, le = (e) => {
|
|
308
|
+
var t;
|
|
309
|
+
return e.classList.add((t = ce.hydratedSelectorName) != null ? t : "hydrated");
|
|
310
|
+
}, Fe = (e, t) => b(e).$instanceValues$.get(t), qe = (e, t, n, r) => {
|
|
311
|
+
const s = b(e);
|
|
312
|
+
if (!s)
|
|
313
|
+
throw new Error(
|
|
314
|
+
`Couldn't find host element for "${r.$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).`
|
|
315
|
+
);
|
|
316
|
+
const a = s.$hostElement$, l = s.$instanceValues$.get(t), o = s.$flags$, i = s.$lazyInstance$;
|
|
317
|
+
n = Le(n, r.$members$[t][0]);
|
|
318
|
+
const c = Number.isNaN(l) && Number.isNaN(n), $ = n !== l && !c;
|
|
319
|
+
if ((!(o & 8) || l === void 0) && $ && (s.$instanceValues$.set(t, n), i)) {
|
|
320
|
+
if (r.$watchers$ && o & 128) {
|
|
321
|
+
const f = r.$watchers$[t];
|
|
322
|
+
f && f.map((u) => {
|
|
323
|
+
try {
|
|
324
|
+
i[u](n, l, t);
|
|
325
|
+
} catch (d) {
|
|
326
|
+
w(d, a);
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
(o & 18) === 2 && I(s, !1);
|
|
331
|
+
}
|
|
332
|
+
}, ae = (e, t, n) => {
|
|
333
|
+
var r, s;
|
|
334
|
+
const a = e.prototype;
|
|
335
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
336
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
337
|
+
const l = Object.entries((r = t.$members$) != null ? r : {});
|
|
338
|
+
if (l.map(([o, [i]]) => {
|
|
339
|
+
(i & 31 || n & 2 && i & 32) && Object.defineProperty(a, o, {
|
|
340
|
+
get() {
|
|
341
|
+
return Fe(this, o);
|
|
342
|
+
},
|
|
343
|
+
set(c) {
|
|
344
|
+
qe(this, o, c, t);
|
|
345
|
+
},
|
|
346
|
+
configurable: !0,
|
|
347
|
+
enumerable: !0
|
|
348
|
+
});
|
|
349
|
+
}), n & 1) {
|
|
350
|
+
const o = /* @__PURE__ */ new Map();
|
|
351
|
+
a.attributeChangedCallback = function(i, c, $) {
|
|
352
|
+
h.jmp(() => {
|
|
353
|
+
var f;
|
|
354
|
+
const u = o.get(i);
|
|
355
|
+
if (this.hasOwnProperty(u))
|
|
356
|
+
$ = this[u], delete this[u];
|
|
357
|
+
else {
|
|
358
|
+
if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == $)
|
|
359
|
+
return;
|
|
360
|
+
if (u == null) {
|
|
361
|
+
const d = b(this), m = d == null ? void 0 : d.$flags$;
|
|
362
|
+
if (m && !(m & 8) && m & 128 && $ !== c) {
|
|
363
|
+
const p = d.$lazyInstance$, v = (f = t.$watchers$) == null ? void 0 : f[i];
|
|
364
|
+
v == null || v.forEach((g) => {
|
|
365
|
+
p[g] != null && p[g].call(p, $, c, i);
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
return;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
this[u] = $ === null && typeof this[u] == "boolean" ? !1 : $;
|
|
372
|
+
});
|
|
373
|
+
}, e.observedAttributes = Array.from(
|
|
374
|
+
/* @__PURE__ */ new Set([
|
|
375
|
+
...Object.keys((s = t.$watchers$) != null ? s : {}),
|
|
376
|
+
...l.filter(
|
|
377
|
+
([i, c]) => c[0] & 15
|
|
378
|
+
/* HasAttribute */
|
|
379
|
+
).map(([i, c]) => {
|
|
380
|
+
const $ = c[1] || i;
|
|
381
|
+
return o.set($, i), $;
|
|
382
|
+
})
|
|
383
|
+
])
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
return e;
|
|
388
|
+
}, We = (e, t, n, r) => x(void 0, null, function* () {
|
|
389
|
+
let s;
|
|
390
|
+
if (!(t.$flags$ & 32)) {
|
|
391
|
+
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
|
392
|
+
const i = de(n);
|
|
393
|
+
if (i && "then" in i) {
|
|
394
|
+
const $ = we();
|
|
395
|
+
s = yield i, $();
|
|
396
|
+
} else
|
|
397
|
+
s = i;
|
|
398
|
+
if (!s)
|
|
399
|
+
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
400
|
+
s.isProxied || (n.$watchers$ = s.watchers, ae(
|
|
401
|
+
s,
|
|
402
|
+
n,
|
|
403
|
+
2
|
|
404
|
+
/* proxyState */
|
|
405
|
+
), s.isProxied = !0);
|
|
406
|
+
const c = S("createInstance", n.$tagName$);
|
|
407
|
+
t.$flags$ |= 8;
|
|
408
|
+
try {
|
|
409
|
+
new s(t);
|
|
410
|
+
} catch ($) {
|
|
411
|
+
w($);
|
|
412
|
+
}
|
|
413
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
414
|
+
} else {
|
|
415
|
+
s = e.constructor;
|
|
416
|
+
const i = e.localName;
|
|
417
|
+
customElements.whenDefined(i).then(
|
|
418
|
+
() => t.$flags$ |= 128
|
|
419
|
+
/* isWatchReady */
|
|
420
|
+
);
|
|
421
|
+
}
|
|
422
|
+
if (s && s.style) {
|
|
423
|
+
let i;
|
|
424
|
+
typeof s.style == "string" && (i = s.style);
|
|
425
|
+
const c = Z(n);
|
|
426
|
+
if (!P.has(c)) {
|
|
427
|
+
const $ = S("registerStyles", n.$tagName$);
|
|
428
|
+
Ae(c, i, !!(n.$flags$ & 1)), $();
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
const a = t.$ancestorComponent$, l = () => I(t, !0);
|
|
433
|
+
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
434
|
+
}), Me = (e) => {
|
|
435
|
+
}, Qe = (e) => {
|
|
436
|
+
if (!(h.$flags$ & 1)) {
|
|
437
|
+
const t = b(e), n = t.$cmpMeta$, r = S("connectedCallback", n.$tagName$);
|
|
438
|
+
if (t.$flags$ & 1)
|
|
439
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Me());
|
|
440
|
+
else {
|
|
441
|
+
t.$flags$ |= 1;
|
|
442
|
+
{
|
|
443
|
+
let s = e;
|
|
444
|
+
for (; s = s.parentNode || s.host; )
|
|
445
|
+
if (s["s-p"]) {
|
|
446
|
+
ne(t, t.$ancestorComponent$ = s);
|
|
447
|
+
break;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
n.$members$ && Object.entries(n.$members$).map(([s, [a]]) => {
|
|
451
|
+
if (a & 31 && e.hasOwnProperty(s)) {
|
|
452
|
+
const l = e[s];
|
|
453
|
+
delete e[s], e[s] = l;
|
|
454
|
+
}
|
|
455
|
+
}), We(e, t, n);
|
|
456
|
+
}
|
|
457
|
+
r();
|
|
458
|
+
}
|
|
459
|
+
}, Ye = (e) => {
|
|
460
|
+
}, Ge = (e) => x(void 0, null, function* () {
|
|
461
|
+
if (!(h.$flags$ & 1)) {
|
|
462
|
+
const t = b(e);
|
|
463
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ye());
|
|
464
|
+
}
|
|
465
|
+
}), Xe = (e, t = {}) => {
|
|
466
|
+
var n;
|
|
467
|
+
const r = S(), s = [], a = t.exclude || [], l = D.customElements, o = y.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), c = /* @__PURE__ */ y.createElement("style"), $ = [];
|
|
468
|
+
let f, u = !0;
|
|
469
|
+
Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
|
470
|
+
let d = !1;
|
|
471
|
+
if (e.map((m) => {
|
|
472
|
+
m[1].map((p) => {
|
|
473
|
+
var v;
|
|
474
|
+
const g = {
|
|
475
|
+
$flags$: p[0],
|
|
476
|
+
$tagName$: p[1],
|
|
477
|
+
$members$: p[2],
|
|
478
|
+
$listeners$: p[3]
|
|
479
|
+
};
|
|
480
|
+
g.$flags$ & 4 && (d = !0), g.$members$ = p[2], g.$watchers$ = (v = p[4]) != null ? v : {};
|
|
481
|
+
const E = g.$tagName$, ie = class extends HTMLElement {
|
|
482
|
+
// StencilLazyHost
|
|
483
|
+
constructor(O) {
|
|
484
|
+
super(O), this.hasRegisteredEventListeners = !1, O = this, ue(O, g);
|
|
485
|
+
}
|
|
486
|
+
connectedCallback() {
|
|
487
|
+
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? $.push(this) : h.jmp(() => Qe(this));
|
|
488
|
+
}
|
|
489
|
+
disconnectedCallback() {
|
|
490
|
+
h.jmp(() => Ge(this));
|
|
491
|
+
}
|
|
492
|
+
componentOnReady() {
|
|
493
|
+
return b(this).$onReadyPromise$;
|
|
494
|
+
}
|
|
495
|
+
};
|
|
496
|
+
g.$lazyBundleId$ = m[0], !a.includes(E) && !l.get(E) && (s.push(E), l.define(
|
|
497
|
+
E,
|
|
498
|
+
ae(
|
|
499
|
+
ie,
|
|
500
|
+
g,
|
|
501
|
+
1
|
|
502
|
+
/* isElementConstructor */
|
|
503
|
+
)
|
|
504
|
+
));
|
|
505
|
+
});
|
|
506
|
+
}), s.length > 0 && (d && (c.textContent += G), c.textContent += s.sort() + me, c.innerHTML.length)) {
|
|
507
|
+
c.setAttribute("data-styles", "");
|
|
508
|
+
const m = (n = h.$nonce$) != null ? n : X(y);
|
|
509
|
+
m != null && c.setAttribute("nonce", m), o.insertBefore(c, i ? i.nextSibling : o.firstChild);
|
|
510
|
+
}
|
|
511
|
+
u = !1, $.length ? $.map((m) => m.connectedCallback()) : h.jmp(() => f = setTimeout(re, 30)), r();
|
|
512
|
+
};
|
|
513
|
+
export {
|
|
514
|
+
xe as H,
|
|
515
|
+
Xe as b,
|
|
516
|
+
Ee as h,
|
|
517
|
+
pe as p,
|
|
518
|
+
Ke as r
|
|
519
|
+
};
|
|
@@ -14,7 +14,7 @@ var n = (t, o, e) => new Promise((m, s) => {
|
|
|
14
14
|
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(c, l);
|
|
15
15
|
a((e = e.apply(t, o)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as g, p as u } from "./index-97d17652-
|
|
17
|
+
import { b as g, p as u } from "./index-97d17652-ChRvzjAp.js";
|
|
18
18
|
import { g as d } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
|
19
19
|
var h = () => {
|
|
20
20
|
const t = import.meta.url, o = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var s=(r,t,i)=>new Promise((l,c)=>{var d=e=>{try{o(i.next(e))}catch(n){c(n)}},m=e=>{try{o(i.throw(e))}catch(n){c(n)}},o=e=>e.done?l(e.value):Promise.resolve(e.value).then(d,m);o((i=i.apply(r,t)).next())});const u=require("./index-97d17652-
|
|
1
|
+
"use strict";var s=(r,t,i)=>new Promise((l,c)=>{var d=e=>{try{o(i.next(e))}catch(n){c(n)}},m=e=>{try{o(i.throw(e))}catch(n){c(n)}},o=e=>e.done?l(e.value):Promise.resolve(e.value).then(d,m);o((i=i.apply(r,t)).next())});const u=require("./index-97d17652-qWThG1U9.cjs"),g=require("./app-globals-0f993ce5-DgOnOgxM.cjs");var a=typeof document!="undefined"?document.currentScript:null,h=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-image-Db5QCSmt.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};h().then(r=>s(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:[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"]}]]]],r)}));
|
|
@@ -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-DKsTmN3Z.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-qWThG1U9.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,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-ChRvzjAp.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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./ui-image-b7b48fe5-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./ui-image-b7b48fe5-CRQDt62Z.cjs"),t=require("./index-97d17652-qWThG1U9.cjs"),n=":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.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,o=class{constructor(e){t.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,r){r!==e&&this.handleStructure(e)}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,r)=>t.h("div",{key:r,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.width};
|
|
4
4
|
--emw-skeleton-logo-height: ${this.height};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as h } from "./ui-image-b7b48fe5-
|
|
2
|
-
import { r as o, h as t, H as i } from "./index-97d17652-
|
|
1
|
+
import { U as h } from "./ui-image-b7b48fe5-DVcK_myk.js";
|
|
2
|
+
import { r as o, h as t, H as i } from "./index-97d17652-ChRvzjAp.js";
|
|
3
3
|
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.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, a = class {
|
|
4
4
|
constructor(e) {
|
|
5
5
|
o(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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as h } from "./ui-image-b7b48fe5-
|
|
2
|
-
import { r as o, h as t, H as i } from "./index-97d17652-
|
|
1
|
+
import { U as h } from "./ui-image-b7b48fe5-B43lELFk.js";
|
|
2
|
+
import { r as o, h as t, H as i } from "./index-97d17652-DKsTmN3Z.js";
|
|
3
3
|
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.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, a = class {
|
|
4
4
|
constructor(e) {
|
|
5
5
|
o(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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, h as t, H as i } from "./index-b2193545-
|
|
1
|
+
import { r as o, h as t, H as i } from "./index-b2193545-s3PsNboB.js";
|
|
2
2
|
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.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, a = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
o(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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as o, h as t, H as i } from "./index-b2193545-
|
|
1
|
+
import { r as o, h as t, H as i } from "./index-b2193545-C1ayEiG4.js";
|
|
2
2
|
const n = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--emw-skeleton-circle-background:#c2c2c2;--emw-skeleton-text-background:#c2c2c2;--emw-skeleton-title-background:#c2c2c2;--emw-skeleton-image-background:#c2c2c2;--emw-skeleton-logo-background:#c2c2c2;--emw-skeleton-primary-color:#e0e0e0;--emw-skeleton-secondary-color:#f0f0f0}.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, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, inherit)}.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, a = class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
o(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;
|