@everymatrix/casino-header-controller 1.54.6 → 1.54.8

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 (27) hide show
  1. package/components/CasinoHamburgerMenu-6NiYpRXZ.js +5325 -0
  2. package/components/CasinoHamburgerMenu-BGHo13mn.cjs +8 -0
  3. package/components/{CasinoHamburgerMenu-Didvw1sl.js → CasinoHamburgerMenu-DQ5J6iG9.js} +641 -649
  4. package/components/CasinoHeaderController-Cl7ARyub.js +3030 -0
  5. package/components/{CasinoHeaderController-CFx6e2bY.js → CasinoHeaderController-Cq5TSS7Q.js} +82 -82
  6. package/components/CasinoHeaderController-uvHQamuW.cjs +13 -0
  7. package/components/CasinoSlider-6zcEnsqz.js +806 -0
  8. package/components/CasinoSlider-BaotiKI5.cjs +1 -0
  9. package/components/{CasinoSlider-CTCcKhAJ.js → CasinoSlider-XUz3C3S-.js} +45 -45
  10. package/components/PlayerAccountBalanceModal-B_7fcnxz.cjs +13 -0
  11. package/components/PlayerAccountBalanceModal-CTz9mHwh.js +1540 -0
  12. package/components/{PlayerAccountBalanceModal-CljMbxpF.js → PlayerAccountBalanceModal-zbnH49Uz.js} +36 -36
  13. package/components/{PlayerDeposit-BDWEQLoE.js → PlayerDeposit-BnC5lDMw.js} +48 -48
  14. package/components/PlayerDeposit-DqZH75Dh.cjs +1 -0
  15. package/components/PlayerDeposit-_PiynGo4.js +395 -0
  16. package/es2015/casino-header-controller.cjs +1 -0
  17. package/es2015/casino-header-controller.js +16 -0
  18. package/esnext/casino-header-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  21. package/stencil/index-581287aa-BOZ4jFhd.js +638 -0
  22. package/stencil/index-581287aa-BmnjFzrP.js +654 -0
  23. package/stencil/index-581287aa-o2un8phH.cjs +1 -0
  24. package/stencil/user-deposit-withdrawal-6kIYIsxW.js +668 -0
  25. package/stencil/{user-deposit-withdrawal-DafvBY_z.js → user-deposit-withdrawal-CGu0x9I4.js} +1 -1
  26. package/stencil/user-deposit-withdrawal-Cpj0khDg.cjs +59 -0
  27. package/stencil/index-33f005e1-BLR6jtB3.js +0 -632
