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