@everymatrix/casino-header-controller 1.60.1 → 1.61.0

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