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