@@ -1,632 +0,0 @@
1
- const ye = "user-deposit-withdrawal", F = (
2
- /* user-deposit-withdrawal */
3
- { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, 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, modernPropertyDecls: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !1, propString: !0, reflect: !0, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
4
- );
5
- var ve = Object.defineProperty, Se = (e, t) => {
6
- for (var n in t)
7
- ve(e, n, { get: t[n], enumerable: !0 });
8
- }, Ee = "http://www.w3.org/2000/svg", ke = "http://www.w3.org/1999/xhtml", W = /* @__PURE__ */ new WeakMap(), x = (e) => W.get(e), st = (e, t) => {
9
- W.set(t.$lazyInstance$ = e, t);
10
- }, xe = (e, t) => {
11
- const n = {
12
- $flags$: 0,
13
- $hostElement$: e,
14
- $cmpMeta$: t,
15
- $instanceValues$: /* @__PURE__ */ new Map()
16
- };
17
- return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], W.set(e, n);
18
- }, Q = (e, t) => t in e, L = (e, t) => (0, console.error)(e, t), z = /* @__PURE__ */ new Map(), Te = (e, t, n) => {
19
- const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
20
- if (!r)
21
- return;
22
- const a = z.get(r);
23
- if (a)
24
- return a[s];
25
- {
26
- const i = (l) => (z.set(r, l), l[s]);
27
- switch (r) {
28
- case "user-deposit-withdrawal":
29
- return import(
30
- /* webpackMode: "lazy" */
31
- "./user-deposit-withdrawal-DafvBY_z.js"
32
- ).then(i, L);
33
- }
34
- }
35
- return import(
36
- /* @vite-ignore */
37
- /* webpackInclude: /\.entry\.js$/ */
38
- /* webpackExclude: /\.system\.entry\.js$/ */
39
- /* webpackMode: "lazy" */
40
- `./${r}.entry.js`
41
- ).then(
42
- (i) => (z.set(r, i), i[s]),
43
- (i) => {
44
- L(i, t.$hostElement$);
45
- }
46
- );
47
- }, j = /* @__PURE__ */ new Map(), we = "sty-id", Le = "{visibility:hidden}.hydrated{visibility:inherit}", te = "slot-fb{display:contents}slot-fb[hidden]{display:none}", m = typeof window < "u" ? window : {}, k = m.document || { head: {} }, h = {
48
- $flags$: 0,
49
- $resourcesUrl$: "",
50
- jmp: (e) => e(),
51
- raf: (e) => requestAnimationFrame(e),
52
- ael: (e, t, n, s) => e.addEventListener(t, n, s),
53
- rel: (e, t, n, s) => e.removeEventListener(t, n, s),
54
- ce: (e, t) => new CustomEvent(e, t)
55
- }, Pe = (e) => Promise.resolve(e), se = /* @__PURE__ */ (() => {
56
- try {
57
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
58
- } catch {
59
- }
60
- return !1;
61
- })(), U = !1, K = [], ne = [], Ae = (e, t) => (n) => {
62
- e.push(n), U || (U = !0, h.$flags$ & 4 ? G(H) : h.raf(H));
63
- }, J = (e) => {
64
- for (let t = 0; t < e.length; t++)
65
- try {
66
- e[t](performance.now());
67
- } catch (n) {
68
- L(n);
69
- }
70
- e.length = 0;
71
- }, H = () => {
72
- J(K), J(ne), (U = K.length > 0) && h.raf(H);
73
- }, G = (e) => Pe().then(e), be = /* @__PURE__ */ Ae(ne), X = (e) => (e = typeof e, e === "object" || e === "function");
74
- function re(e) {
75
- var t, n, s;
76
- 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;
77
- }
78
- var _e = {};
79
- Se(_e, {
80
- err: () => le,
81
- map: () => Oe,
82
- ok: () => C,
83
- unwrap: () => je,
84
- unwrapErr: () => De
85
- });
86
- var C = (e) => ({
87
- isOk: !0,
88
- isErr: !1,
89
- value: e
90
- }), le = (e) => ({
91
- isOk: !1,
92
- isErr: !0,
93
- value: e
94
- });
95
- function Oe(e, t) {
96
- if (e.isOk) {
97
- const n = t(e.value);
98
- return n instanceof Promise ? n.then((s) => C(s)) : C(n);
99
- }
100
- if (e.isErr) {
101
- const n = e.value;
102
- return le(n);
103
- }
104
- throw "should never get here";
105
- }
106
- var je = (e) => {
107
- if (e.isOk)
108
- return e.value;
109
- throw e.value;
110
- }, De = (e) => {
111
- if (e.isErr)
112
- return e.value;
113
- throw e.value;
114
- }, T = (e, t = "") => () => {
115
- }, Ie = (e, t) => () => {
116
- }, me = (e, t, ...n) => {
117
- let s = null, r = null, a = !1, i = !1;
118
- const l = [], f = ($) => {
119
- for (let d = 0; d < $.length; d++)
120
- s = $[d], Array.isArray(s) ? f(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !X(s)) && (s = String(s)), a && i ? l[l.length - 1].$text$ += s : l.push(a ? B(null, s) : s), i = a);
121
- };
122
- if (f(n), t) {
123
- t.key && (r = t.key);
124
- {
125
- const $ = t.className || t.class;
126
- $ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((d) => $[d]).join(" "));
127
- }
128
- }
129
- const o = B(e, null);
130
- return o.$attrs$ = t, l.length > 0 && (o.$children$ = l), o.$key$ = r, o;
131
- }, B = (e, t) => {
132
- const n = {
133
- $flags$: 0,
134
- $tag$: e,
135
- $text$: t,
136
- $elm$: null,
137
- $children$: null
138
- };
139
- return n.$attrs$ = null, n.$key$ = null, n;
140
- }, ze = {}, Re = (e) => e && e.$tag$ === ze, q = (e, t) => e != null && !X(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, Ue = (e, t, n) => {
141
- const s = h.ce(t, n);
142
- return e.dispatchEvent(s), s;
143
- }, A = /* @__PURE__ */ new WeakMap(), He = (e, t, n) => {
144
- let s = j.get(e);
145
- se && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, j.set(e, s);
146
- }, Ce = (e, t, n) => {
147
- var s;
148
- const r = ae(t), a = j.get(r);
149
- if (e = e.nodeType === 11 ? e : k, a)
150
- if (typeof a == "string") {
151
- e = e.head || e;
152
- let i = A.get(e), l;
153
- if (i || A.set(e, i = /* @__PURE__ */ new Set()), !i.has(r)) {
154
- {
155
- l = document.querySelector(`[${we}="${r}"]`) || k.createElement("style"), l.innerHTML = a;
156
- const f = (s = h.$nonce$) != null ? s : re(k);
157
- if (f != null && l.setAttribute("nonce", f), !(t.$flags$ & 1))
158
- if (e.nodeName === "HEAD") {
159
- const o = e.querySelectorAll("link[rel=preconnect]"), $ = o.length > 0 ? o[o.length - 1].nextSibling : e.querySelector("style");
160
- e.insertBefore(
161
- l,
162
- $?.parentNode === e ? $ : null
163
- );
164
- } else if ("host" in e)
165
- if (se) {
166
- const o = new CSSStyleSheet();
167
- o.replaceSync(a), e.adoptedStyleSheets = [o, ...e.adoptedStyleSheets];
168
- } else {
169
- const o = e.querySelector("style");
170
- o ? o.innerHTML = a + o.innerHTML : e.prepend(l);
171
- }
172
- else
173
- e.append(l);
174
- t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(l, null);
175
- }
176
- t.$flags$ & 4 && (l.innerHTML += te), i && i.add(r);
177
- }
178
- } else e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
179
- return r;
180
- }, Be = (e) => {
181
- const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = T("attachStyles", t.$tagName$), a = Ce(
182
- n.shadowRoot ? n.shadowRoot : n.getRootNode(),
183
- t
184
- );
185
- s & 10 && s & 2 && (n["s-sc"] = a, n.classList.add(a + "-h")), r();
186
- }, ae = (e, t) => "sc-" + e.$tagName$, Z = (e, t, n, s, r, a, i) => {
187
- if (n !== s) {
188
- let l = Q(e, t), f = t.toLowerCase();
189
- if (t === "class") {
190
- const o = e.classList, $ = N(n);
191
- let d = N(s);
192
- o.remove(...$.filter((c) => c && !d.includes(c))), o.add(...d.filter((c) => c && !$.includes(c)));
193
- } else if (t === "style") {
194
- for (const o in n)
195
- (!s || s[o] == null) && (o.includes("-") ? e.style.removeProperty(o) : e.style[o] = "");
196
- for (const o in s)
197
- (!n || s[o] !== n[o]) && (o.includes("-") ? e.style.setProperty(o, s[o]) : e.style[o] = s[o]);
198
- } else if (t !== "key") if (t === "ref")
199
- s && s(e);
200
- else if (!l && t[0] === "o" && t[1] === "n") {
201
- if (t[2] === "-" ? t = t.slice(3) : Q(m, f) ? t = f.slice(2) : t = f[2] + t.slice(3), n || s) {
202
- const o = t.endsWith(ie);
203
- t = t.replace(Fe, ""), n && h.rel(e, t, n, o), s && h.ael(e, t, s, o);
204
- }
205
- } else {
206
- const o = X(s);
207
- if ((l || o && s !== null) && !r)
208
- try {
209
- if (e.tagName.includes("-"))
210
- e[t] !== s && (e[t] = s);
211
- else {
212
- const $ = s ?? "";
213
- t === "list" ? l = !1 : (n == null || e[t] != $) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = $ : e.setAttribute(t, $));
214
- }
215
- } catch {
216
- }
217
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !o && (s = s === !0 ? "" : s, e.setAttribute(t, s));
218
- }
219
- }
220
- }, qe = /\s/, N = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(qe)), ie = "Capture", Fe = new RegExp(ie + "$"), oe = (e, t, n, s) => {
221
- const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, a = e && e.$attrs$ || {}, i = t.$attrs$ || {};
222
- for (const l of V(Object.keys(a)))
223
- l in i || Z(
224
- r,
225
- l,
226
- a[l],
227
- void 0,
228
- n,
229
- t.$flags$
230
- );
231
- for (const l of V(Object.keys(i)))
232
- Z(
233
- r,
234
- l,
235
- a[l],
236
- i[l],
237
- n,
238
- t.$flags$
239
- );
240
- };
241
- function V(e) {
242
- return e.includes("ref") ? (
243
- // we need to sort these to ensure that `'ref'` is the last attr
244
- [...e.filter((t) => t !== "ref"), "ref"]
245
- ) : (
246
- // no need to sort, return the original array
247
- e
248
- );
249
- }
250
- var Y, v = !1, D = (e, t, n) => {
251
- const s = t.$children$[n];
252
- let r = 0, a, i;
253
- if (s.$text$ !== null)
254
- a = s.$elm$ = k.createTextNode(s.$text$);
255
- else {
256
- if (v || (v = s.$tag$ === "svg"), a = s.$elm$ = k.createElementNS(
257
- v ? Ee : ke,
258
- s.$tag$
259
- ), v && s.$tag$ === "foreignObject" && (v = !1), oe(null, s, v), s.$children$)
260
- for (r = 0; r < s.$children$.length; ++r)
261
- i = D(e, s, r), i && a.appendChild(i);
262
- s.$tag$ === "svg" ? v = !1 : a.tagName === "foreignObject" && (v = !0);
263
- }
264
- return a["s-hn"] = Y, a;
265
- }, $e = (e, t, n, s, r, a) => {
266
- let i = e, l;
267
- for (i.shadowRoot && i.tagName === Y && (i = i.shadowRoot); r <= a; ++r)
268
- s[r] && (l = D(null, n, r), l && (s[r].$elm$ = l, O(i, l, t)));
269
- }, ce = (e, t, n) => {
270
- for (let s = t; s <= n; ++s) {
271
- const r = e[s];
272
- if (r) {
273
- const a = r.$elm$;
274
- fe(r), a && a.remove();
275
- }
276
- }
277
- }, We = (e, t, n, s, r = !1) => {
278
- let a = 0, i = 0, l = 0, f = 0, o = t.length - 1, $ = t[0], d = t[o], c = s.length - 1, u = s[0], p = s[c], g, S;
279
- for (; a <= o && i <= c; )
280
- if ($ == null)
281
- $ = t[++a];
282
- else if (d == null)
283
- d = t[--o];
284
- else if (u == null)
285
- u = s[++i];
286
- else if (p == null)
287
- p = s[--c];
288
- else if (_($, u, r))
289
- P($, u, r), $ = t[++a], u = s[++i];
290
- else if (_(d, p, r))
291
- P(d, p, r), d = t[--o], p = s[--c];
292
- else if (_($, p, r))
293
- P($, p, r), O(e, $.$elm$, d.$elm$.nextSibling), $ = t[++a], p = s[--c];
294
- else if (_(d, u, r))
295
- P(d, u, r), O(e, d.$elm$, $.$elm$), d = t[--o], u = s[++i];
296
- else {
297
- for (l = -1, f = a; f <= o; ++f)
298
- if (t[f] && t[f].$key$ !== null && t[f].$key$ === u.$key$) {
299
- l = f;
300
- break;
301
- }
302
- l >= 0 ? (S = t[l], S.$tag$ !== u.$tag$ ? g = D(t && t[i], n, l) : (P(S, u, r), t[l] = void 0, g = S.$elm$), u = s[++i]) : (g = D(t && t[i], n, i), u = s[++i]), g && O($.$elm$.parentNode, g, $.$elm$);
303
- }
304
- a > o ? $e(
305
- e,
306
- s[c + 1] == null ? null : s[c + 1].$elm$,
307
- n,
308
- s,
309
- i,
310
- c
311
- ) : i > c && ce(t, a, o);
312
- }, _ = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? (n && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, P = (e, t, n = !1) => {
313
- const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, i = t.$tag$, l = t.$text$;
314
- l === null ? (v = i === "svg" ? !0 : i === "foreignObject" ? !1 : v, oe(e, t, v), r !== null && a !== null ? We(s, r, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), $e(s, null, t, a, 0, a.length - 1)) : (
315
- // don't do this on initial render as it can cause non-hydrated content to be removed
316
- !n && F.updatable && r !== null && ce(r, 0, r.length - 1)
317
- ), v && i === "svg" && (v = !1)) : e.$text$ !== l && (s.data = l);
318
- }, fe = (e) => {
319
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);
320
- }, O = (e, t, n) => e?.insertBefore(t, n), Ge = (e, t, n = !1) => {
321
- const s = e.$hostElement$, r = e.$cmpMeta$, a = e.$vnode$ || B(null, null), i = Re(t) ? t : me(null, null, t);
322
- if (Y = s.tagName, r.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, r.$attrsToReflect$.map(
323
- ([l, f]) => i.$attrs$[f] = s[l]
324
- )), n && i.$attrs$)
325
- for (const l of Object.keys(i.$attrs$))
326
- s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = s[l]);
327
- i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = a.$elm$ = s.shadowRoot || s, r.$flags$ & 1, P(a, i, n);
328
- }, de = (e, t) => {
329
- if (t && !e.$onRenderResolve$ && t["s-p"]) {
330
- const n = t["s-p"].push(
331
- new Promise(
332
- (s) => e.$onRenderResolve$ = () => {
333
- t["s-p"].splice(n - 1, 1), s();
334
- }
335
- )
336
- );
337
- }
338
- }, M = (e, t) => {
339
- if (e.$flags$ |= 16, e.$flags$ & 4) {
340
- e.$flags$ |= 512;
341
- return;
342
- }
343
- return de(e, e.$ancestorComponent$), be(() => Xe(e, t));
344
- }, Xe = (e, t) => {
345
- const n = e.$hostElement$, s = T("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
346
- if (!r)
347
- throw new Error(
348
- `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`
349
- );
350
- let a;
351
- return t && (a = I(r, "componentWillLoad", void 0, n)), s(), Ye(a, () => Qe(e, r, t));
352
- }, Ye = (e, t) => Me(e) ? e.then(t).catch((n) => {
353
- console.error(n), t();
354
- }) : t(), Me = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Qe = async (e, t, n) => {
355
- var s;
356
- const r = e.$hostElement$, a = T("update", e.$cmpMeta$.$tagName$), i = r["s-rc"];
357
- n && Be(e);
358
- const l = T("render", e.$cmpMeta$.$tagName$);
359
- Ke(e, t, r, n), i && (i.map((f) => f()), r["s-rc"] = void 0), l(), a();
360
- {
361
- const f = (s = r["s-p"]) != null ? s : [], o = () => Je(e);
362
- f.length === 0 ? o() : (Promise.all(f).then(o), e.$flags$ |= 4, f.length = 0);
363
- }
364
- }, Ke = (e, t, n, s) => {
365
- try {
366
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ge(e, t, s);
367
- } catch (r) {
368
- L(r, e.$hostElement$);
369
- }
370
- return null;
371
- }, Je = (e) => {
372
- const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = T("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
373
- I(r, "componentDidRender", void 0, n), e.$flags$ & 64 ? s() : (e.$flags$ |= 64, pe(n), I(r, "componentDidLoad", void 0, n), s(), e.$onReadyResolve$(n), a || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && G(() => M(e, !1)), e.$flags$ &= -517;
374
- }, ue = (e) => {
375
- pe(k.documentElement), G(() => Ue(m, "appload", { detail: { namespace: ye } }));
376
- }, I = (e, t, n, s) => {
377
- if (e && e[t])
378
- try {
379
- return e[t](n);
380
- } catch (r) {
381
- L(r, s);
382
- }
383
- }, pe = (e) => {
384
- var t;
385
- return e.classList.add((t = F.hydratedSelectorName) != null ? t : "hydrated");
386
- }, Ze = (e, t) => x(e).$instanceValues$.get(t), R = (e, t, n, s) => {
387
- const r = x(e);
388
- if (!r)
389
- throw new Error(
390
- `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).`
391
- );
392
- const a = r.$hostElement$, i = r.$instanceValues$.get(t), l = r.$flags$, f = r.$lazyInstance$;
393
- n = q(n, s.$members$[t][0]);
394
- const o = Number.isNaN(i) && Number.isNaN(n), $ = n !== i && !o;
395
- if ((!(l & 8) || i === void 0) && $ && (r.$instanceValues$.set(t, n), f)) {
396
- if (s.$watchers$ && l & 128) {
397
- const d = s.$watchers$[t];
398
- d && d.map((c) => {
399
- try {
400
- f[c](n, i, t);
401
- } catch (u) {
402
- L(u, a);
403
- }
404
- });
405
- }
406
- (l & 18) === 2 && M(r, !1);
407
- }
408
- }, he = (e, t, n) => {
409
- var s, r;
410
- const a = e.prototype;
411
- if (t.$members$ || t.$watchers$ || e.watchers) {
412
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
413
- const i = Object.entries((s = t.$members$) != null ? s : {});
414
- if (i.map(([l, [f]]) => {
415
- if (f & 31 || n & 2 && f & 32) {
416
- const { get: o, set: $ } = Object.getOwnPropertyDescriptor(a, l) || {};
417
- o && (t.$members$[l][0] |= 2048), $ && (t.$members$[l][0] |= 4096), (n & 1 || !o) && Object.defineProperty(a, l, {
418
- get() {
419
- {
420
- if (!(t.$members$[l][0] & 2048))
421
- return Ze(this, l);
422
- const d = x(this), c = d ? d.$lazyInstance$ : a;
423
- return c ? c[l] : void 0;
424
- }
425
- },
426
- configurable: !0,
427
- enumerable: !0
428
- }), Object.defineProperty(a, l, {
429
- set(d) {
430
- const c = x(this);
431
- if ($) {
432
- const u = f & 32 ? this[l] : c.$hostElement$[l];
433
- typeof u > "u" && c.$instanceValues$.get(l) ? d = c.$instanceValues$.get(l) : !c.$instanceValues$.get(l) && u && c.$instanceValues$.set(l, u), $.apply(this, [q(d, f)]), d = f & 32 ? this[l] : c.$hostElement$[l], R(this, l, d, t);
434
- return;
435
- }
436
- {
437
- if (!(n & 1) || !(t.$members$[l][0] & 4096)) {
438
- R(this, l, d, t), n & 1 && !c.$lazyInstance$ && c.$onReadyPromise$.then(() => {
439
- t.$members$[l][0] & 4096 && c.$lazyInstance$[l] !== c.$instanceValues$.get(l) && (c.$lazyInstance$[l] = d);
440
- });
441
- return;
442
- }
443
- const u = () => {
444
- const p = c.$lazyInstance$[l];
445
- !c.$instanceValues$.get(l) && p && c.$instanceValues$.set(l, p), c.$lazyInstance$[l] = q(d, f), R(this, l, c.$lazyInstance$[l], t);
446
- };
447
- c.$lazyInstance$ ? u() : c.$onReadyPromise$.then(() => u());
448
- }
449
- }
450
- });
451
- }
452
- }), n & 1) {
453
- const l = /* @__PURE__ */ new Map();
454
- a.attributeChangedCallback = function(f, o, $) {
455
- h.jmp(() => {
456
- var d;
457
- const c = l.get(f);
458
- if (this.hasOwnProperty(c) && F.lazyLoad)
459
- $ = this[c], delete this[c];
460
- else {
461
- if (a.hasOwnProperty(c) && typeof this[c] == "number" && // cast type to number to avoid TS compiler issues
462
- this[c] == $)
463
- return;
464
- if (c == null) {
465
- const p = x(this), g = p?.$flags$;
466
- if (g && !(g & 8) && g & 128 && $ !== o) {
467
- const S = p.$lazyInstance$, y = (d = t.$watchers$) == null ? void 0 : d[f];
468
- y?.forEach((w) => {
469
- S[w] != null && S[w].call(S, $, o, f);
470
- });
471
- }
472
- return;
473
- }
474
- }
475
- const u = Object.getOwnPropertyDescriptor(a, c);
476
- $ = $ === null && typeof this[c] == "boolean" ? !1 : $, $ !== this[c] && (!u.get || u.set) && (this[c] = $);
477
- });
478
- }, e.observedAttributes = Array.from(
479
- /* @__PURE__ */ new Set([
480
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
481
- ...i.filter(
482
- ([f, o]) => o[0] & 15
483
- /* HasAttribute */
484
- ).map(([f, o]) => {
485
- var $;
486
- const d = o[1] || f;
487
- return l.set(d, f), o[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([f, d])), d;
488
- })
489
- ])
490
- );
491
- }
492
- }
493
- return e;
494
- }, Ne = async (e, t, n, s) => {
495
- let r;
496
- if (!(t.$flags$ & 32)) {
497
- t.$flags$ |= 32;
498
- {
499
- const l = Te(n, t);
500
- if (l && "then" in l) {
501
- const o = Ie();
502
- r = await l, o();
503
- } else
504
- r = l;
505
- if (!r)
506
- throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
507
- r.isProxied || (n.$watchers$ = r.watchers, he(
508
- r,
509
- n,
510
- 2
511
- /* proxyState */
512
- ), r.isProxied = !0);
513
- const f = T("createInstance", n.$tagName$);
514
- t.$flags$ |= 8;
515
- try {
516
- new r(t);
517
- } catch (o) {
518
- L(o, e);
519
- }
520
- t.$flags$ &= -9, t.$flags$ |= 128, f();
521
- }
522
- if (r && r.style) {
523
- let l;
524
- typeof r.style == "string" && (l = r.style);
525
- const f = ae(n);
526
- if (!j.has(f)) {
527
- const o = T("registerStyles", n.$tagName$);
528
- He(f, l, !!(n.$flags$ & 1)), o();
529
- }
530
- }
531
- }
532
- const a = t.$ancestorComponent$, i = () => M(t, !0);
533
- a && a["s-rc"] ? a["s-rc"].push(i) : i();
534
- }, Ve = (e, t) => {
535
- }, et = (e) => {
536
- if (!(h.$flags$ & 1)) {
537
- const t = x(e), n = t.$cmpMeta$, s = T("connectedCallback", n.$tagName$);
538
- if (t.$flags$ & 1)
539
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ve());
540
- else {
541
- t.$flags$ |= 1;
542
- {
543
- let r = e;
544
- for (; r = r.parentNode || r.host; )
545
- if (r["s-p"]) {
546
- de(t, t.$ancestorComponent$ = r);
547
- break;
548
- }
549
- }
550
- n.$members$ && Object.entries(n.$members$).map(([r, [a]]) => {
551
- if (a & 31 && e.hasOwnProperty(r)) {
552
- const i = e[r];
553
- delete e[r], e[r] = i;
554
- }
555
- }), Ne(e, t, n);
556
- }
557
- s();
558
- }
559
- }, ee = (e, t) => {
560
- I(e, "disconnectedCallback", void 0, t || e);
561
- }, tt = async (e) => {
562
- if (!(h.$flags$ & 1)) {
563
- const t = x(e);
564
- t?.$lazyInstance$ ? ee(t.$lazyInstance$, e) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => ee(t.$lazyInstance$, e));
565
- }
566
- A.has(e) && A.delete(e), e.shadowRoot && A.has(e.shadowRoot) && A.delete(e.shadowRoot);
567
- }, nt = (e, t = {}) => {
568
- var n;
569
- const s = T(), r = [], a = t.exclude || [], i = m.customElements, l = k.head, f = /* @__PURE__ */ l.querySelector("meta[charset]"), o = /* @__PURE__ */ k.createElement("style"), $ = [];
570
- let d, c = !0;
571
- Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", k.baseURI).href;
572
- let u = !1;
573
- if (e.map((p) => {
574
- p[1].map((g) => {
575
- var S;
576
- const y = {
577
- $flags$: g[0],
578
- $tagName$: g[1],
579
- $members$: g[2],
580
- $listeners$: g[3]
581
- };
582
- y.$flags$ & 4 && (u = !0), y.$members$ = g[2], y.$attrsToReflect$ = [], y.$watchers$ = (S = g[4]) != null ? S : {};
583
- const w = y.$tagName$, ge = class extends HTMLElement {
584
- // StencilLazyHost
585
- constructor(E) {
586
- if (super(E), this.hasRegisteredEventListeners = !1, E = this, xe(E, y), y.$flags$ & 1) {
587
- if (!E.shadowRoot)
588
- E.attachShadow({ mode: "open" });
589
- else if (E.shadowRoot.mode !== "open")
590
- throw new Error(
591
- `Unable to re-use existing shadow root for ${y.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
592
- );
593
- }
594
- }
595
- connectedCallback() {
596
- x(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), d && (clearTimeout(d), d = null), c ? $.push(this) : h.jmp(() => et(this));
597
- }
598
- disconnectedCallback() {
599
- h.jmp(() => tt(this)), h.raf(() => {
600
- var E;
601
- const b = x(this);
602
- ((E = b?.$vnode$) == null ? void 0 : E.$elm$) instanceof Node && !b.$vnode$.$elm$.isConnected && delete b.$vnode$.$elm$;
603
- });
604
- }
605
- componentOnReady() {
606
- return x(this).$onReadyPromise$;
607
- }
608
- };
609
- y.$lazyBundleId$ = p[0], !a.includes(w) && !i.get(w) && (r.push(w), i.define(
610
- w,
611
- he(
612
- ge,
613
- y,
614
- 1
615
- /* isElementConstructor */
616
- )
617
- ));
618
- });
619
- }), r.length > 0 && (u && (o.textContent += te), o.textContent += r.sort() + Le, o.innerHTML.length)) {
620
- o.setAttribute("data-styles", "");
621
- const p = (n = h.$nonce$) != null ? n : re(k);
622
- p != null && o.setAttribute("nonce", p), l.insertBefore(o, f ? f.nextSibling : l.firstChild);
623
- }
624
- c = !1, $.length ? $.map((p) => p.connectedCallback()) : h.jmp(() => d = setTimeout(ue, 30)), s();
625
- };
626
- export {
627
- ze as H,
628
- nt as b,
629
- me as h,
630
- Pe as p,
631
- st as r
632
- };