@everymatrix/casino-header-controller 1.62.0 → 1.62.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/{CasinoHamburgerMenu-DG16kRnn.js → CasinoHamburgerMenu-B9IAH_YY.js} +955 -935
- package/components/CasinoHamburgerMenu-C8cGdz4v.cjs +21 -0
- package/components/{CasinoHamburgerMenu-Brszz5aE.js → CasinoHamburgerMenu-DRGz0x_i.js} +996 -976
- package/components/{CasinoHeaderController-Bi_PsLNo.js → CasinoHeaderController-B-BPTjQx.js} +805 -805
- package/components/{CasinoHeaderController-D-uj7JRv.js → CasinoHeaderController-CPWk1rYN.js} +834 -834
- package/components/CasinoHeaderController-CRKRbnS1.cjs +13 -0
- package/components/{CasinoSlider-BGcfG7tc.js → CasinoSlider-BYM8xAjw.js} +160 -161
- package/components/CasinoSlider-EyNMAsDA.cjs +1 -0
- package/components/{CasinoSlider-CbwSfQ5U.js → CasinoSlider-gdJBiwPv.js} +229 -230
- package/components/PlayerAccountBalanceModal-Btw6JVum.cjs +13 -0
- package/components/PlayerAccountBalanceModal-C6gNwaoU.js +1539 -0
- package/components/PlayerAccountBalanceModal-CtjDziPg.js +1510 -0
- package/components/{PlayerDeposit-DT3FMmq_.js → PlayerDeposit-B1mR9g-U.js} +65 -65
- package/components/PlayerDeposit-t-UG_1zf.cjs +1 -0
- package/components/{PlayerDeposit-LOugiTzl.js → PlayerDeposit-zkOb7jg5.js} +65 -65
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-1ef3a64c-BKQuom7L.js +556 -0
- package/stencil/index-1ef3a64c-CA6VYINb.cjs +1 -0
- package/stencil/index-1ef3a64c-CMTTH4QO.js +572 -0
- package/stencil/{user-deposit-withdrawal-BgHQVwjl.js → user-deposit-withdrawal-CIdBBp4F.js} +2 -2
- package/stencil/{user-deposit-withdrawal-CiSGImrn.js → user-deposit-withdrawal-XUfhzxqt.js} +2 -2
- package/stencil/user-deposit-withdrawal-jRWOVoij.cjs +59 -0
- package/components/CasinoHamburgerMenu-CenXHDyi.cjs +0 -21
- package/components/CasinoHeaderController-Bz4z7_4A.cjs +0 -13
- package/components/CasinoSlider-AbmiO3mA.cjs +0 -1
- package/components/PlayerAccountBalanceModal-CRsCp5RM.js +0 -1510
- package/components/PlayerAccountBalanceModal-CxtwbrSo.cjs +0 -13
- package/components/PlayerAccountBalanceModal-LJoITUi6.js +0 -1539
- package/components/PlayerDeposit-kURepYtp.cjs +0 -1
- package/stencil/app-globals-0f993ce5-B6nNHmA4.js +0 -7
- package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
- package/stencil/index-1ef3a64c-BaxDlNn6.cjs +0 -1
- package/stencil/index-1ef3a64c-D9Ku4GpR.js +0 -572
- package/stencil/index-1ef3a64c-ROy2EAIH.js +0 -556
- package/stencil/index-b7bbd57e-BoAFccAK.js +0 -550
- package/stencil/index-b7bbd57e-BuEw0j7w.js +0 -534
- package/stencil/index-b7bbd57e-ClcNZKHr.cjs +0 -1
- package/stencil/ui-image-38c3c15f-6EDRvUAC.cjs +0 -1
- package/stencil/ui-image-38c3c15f-BkLbeFkW.js +0 -39
- package/stencil/ui-image-38c3c15f-Xqn6sg2a.js +0 -39
- package/stencil/ui-image-CE5QS3zc.js +0 -29
- package/stencil/ui-image-CjqRfQLV.js +0 -11
- package/stencil/ui-image-kleliRLi.cjs +0 -1
- package/stencil/user-deposit-withdrawal-BFFp7sgO.cjs +0 -59
@@ -1,534 +0,0 @@
|
|
1
|
-
const fe = "ui-image", U = (
|
2
|
-
/* ui-image */
|
3
|
-
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, 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: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !1, propMutable: !1, propNumber: !1, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !1, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !1, vdomXlink: !1, watchCallback: !0 }
|
4
|
-
);
|
5
|
-
var de = Object.defineProperty, ue = (e, t) => {
|
6
|
-
for (var r in t)
|
7
|
-
de(e, r, { get: t[r], enumerable: !0 });
|
8
|
-
}, I = /* @__PURE__ */ new WeakMap(), b = (e) => I.get(e), Ve = (e, t) => I.set(t.$lazyInstance$ = e, t), pe = (e, t) => {
|
9
|
-
const r = {
|
10
|
-
$flags$: 0,
|
11
|
-
$hostElement$: e,
|
12
|
-
$cmpMeta$: t,
|
13
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
14
|
-
};
|
15
|
-
return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], I.set(e, r);
|
16
|
-
}, ve = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), O = /* @__PURE__ */ new Map(), me = (e, t, r) => {
|
17
|
-
const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
|
18
|
-
if (!n)
|
19
|
-
return;
|
20
|
-
const l = O.get(n);
|
21
|
-
if (l)
|
22
|
-
return l[s];
|
23
|
-
{
|
24
|
-
const a = (i) => (O.set(n, i), i[s]);
|
25
|
-
switch (n) {
|
26
|
-
case "ui-image":
|
27
|
-
return import(
|
28
|
-
/* webpackMode: "lazy" */
|
29
|
-
"./ui-image-CjqRfQLV.js"
|
30
|
-
).then(a, k);
|
31
|
-
}
|
32
|
-
}
|
33
|
-
return import(
|
34
|
-
/* @vite-ignore */
|
35
|
-
/* webpackInclude: /\.entry\.js$/ */
|
36
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
37
|
-
/* webpackMode: "lazy" */
|
38
|
-
`./${n}.entry.js`
|
39
|
-
).then((a) => (O.set(n, a), a[s]), k);
|
40
|
-
}, P = /* @__PURE__ */ new Map(), he = "{visibility:hidden}.hydrated{visibility:inherit}", J = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window < "u" ? window : {}, y = B.document || { head: {} }, m = {
|
41
|
-
$flags$: 0,
|
42
|
-
$resourcesUrl$: "",
|
43
|
-
jmp: (e) => e(),
|
44
|
-
raf: (e) => requestAnimationFrame(e),
|
45
|
-
ael: (e, t, r, s) => e.addEventListener(t, r, s),
|
46
|
-
rel: (e, t, r, s) => e.removeEventListener(t, r, s),
|
47
|
-
ce: (e, t) => new CustomEvent(e, t)
|
48
|
-
}, ge = U.shadowDom, ye = (e) => Promise.resolve(e), Se = /* @__PURE__ */ (() => {
|
49
|
-
try {
|
50
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
51
|
-
} catch {
|
52
|
-
}
|
53
|
-
return !1;
|
54
|
-
})(), _ = !1, q = [], K = [], be = (e, t) => (r) => {
|
55
|
-
e.push(r), _ || (_ = !0, m.$flags$ & 4 ? z(j) : m.raf(j));
|
56
|
-
}, N = (e) => {
|
57
|
-
for (let t = 0; t < e.length; t++)
|
58
|
-
try {
|
59
|
-
e[t](performance.now());
|
60
|
-
} catch (r) {
|
61
|
-
k(r);
|
62
|
-
}
|
63
|
-
e.length = 0;
|
64
|
-
}, j = () => {
|
65
|
-
N(q), N(K), (_ = q.length > 0) && m.raf(j);
|
66
|
-
}, z = (e) => ye().then(e), ke = /* @__PURE__ */ be(K), W = {}, H = (e) => (e = typeof e, e === "object" || e === "function");
|
67
|
-
function R(e) {
|
68
|
-
var t, r, s;
|
69
|
-
return (s = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? s : void 0;
|
70
|
-
}
|
71
|
-
var Ee = {};
|
72
|
-
ue(Ee, {
|
73
|
-
err: () => X,
|
74
|
-
map: () => Te,
|
75
|
-
ok: () => C,
|
76
|
-
unwrap: () => xe,
|
77
|
-
unwrapErr: () => Le
|
78
|
-
});
|
79
|
-
var C = (e) => ({
|
80
|
-
isOk: !0,
|
81
|
-
isErr: !1,
|
82
|
-
value: e
|
83
|
-
}), X = (e) => ({
|
84
|
-
isOk: !1,
|
85
|
-
isErr: !0,
|
86
|
-
value: e
|
87
|
-
});
|
88
|
-
function Te(e, t) {
|
89
|
-
if (e.isOk) {
|
90
|
-
const r = t(e.value);
|
91
|
-
return r instanceof Promise ? r.then((s) => C(s)) : C(r);
|
92
|
-
}
|
93
|
-
if (e.isErr) {
|
94
|
-
const r = e.value;
|
95
|
-
return X(r);
|
96
|
-
}
|
97
|
-
throw "should never get here";
|
98
|
-
}
|
99
|
-
var xe = (e) => {
|
100
|
-
if (e.isOk)
|
101
|
-
return e.value;
|
102
|
-
throw e.value;
|
103
|
-
}, Le = (e) => {
|
104
|
-
if (e.isErr)
|
105
|
-
return e.value;
|
106
|
-
throw e.value;
|
107
|
-
}, S = (e, t = "") => () => {
|
108
|
-
}, Pe = (e, t) => () => {
|
109
|
-
}, we = (e, t, ...r) => {
|
110
|
-
let s = null, n = null, l = !1, a = !1;
|
111
|
-
const i = [], o = (c) => {
|
112
|
-
for (let f = 0; f < c.length; f++)
|
113
|
-
s = c[f], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((l = typeof e != "function" && !H(s)) && (s = String(s)), l && a ? i[i.length - 1].$text$ += s : i.push(l ? D(null, s) : s), a = l);
|
114
|
-
};
|
115
|
-
if (o(r), t) {
|
116
|
-
t.key && (n = t.key);
|
117
|
-
{
|
118
|
-
const c = t.className || t.class;
|
119
|
-
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
|
120
|
-
}
|
121
|
-
}
|
122
|
-
const $ = D(e, null);
|
123
|
-
return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = n, $;
|
124
|
-
}, D = (e, t) => {
|
125
|
-
const r = {
|
126
|
-
$flags$: 0,
|
127
|
-
$tag$: e,
|
128
|
-
$text$: t,
|
129
|
-
$elm$: null,
|
130
|
-
$children$: null
|
131
|
-
};
|
132
|
-
return r.$attrs$ = null, r.$key$ = null, r;
|
133
|
-
}, Ae = {}, Oe = (e) => e && e.$tag$ === Ae, _e = (e, t) => e != null && !H(e) && t & 1 ? String(e) : e, et = (e) => b(e).$hostElement$, je = (e, t, r) => {
|
134
|
-
const s = m.ce(t, r);
|
135
|
-
return e.dispatchEvent(s), s;
|
136
|
-
}, M = /* @__PURE__ */ new WeakMap(), Ce = (e, t, r) => {
|
137
|
-
let s = P.get(e);
|
138
|
-
Se && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, P.set(e, s);
|
139
|
-
}, De = (e, t, r) => {
|
140
|
-
var s;
|
141
|
-
const n = Z(t), l = P.get(n);
|
142
|
-
if (e = e.nodeType === 11 ? e : y, l)
|
143
|
-
if (typeof l == "string") {
|
144
|
-
e = e.head || e;
|
145
|
-
let a = M.get(e), i;
|
146
|
-
if (a || M.set(e, a = /* @__PURE__ */ new Set()), !a.has(n)) {
|
147
|
-
{
|
148
|
-
i = y.createElement("style"), i.innerHTML = l;
|
149
|
-
const o = (s = m.$nonce$) != null ? s : R(y);
|
150
|
-
o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
|
151
|
-
}
|
152
|
-
t.$flags$ & 4 && (i.innerHTML += J), a && a.add(n);
|
153
|
-
}
|
154
|
-
} else
|
155
|
-
e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
|
156
|
-
return n;
|
157
|
-
}, Ue = (e) => {
|
158
|
-
const t = e.$cmpMeta$, r = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
159
|
-
De(
|
160
|
-
r.getRootNode(),
|
161
|
-
t
|
162
|
-
), s();
|
163
|
-
}, Z = (e, t) => "sc-" + e.$tagName$, Q = (e, t, r, s, n, l) => {
|
164
|
-
if (r !== s) {
|
165
|
-
let a = ve(e, t);
|
166
|
-
if (t.toLowerCase(), t === "class") {
|
167
|
-
const i = e.classList, o = Y(r), $ = Y(s);
|
168
|
-
i.remove(...o.filter((c) => c && !$.includes(c))), i.add(...$.filter((c) => c && !o.includes(c)));
|
169
|
-
} else if (t === "style") {
|
170
|
-
for (const i in r)
|
171
|
-
(!s || s[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
|
172
|
-
for (const i in s)
|
173
|
-
(!r || s[i] !== r[i]) && (i.includes("-") ? e.style.setProperty(i, s[i]) : e.style[i] = s[i]);
|
174
|
-
} else if (t !== "key")
|
175
|
-
if (t === "ref")
|
176
|
-
s && s(e);
|
177
|
-
else {
|
178
|
-
const i = H(s);
|
179
|
-
if ((a || i && s !== null) && !n)
|
180
|
-
try {
|
181
|
-
if (e.tagName.includes("-"))
|
182
|
-
e[t] = s;
|
183
|
-
else {
|
184
|
-
const o = s ?? "";
|
185
|
-
t === "list" ? a = !1 : (r == null || e[t] != o) && (e[t] = o);
|
186
|
-
}
|
187
|
-
} catch {
|
188
|
-
}
|
189
|
-
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!a || l & 4 || n) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
190
|
-
}
|
191
|
-
}
|
192
|
-
}, Ie = /\s/, Y = (e) => e ? e.split(Ie) : [], V = (e, t, r) => {
|
193
|
-
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || W, l = t.$attrs$ || W;
|
194
|
-
for (const a of G(Object.keys(n)))
|
195
|
-
a in l || Q(s, a, n[a], void 0, r, t.$flags$);
|
196
|
-
for (const a of G(Object.keys(l)))
|
197
|
-
Q(s, a, n[a], l[a], r, t.$flags$);
|
198
|
-
};
|
199
|
-
function G(e) {
|
200
|
-
return e.includes("ref") ? (
|
201
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
202
|
-
[...e.filter((t) => t !== "ref"), "ref"]
|
203
|
-
) : (
|
204
|
-
// no need to sort, return the original array
|
205
|
-
e
|
206
|
-
);
|
207
|
-
}
|
208
|
-
var ee, te = !1, se = !1, w = (e, t, r, s) => {
|
209
|
-
const n = t.$children$[r];
|
210
|
-
let l = 0, a, i;
|
211
|
-
if (a = n.$elm$ = y.createElement(
|
212
|
-
!te && U.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
|
213
|
-
), V(null, n, se), n.$children$)
|
214
|
-
for (l = 0; l < n.$children$.length; ++l)
|
215
|
-
i = w(e, n, l), i && a.appendChild(i);
|
216
|
-
return a["s-hn"] = ee, a;
|
217
|
-
}, re = (e, t, r, s, n, l) => {
|
218
|
-
let a = e, i;
|
219
|
-
for (; n <= l; ++n)
|
220
|
-
s[n] && (i = w(null, r, n), i && (s[n].$elm$ = i, L(a, i, t)));
|
221
|
-
}, ne = (e, t, r) => {
|
222
|
-
for (let s = t; s <= r; ++s) {
|
223
|
-
const n = e[s];
|
224
|
-
if (n) {
|
225
|
-
const l = n.$elm$;
|
226
|
-
le(n), l && l.remove();
|
227
|
-
}
|
228
|
-
}
|
229
|
-
}, Be = (e, t, r, s, n = !1) => {
|
230
|
-
let l = 0, a = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], d = s.length - 1, u = s[0], p = s[d], v, h;
|
231
|
-
for (; l <= $ && a <= d; )
|
232
|
-
if (c == null)
|
233
|
-
c = t[++l];
|
234
|
-
else if (f == null)
|
235
|
-
f = t[--$];
|
236
|
-
else if (u == null)
|
237
|
-
u = s[++a];
|
238
|
-
else if (p == null)
|
239
|
-
p = s[--d];
|
240
|
-
else if (x(c, u, n))
|
241
|
-
E(c, u, n), c = t[++l], u = s[++a];
|
242
|
-
else if (x(f, p, n))
|
243
|
-
E(f, p, n), f = t[--$], p = s[--d];
|
244
|
-
else if (x(c, p, n))
|
245
|
-
E(c, p, n), L(e, c.$elm$, f.$elm$.nextSibling), c = t[++l], p = s[--d];
|
246
|
-
else if (x(f, u, n))
|
247
|
-
E(f, u, n), L(e, f.$elm$, c.$elm$), f = t[--$], u = s[++a];
|
248
|
-
else {
|
249
|
-
for (i = -1, o = l; o <= $; ++o)
|
250
|
-
if (t[o] && t[o].$key$ !== null && t[o].$key$ === u.$key$) {
|
251
|
-
i = o;
|
252
|
-
break;
|
253
|
-
}
|
254
|
-
i >= 0 ? (h = t[i], h.$tag$ !== u.$tag$ ? v = w(t && t[a], r, i) : (E(h, u, n), t[i] = void 0, v = h.$elm$), u = s[++a]) : (v = w(t && t[a], r, a), u = s[++a]), v && L(c.$elm$.parentNode, v, c.$elm$);
|
255
|
-
}
|
256
|
-
l > $ ? re(
|
257
|
-
e,
|
258
|
-
s[d + 1] == null ? null : s[d + 1].$elm$,
|
259
|
-
r,
|
260
|
-
s,
|
261
|
-
a,
|
262
|
-
d
|
263
|
-
) : a > d && ne(t, l, $);
|
264
|
-
}, x = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, E = (e, t, r = !1) => {
|
265
|
-
const s = t.$elm$ = e.$elm$, n = e.$children$, l = t.$children$;
|
266
|
-
V(e, t, se), n !== null && l !== null ? Be(s, n, t, l, r) : l !== null ? re(s, null, t, l, 0, l.length - 1) : n !== null && ne(n, 0, n.length - 1);
|
267
|
-
}, le = (e) => {
|
268
|
-
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(le);
|
269
|
-
}, L = (e, t, r) => e?.insertBefore(t, r), ze = (e, t, r = !1) => {
|
270
|
-
const s = e.$hostElement$, n = e.$vnode$ || D(null, null), l = Oe(t) ? t : we(null, null, t);
|
271
|
-
if (ee = s.tagName, r && l.$attrs$)
|
272
|
-
for (const a of Object.keys(l.$attrs$))
|
273
|
-
s.hasAttribute(a) && !["key", "ref", "style", "class"].includes(a) && (l.$attrs$[a] = s[a]);
|
274
|
-
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = n.$elm$ = s, te = ge, E(n, l, r);
|
275
|
-
}, ae = (e, t) => {
|
276
|
-
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
|
277
|
-
}, F = (e, t) => {
|
278
|
-
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
279
|
-
e.$flags$ |= 512;
|
280
|
-
return;
|
281
|
-
}
|
282
|
-
return ae(e, e.$ancestorComponent$), ke(() => He(e, t));
|
283
|
-
}, He = (e, t) => {
|
284
|
-
const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
|
285
|
-
if (!n)
|
286
|
-
throw new Error(
|
287
|
-
`Can't render component <${r.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`
|
288
|
-
);
|
289
|
-
let l;
|
290
|
-
return s(), Fe(l, () => Ne(e, n, t));
|
291
|
-
}, Fe = (e, t) => qe(e) ? e.then(t).catch((r) => {
|
292
|
-
console.error(r), t();
|
293
|
-
}) : t(), qe = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ne = async (e, t, r) => {
|
294
|
-
var s;
|
295
|
-
const n = e.$hostElement$, l = S("update", e.$cmpMeta$.$tagName$), a = n["s-rc"];
|
296
|
-
r && Ue(e);
|
297
|
-
const i = S("render", e.$cmpMeta$.$tagName$);
|
298
|
-
We(e, t, n, r), a && (a.map((o) => o()), n["s-rc"] = void 0), i(), l();
|
299
|
-
{
|
300
|
-
const o = (s = n["s-p"]) != null ? s : [], $ = () => Me(e);
|
301
|
-
o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
|
302
|
-
}
|
303
|
-
}, We = (e, t, r, s) => {
|
304
|
-
try {
|
305
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, ze(e, t, s);
|
306
|
-
} catch (n) {
|
307
|
-
k(n, e.$hostElement$);
|
308
|
-
}
|
309
|
-
return null;
|
310
|
-
}, Me = (e) => {
|
311
|
-
const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, l = e.$ancestorComponent$;
|
312
|
-
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, oe(r), Qe(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), l || ie()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => F(e, !1)), e.$flags$ &= -517;
|
313
|
-
}, ie = (e) => {
|
314
|
-
oe(y.documentElement), z(() => je(B, "appload", { detail: { namespace: fe } }));
|
315
|
-
}, Qe = (e, t, r) => {
|
316
|
-
if (e && e[t])
|
317
|
-
try {
|
318
|
-
return e[t](r);
|
319
|
-
} catch (s) {
|
320
|
-
k(s);
|
321
|
-
}
|
322
|
-
}, oe = (e) => {
|
323
|
-
var t;
|
324
|
-
return e.classList.add((t = U.hydratedSelectorName) != null ? t : "hydrated");
|
325
|
-
}, Ye = (e, t) => b(e).$instanceValues$.get(t), Ge = (e, t, r, s) => {
|
326
|
-
const n = b(e);
|
327
|
-
if (!n)
|
328
|
-
throw new Error(
|
329
|
-
`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).`
|
330
|
-
);
|
331
|
-
const l = n.$hostElement$, a = n.$instanceValues$.get(t), i = n.$flags$, o = n.$lazyInstance$;
|
332
|
-
r = _e(r, s.$members$[t][0]);
|
333
|
-
const $ = Number.isNaN(a) && Number.isNaN(r), c = r !== a && !$;
|
334
|
-
if ((!(i & 8) || a === void 0) && c && (n.$instanceValues$.set(t, r), o)) {
|
335
|
-
if (s.$watchers$ && i & 128) {
|
336
|
-
const f = s.$watchers$[t];
|
337
|
-
f && f.map((d) => {
|
338
|
-
try {
|
339
|
-
o[d](r, a, t);
|
340
|
-
} catch (u) {
|
341
|
-
k(u, l);
|
342
|
-
}
|
343
|
-
});
|
344
|
-
}
|
345
|
-
(i & 18) === 2 && F(n, !1);
|
346
|
-
}
|
347
|
-
}, ce = (e, t, r) => {
|
348
|
-
var s, n;
|
349
|
-
const l = e.prototype;
|
350
|
-
if (t.$members$ || t.$watchers$ || e.watchers) {
|
351
|
-
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
352
|
-
const a = Object.entries((s = t.$members$) != null ? s : {});
|
353
|
-
if (a.map(([i, [o]]) => {
|
354
|
-
(o & 31 || r & 2 && o & 32) && Object.defineProperty(l, i, {
|
355
|
-
get() {
|
356
|
-
return Ye(this, i);
|
357
|
-
},
|
358
|
-
set($) {
|
359
|
-
Ge(this, i, $, t);
|
360
|
-
},
|
361
|
-
configurable: !0,
|
362
|
-
enumerable: !0
|
363
|
-
});
|
364
|
-
}), r & 1) {
|
365
|
-
const i = /* @__PURE__ */ new Map();
|
366
|
-
l.attributeChangedCallback = function(o, $, c) {
|
367
|
-
m.jmp(() => {
|
368
|
-
var f;
|
369
|
-
const d = i.get(o);
|
370
|
-
if (this.hasOwnProperty(d))
|
371
|
-
c = this[d], delete this[d];
|
372
|
-
else {
|
373
|
-
if (l.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == c)
|
374
|
-
return;
|
375
|
-
if (d == null) {
|
376
|
-
const u = b(this), p = u?.$flags$;
|
377
|
-
if (p && !(p & 8) && p & 128 && c !== $) {
|
378
|
-
const v = u.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
|
379
|
-
h?.forEach((g) => {
|
380
|
-
v[g] != null && v[g].call(v, c, $, o);
|
381
|
-
});
|
382
|
-
}
|
383
|
-
return;
|
384
|
-
}
|
385
|
-
}
|
386
|
-
this[d] = c === null && typeof this[d] == "boolean" ? !1 : c;
|
387
|
-
});
|
388
|
-
}, e.observedAttributes = Array.from(
|
389
|
-
/* @__PURE__ */ new Set([
|
390
|
-
...Object.keys((n = t.$watchers$) != null ? n : {}),
|
391
|
-
...a.filter(
|
392
|
-
([o, $]) => $[0] & 15
|
393
|
-
/* HasAttribute */
|
394
|
-
).map(([o, $]) => {
|
395
|
-
const c = $[1] || o;
|
396
|
-
return i.set(c, o), c;
|
397
|
-
})
|
398
|
-
])
|
399
|
-
);
|
400
|
-
}
|
401
|
-
}
|
402
|
-
return e;
|
403
|
-
}, Je = async (e, t, r, s) => {
|
404
|
-
let n;
|
405
|
-
if (!(t.$flags$ & 32)) {
|
406
|
-
if (t.$flags$ |= 32, r.$lazyBundleId$) {
|
407
|
-
const o = me(r);
|
408
|
-
if (o && "then" in o) {
|
409
|
-
const c = Pe();
|
410
|
-
n = await o, c();
|
411
|
-
} else
|
412
|
-
n = o;
|
413
|
-
if (!n)
|
414
|
-
throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
|
415
|
-
n.isProxied || (r.$watchers$ = n.watchers, ce(
|
416
|
-
n,
|
417
|
-
r,
|
418
|
-
2
|
419
|
-
/* proxyState */
|
420
|
-
), n.isProxied = !0);
|
421
|
-
const $ = S("createInstance", r.$tagName$);
|
422
|
-
t.$flags$ |= 8;
|
423
|
-
try {
|
424
|
-
new n(t);
|
425
|
-
} catch (c) {
|
426
|
-
k(c);
|
427
|
-
}
|
428
|
-
t.$flags$ &= -9, t.$flags$ |= 128, $();
|
429
|
-
} else {
|
430
|
-
n = e.constructor;
|
431
|
-
const o = e.localName;
|
432
|
-
customElements.whenDefined(o).then(
|
433
|
-
() => t.$flags$ |= 128
|
434
|
-
/* isWatchReady */
|
435
|
-
);
|
436
|
-
}
|
437
|
-
if (n && n.style) {
|
438
|
-
let o;
|
439
|
-
typeof n.style == "string" && (o = n.style);
|
440
|
-
const $ = Z(r);
|
441
|
-
if (!P.has($)) {
|
442
|
-
const c = S("registerStyles", r.$tagName$);
|
443
|
-
Ce($, o, !!(r.$flags$ & 1)), c();
|
444
|
-
}
|
445
|
-
}
|
446
|
-
}
|
447
|
-
const l = t.$ancestorComponent$, a = () => F(t, !0);
|
448
|
-
l && l["s-rc"] ? l["s-rc"].push(a) : a();
|
449
|
-
}, Ke = (e) => {
|
450
|
-
}, Re = (e) => {
|
451
|
-
if (!(m.$flags$ & 1)) {
|
452
|
-
const t = b(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
|
453
|
-
if (t.$flags$ & 1)
|
454
|
-
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ke());
|
455
|
-
else {
|
456
|
-
t.$flags$ |= 1;
|
457
|
-
{
|
458
|
-
let n = e;
|
459
|
-
for (; n = n.parentNode || n.host; )
|
460
|
-
if (n["s-p"]) {
|
461
|
-
ae(t, t.$ancestorComponent$ = n);
|
462
|
-
break;
|
463
|
-
}
|
464
|
-
}
|
465
|
-
r.$members$ && Object.entries(r.$members$).map(([n, [l]]) => {
|
466
|
-
if (l & 31 && e.hasOwnProperty(n)) {
|
467
|
-
const a = e[n];
|
468
|
-
delete e[n], e[n] = a;
|
469
|
-
}
|
470
|
-
}), Je(e, t, r);
|
471
|
-
}
|
472
|
-
s();
|
473
|
-
}
|
474
|
-
}, Xe = (e) => {
|
475
|
-
}, Ze = async (e) => {
|
476
|
-
if (!(m.$flags$ & 1)) {
|
477
|
-
const t = b(e);
|
478
|
-
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Xe());
|
479
|
-
}
|
480
|
-
}, tt = (e, t = {}) => {
|
481
|
-
var r;
|
482
|
-
const s = S(), n = [], l = t.exclude || [], a = B.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
|
483
|
-
let f, d = !0;
|
484
|
-
Object.assign(m, t), m.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
485
|
-
let u = !1;
|
486
|
-
if (e.map((p) => {
|
487
|
-
p[1].map((v) => {
|
488
|
-
var h;
|
489
|
-
const g = {
|
490
|
-
$flags$: v[0],
|
491
|
-
$tagName$: v[1],
|
492
|
-
$members$: v[2],
|
493
|
-
$listeners$: v[3]
|
494
|
-
};
|
495
|
-
g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$watchers$ = (h = v[4]) != null ? h : {};
|
496
|
-
const T = g.$tagName$, $e = class extends HTMLElement {
|
497
|
-
// StencilLazyHost
|
498
|
-
constructor(A) {
|
499
|
-
super(A), this.hasRegisteredEventListeners = !1, A = this, pe(A, g);
|
500
|
-
}
|
501
|
-
connectedCallback() {
|
502
|
-
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? c.push(this) : m.jmp(() => Re(this));
|
503
|
-
}
|
504
|
-
disconnectedCallback() {
|
505
|
-
m.jmp(() => Ze(this));
|
506
|
-
}
|
507
|
-
componentOnReady() {
|
508
|
-
return b(this).$onReadyPromise$;
|
509
|
-
}
|
510
|
-
};
|
511
|
-
g.$lazyBundleId$ = p[0], !l.includes(T) && !a.get(T) && (n.push(T), a.define(
|
512
|
-
T,
|
513
|
-
ce(
|
514
|
-
$e,
|
515
|
-
g,
|
516
|
-
1
|
517
|
-
/* isElementConstructor */
|
518
|
-
)
|
519
|
-
));
|
520
|
-
});
|
521
|
-
}), n.length > 0 && (u && ($.textContent += J), $.textContent += n.sort() + he, $.innerHTML.length)) {
|
522
|
-
$.setAttribute("data-styles", "");
|
523
|
-
const p = (r = m.$nonce$) != null ? r : R(y);
|
524
|
-
p != null && $.setAttribute("nonce", p), i.insertBefore($, o ? o.nextSibling : i.firstChild);
|
525
|
-
}
|
526
|
-
d = !1, c.length ? c.map((p) => p.connectedCallback()) : m.jmp(() => f = setTimeout(ie, 30)), s();
|
527
|
-
};
|
528
|
-
export {
|
529
|
-
tt as b,
|
530
|
-
et as g,
|
531
|
-
we as h,
|
532
|
-
ye as p,
|
533
|
-
Ve as r
|
534
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var L=(e,t,r)=>new Promise((s,n)=>{var l=o=>{try{a(r.next(o))}catch($){n($)}},i=o=>{try{a(r.throw(o))}catch($){n($)}},a=o=>o.done?s(o.value):Promise.resolve(o.value).then(l,i);a((r=r.apply(e,t)).next())});const pe="ui-image",U={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,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:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!1,propMutable:!1,propNumber:!1,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!1,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!1,vdomXlink:!1,watchCallback:!0};var ve=Object.defineProperty,me=(e,t)=>{for(var r in t)ve(e,r,{get:t[r],enumerable:!0})},z=new WeakMap,b=e=>z.get(e),he=(e,t)=>z.set(t.$lazyInstance$=e,t),ge=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],z.set(e,r)},ye=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),_=new Map,Se=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const l=_.get(n);if(l)return l[s];{const i=a=>(_.set(n,a),a[s]);switch(n){case"ui-image":return Promise.resolve().then(()=>require("./ui-image-kleliRLi.cjs")).then(i,k)}}return import(`./${n}.entry.js`).then(i=>(_.set(n,i),i[s]),k)},x=new Map,be="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",B=typeof window!="undefined"?window:{},y=B.document||{head:{}},m={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},ke=U.shadowDom,K=e=>Promise.resolve(e),Ee=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),j=!1,N=[],X=[],Te=(e,t)=>r=>{e.push(r),j||(j=!0,m.$flags$&4?H(C):m.raf(C))},W=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){k(r)}e.length=0},C=()=>{W(N),W(X),(j=N.length>0)&&m.raf(C)},H=e=>K().then(e),Le=Te(X),M={},F=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Pe={};me(Pe,{err:()=>V,map:()=>we,ok:()=>D,unwrap:()=>xe,unwrapErr:()=>Ae});var D=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function we(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>D(s)):D(r)}if(e.isErr){const r=e.value;return V(r)}throw"should never get here"}var xe=e=>{if(e.isOk)return e.value;throw e.value},Ae=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Oe=(e,t)=>()=>{},ee=(e,t,...r)=>{let s=null,n=null,l=!1,i=!1;const a=[],o=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((l=typeof e!="function"&&!F(s))&&(s=String(s)),l&&i?a[a.length-1].$text$+=s:a.push(l?I(null,s):s),i=l)};if(o(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=I(e,null);return $.$attrs$=t,a.length>0&&($.$children$=a),$.$key$=n,$},I=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},_e={},je=e=>e&&e.$tag$===_e,Ce=(e,t)=>e!=null&&!F(e)&&t&1?String(e):e,De=e=>b(e).$hostElement$,Ie=(e,t,r)=>{const s=m.ce(t,r);return e.dispatchEvent(s),s},Q=new WeakMap,Ue=(e,t,r)=>{let s=x.get(e);Ee&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,x.set(e,s)},ze=(e,t,r)=>{var s;const n=te(t),l=x.get(n);if(e=e.nodeType===11?e:y,l)if(typeof l=="string"){e=e.head||e;let i=Q.get(e),a;if(i||Q.set(e,i=new Set),!i.has(n)){{a=y.createElement("style"),a.innerHTML=l;const o=(s=m.$nonce$)!=null?s:Z(y);o!=null&&a.setAttribute("nonce",o),e.insertBefore(a,e.querySelector("link"))}t.$flags$&4&&(a.innerHTML+=J),i&&i.add(n)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},Be=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=S("attachStyles",t.$tagName$);ze(r.getRootNode(),t),s()},te=(e,t)=>"sc-"+e.$tagName$,R=(e,t,r,s,n,l)=>{if(r!==s){let i=ye(e,t);if(t.toLowerCase(),t==="class"){const a=e.classList,o=Y(r),$=Y(s);a.remove(...o.filter(c=>c&&!$.includes(c))),a.add(...$.filter(c=>c&&!o.includes(c)))}else if(t==="style"){for(const a in r)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!r||s[a]!==r[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else{const a=F(s);if((i||a&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const o=s==null?"":s;t==="list"?i=!1:(r==null||e[t]!=o)&&(e[t]=o)}}catch(o){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!i||l&4||n)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},He=/\s/,Y=e=>e?e.split(He):[],se=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||M,l=t.$attrs$||M;for(const i of G(Object.keys(n)))i in l||R(s,i,n[i],void 0,r,t.$flags$);for(const i of G(Object.keys(l)))R(s,i,n[i],l[i],r,t.$flags$)};function G(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var re,ne=!1,le=!1,A=(e,t,r,s)=>{const n=t.$children$[r];let l=0,i,a;if(i=n.$elm$=y.createElement(!ne&&U.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),se(null,n,le),n.$children$)for(l=0;l<n.$children$.length;++l)a=A(e,n,l),a&&i.appendChild(a);return i["s-hn"]=re,i},ae=(e,t,r,s,n,l)=>{let i=e,a;for(;n<=l;++n)s[n]&&(a=A(null,r,n),a&&(s[n].$elm$=a,w(i,a,t)))},ie=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const l=n.$elm$;oe(n),l&&l.remove()}}},Fe=(e,t,r,s,n=!1)=>{let l=0,i=0,a=0,o=0,$=t.length-1,c=t[0],f=t[$],d=s.length-1,u=s[0],p=s[d],v,h;for(;l<=$&&i<=d;)if(c==null)c=t[++l];else if(f==null)f=t[--$];else if(u==null)u=s[++i];else if(p==null)p=s[--d];else if(P(c,u,n))E(c,u,n),c=t[++l],u=s[++i];else if(P(f,p,n))E(f,p,n),f=t[--$],p=s[--d];else if(P(c,p,n))E(c,p,n),w(e,c.$elm$,f.$elm$.nextSibling),c=t[++l],p=s[--d];else if(P(f,u,n))E(f,u,n),w(e,f.$elm$,c.$elm$),f=t[--$],u=s[++i];else{for(a=-1,o=l;o<=$;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){a=o;break}a>=0?(h=t[a],h.$tag$!==u.$tag$?v=A(t&&t[i],r,a):(E(h,u,n),t[a]=void 0,v=h.$elm$),u=s[++i]):(v=A(t&&t[i],r,i),u=s[++i]),v&&w(c.$elm$.parentNode,v,c.$elm$)}l>$?ae(e,s[d+1]==null?null:s[d+1].$elm$,r,s,i,d):i>d&&ie(t,l,$)},P=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,E=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,l=t.$children$;se(e,t,le),n!==null&&l!==null?Fe(s,n,t,l,r):l!==null?ae(s,null,t,l,0,l.length-1):n!==null&&ie(n,0,n.length-1)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},w=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),qe=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$vnode$||I(null,null),l=je(t)?t:ee(null,null,t);if(re=s.tagName,r&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=n.$elm$=s,ne=ke,E(n,l,r)},ce=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ce(e,e.$ancestorComponent$),Le(()=>Ne(e,t))},Ne=(e,t)=>{const r=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.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 l;return s(),We(l,()=>Qe(e,n,t))},We=(e,t)=>Me(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Me=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=(e,t,r)=>L(exports,null,function*(){var s;const n=e.$hostElement$,l=S("update",e.$cmpMeta$.$tagName$),i=n["s-rc"];r&&Be(e);const a=S("render",e.$cmpMeta$.$tagName$);Re(e,t,n,r),i&&(i.map(o=>o()),n["s-rc"]=void 0),a(),l();{const o=(s=n["s-p"])!=null?s:[],$=()=>Ye(e);o.length===0?$():(Promise.all(o).then($),e.$flags$|=4,o.length=0)}}),Re=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,qe(e,t,s)}catch(n){k(n,e.$hostElement$)}return null},Ye=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=S("postUpdate",t),n=e.$lazyInstance$,l=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,fe(r),Ge(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),l||$e()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&H(()=>q(e,!1)),e.$flags$&=-517},$e=e=>{fe(y.documentElement),H(()=>Ie(B,"appload",{detail:{namespace:pe}}))},Ge=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){k(s)}},fe=e=>{var t;return e.classList.add((t=U.hydratedSelectorName)!=null?t:"hydrated")},Je=(e,t)=>b(e).$instanceValues$.get(t),Ke=(e,t,r,s)=>{const n=b(e);if(!n)throw new Error(`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).`);const l=n.$hostElement$,i=n.$instanceValues$.get(t),a=n.$flags$,o=n.$lazyInstance$;r=Ce(r,s.$members$[t][0]);const $=Number.isNaN(i)&&Number.isNaN(r),c=r!==i&&!$;if((!(a&8)||i===void 0)&&c&&(n.$instanceValues$.set(t,r),o)){if(s.$watchers$&&a&128){const f=s.$watchers$[t];f&&f.map(d=>{try{o[d](r,i,t)}catch(u){k(u,l)}})}(a&18)===2&&q(n,!1)}},de=(e,t,r)=>{var s,n;const l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const i=Object.entries((s=t.$members$)!=null?s:{});if(i.map(([a,[o]])=>{(o&31||r&2&&o&32)&&Object.defineProperty(l,a,{get(){return Je(this,a)},set($){Ke(this,a,$,t)},configurable:!0,enumerable:!0})}),r&1){const a=new Map;l.attributeChangedCallback=function(o,$,c){m.jmp(()=>{var f;const d=a.get(o);if(this.hasOwnProperty(d))c=this[d],delete this[d];else{if(l.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const u=b(this),p=u==null?void 0:u.$flags$;if(p&&!(p&8)&&p&128&&c!==$){const v=u.$lazyInstance$,h=(f=t.$watchers$)==null?void 0:f[o];h==null||h.forEach(g=>{v[g]!=null&&v[g].call(v,c,$,o)})}return}}this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...i.filter(([o,$])=>$[0]&15).map(([o,$])=>{const c=$[1]||o;return a.set(c,o),c})]))}}return e},Xe=(e,t,r,s)=>L(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const o=Se(r);if(o&&"then"in o){const c=Oe();n=yield o,c()}else n=o;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,de(n,r,2),n.isProxied=!0);const $=S("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){k(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(n&&n.style){let o;typeof n.style=="string"&&(o=n.style);const $=te(r);if(!x.has($)){const c=S("registerStyles",r.$tagName$);Ue($,o,!!(r.$flags$&1)),c()}}}const l=t.$ancestorComponent$,i=()=>q(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()}),Ze=e=>{},Ve=e=>{if(!(m.$flags$&1)){const t=b(e),r=t.$cmpMeta$,s=S("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ze());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ce(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[l]])=>{if(l&31&&e.hasOwnProperty(n)){const i=e[n];delete e[n],e[n]=i}}),Xe(e,t,r)}s()}},et=e=>{},tt=e=>L(exports,null,function*(){if(!(m.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var r;const s=S(),n=[],l=t.exclude||[],i=B.customElements,a=y.head,o=a.querySelector("meta[charset]"),$=y.createElement("style"),c=[];let f,d=!0;Object.assign(m,t),m.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(v=>{var h;const g={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};g.$flags$&4&&(u=!0),g.$members$=v[2],g.$watchers$=(h=v[4])!=null?h:{};const T=g.$tagName$,ue=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,ge(O,g)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?c.push(this):m.jmp(()=>Ve(this))}disconnectedCallback(){m.jmp(()=>tt(this))}componentOnReady(){return b(this).$onReadyPromise$}};g.$lazyBundleId$=p[0],!l.includes(T)&&!i.get(T)&&(n.push(T),i.define(T,de(ue,g,1)))})}),n.length>0&&(u&&($.textContent+=J),$.textContent+=n.sort()+be,$.innerHTML.length)){$.setAttribute("data-styles","");const p=(r=m.$nonce$)!=null?r:Z(y);p!=null&&$.setAttribute("nonce",p),a.insertBefore($,o?o.nextSibling:a.firstChild)}d=!1,c.length?c.map(p=>p.connectedCallback()):m.jmp(()=>f=setTimeout($e,30)),s()};exports.bootstrapLazy=st;exports.getElement=De;exports.h=ee;exports.promiseResolve=K;exports.registerInstance=he;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const i=require("./index-b7bbd57e-ClcNZKHr.cjs"),a=":host{display:block}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}",r=a,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.imgClass="",this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.src=this.src,e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,this.el.dispatchEvent(new CustomEvent("load",{bubbles:!0})))}}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("img",{key:"2bb4dc391fc2f753514103e91c0abf065de3236a",ref:e=>this.image=e,style:this.styles,class:`${this.imgClass} ${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=r;exports.UiImage=n;
|
@@ -1,39 +0,0 @@
|
|
1
|
-
import { r as i, h as n, g as a } from "./index-b7bbd57e-BoAFccAK.js";
|
2
|
-
const o = ":host{display:block}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", r = o, h = class {
|
3
|
-
constructor(e) {
|
4
|
-
i(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.imgClass = "", this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
5
|
-
}
|
6
|
-
handleSrc() {
|
7
|
-
if (!this.shouldLoad)
|
8
|
-
return;
|
9
|
-
const e = new Image();
|
10
|
-
e.src = this.src, e.onload = () => {
|
11
|
-
this.image && (this.image.src = this.src, this.imgLoaded = !0, this.el.dispatchEvent(new CustomEvent("load", { bubbles: !0 })));
|
12
|
-
};
|
13
|
-
}
|
14
|
-
componentDidLoad() {
|
15
|
-
"IntersectionObserver" in window ? (this.el.__uxComponent = this, window.EMUxObserver || (window.EMUxObserver = new IntersectionObserver((e) => {
|
16
|
-
e.forEach((t) => {
|
17
|
-
if (t.isIntersecting) {
|
18
|
-
const s = t.target.__uxComponent;
|
19
|
-
s && (s.shouldLoad = !0, s.handleSrc()), window.EMUxObserver.unobserve(t.target);
|
20
|
-
}
|
21
|
-
});
|
22
|
-
}, { rootMargin: this.detectDistance })), window.EMUxObserver.observe(this.el)) : (this.shouldLoad = !0, this.handleSrc());
|
23
|
-
}
|
24
|
-
render() {
|
25
|
-
return n("img", { key: "2bb4dc391fc2f753514103e91c0abf065de3236a", ref: (e) => this.image = e, style: this.styles, class: `${this.imgClass} ${this.imgLoaded ? "Visible" : "Hidden"}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" });
|
26
|
-
}
|
27
|
-
get el() {
|
28
|
-
return a(this);
|
29
|
-
}
|
30
|
-
static get watchers() {
|
31
|
-
return {
|
32
|
-
src: ["handleSrc"]
|
33
|
-
};
|
34
|
-
}
|
35
|
-
};
|
36
|
-
h.style = r;
|
37
|
-
export {
|
38
|
-
h as U
|
39
|
-
};
|
@@ -1,39 +0,0 @@
|
|
1
|
-
import { r as i, h as n, g as a } from "./index-b7bbd57e-BuEw0j7w.js";
|
2
|
-
const o = ":host{display:block}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;transition:opacity 0.5s ease-in-out}", r = o, h = class {
|
3
|
-
constructor(e) {
|
4
|
-
i(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.imgClass = "", this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
|
5
|
-
}
|
6
|
-
handleSrc() {
|
7
|
-
if (!this.shouldLoad)
|
8
|
-
return;
|
9
|
-
const e = new Image();
|
10
|
-
e.src = this.src, e.onload = () => {
|
11
|
-
this.image && (this.image.src = this.src, this.imgLoaded = !0, this.el.dispatchEvent(new CustomEvent("load", { bubbles: !0 })));
|
12
|
-
};
|
13
|
-
}
|
14
|
-
componentDidLoad() {
|
15
|
-
"IntersectionObserver" in window ? (this.el.__uxComponent = this, window.EMUxObserver || (window.EMUxObserver = new IntersectionObserver((e) => {
|
16
|
-
e.forEach((t) => {
|
17
|
-
if (t.isIntersecting) {
|
18
|
-
const s = t.target.__uxComponent;
|
19
|
-
s && (s.shouldLoad = !0, s.handleSrc()), window.EMUxObserver.unobserve(t.target);
|
20
|
-
}
|
21
|
-
});
|
22
|
-
}, { rootMargin: this.detectDistance })), window.EMUxObserver.observe(this.el)) : (this.shouldLoad = !0, this.handleSrc());
|
23
|
-
}
|
24
|
-
render() {
|
25
|
-
return n("img", { key: "2bb4dc391fc2f753514103e91c0abf065de3236a", ref: (e) => this.image = e, style: this.styles, class: `${this.imgClass} ${this.imgLoaded ? "Visible" : "Hidden"}`, alt: this.alt, width: this.width, height: this.height, loading: "lazy" });
|
26
|
-
}
|
27
|
-
get el() {
|
28
|
-
return a(this);
|
29
|
-
}
|
30
|
-
static get watchers() {
|
31
|
-
return {
|
32
|
-
src: ["handleSrc"]
|
33
|
-
};
|
34
|
-
}
|
35
|
-
};
|
36
|
-
h.style = r;
|
37
|
-
export {
|
38
|
-
h as U
|
39
|
-
};
|