@everymatrix/casino-header-controller-nd 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 (60) hide show
  1. package/components/CasinoHamburgerMenuNd-BXOxWDnU.js +5449 -0
  2. package/components/CasinoHamburgerMenuNd-CDprnR9N.cjs +5 -0
  3. package/components/CasinoHamburgerMenuNd-RHQhri2n.js +5487 -0
  4. package/components/CasinoHeaderControllerNd-CrjISN9T.cjs +1 -0
  5. package/components/{CasinoHeaderControllerNd-bGnLcz2g.js → CasinoHeaderControllerNd-DdRHib4Y.js} +505 -453
  6. package/components/{CasinoHeaderControllerNd-B4Hgo5oq.js → CasinoHeaderControllerNd-DeFJQOBT.js} +525 -473
  7. package/components/PlayerAccountBalanceModalNd-BduIv2jr.js +1553 -0
  8. package/components/PlayerAccountBalanceModalNd-ClQUf9hu.js +1582 -0
  9. package/components/PlayerAccountBalanceModalNd-DB8OTdY6.cjs +13 -0
  10. package/components/PlayerDeposit-D4E7B0VM.cjs +1 -0
  11. package/components/PlayerDeposit-Dn8OMUks.js +391 -0
  12. package/components/PlayerDeposit-Owd9kBaC.js +391 -0
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/package.json +1 -1
  17. package/stencil/gamification-dropdown-12tdWeqm.cjs +1 -0
  18. package/stencil/gamification-dropdown-246b88da-BcsKYpR0.js +126 -0
  19. package/stencil/gamification-dropdown-246b88da-Dckk_dCi.js +144 -0
  20. package/stencil/gamification-dropdown-246b88da-ImWNLZys.cjs +1 -0
  21. package/stencil/gamification-dropdown-CGlt7V-H.js +7 -0
  22. package/stencil/gamification-dropdown-GR6HFAZA.js +25 -0
  23. package/stencil/gamification-dropdown_4-BwwlBsis.cjs +192 -0
  24. package/stencil/{gamification-dropdown_4-Cg4EiNTS.js → gamification-dropdown_4-Denu_YbM.js} +21 -21
  25. package/stencil/{gamification-dropdown_4-BZffGACN.js → gamification-dropdown_4-QRIgZIS5.js} +19 -19
  26. package/stencil/index-30fda5fb-CiEO4toK.js +833 -0
  27. package/stencil/index-30fda5fb-DqSvPD7T.cjs +1 -0
  28. package/stencil/index-30fda5fb-XWBRFzl0.js +860 -0
  29. package/stencil/{player-elevate-card-Bo3fCMU8.js → player-elevate-card-BPyvJoKU.js} +4 -4
  30. package/stencil/{player-elevate-card-CGn57laL.js → player-elevate-card-CSXjQ70j.js} +4 -4
  31. package/stencil/player-elevate-card-D5kbh1fR.cjs +64 -0
  32. package/stencil/{player-elevate-card-items-2078bd83-DvW50KrW.js → player-elevate-card-items-be1e68f1-C-idvDlE.js} +1 -3
  33. package/stencil/{player-elevate-card-items-2078bd83-CUXuMGCR.js → player-elevate-card-items-be1e68f1-CF4tyvaU.js} +1 -3
  34. package/stencil/player-elevate-card-items-be1e68f1-CxCehVul.cjs +1 -0
  35. package/stencil/{player-elevate-pointcard-jLOeOCx0.js → player-elevate-pointcard-Baq8OlNX.js} +7 -7
  36. package/stencil/player-elevate-pointcard-DVXsZKCw.cjs +1 -0
  37. package/stencil/{player-elevate-pointcard-teAW1AOh.js → player-elevate-pointcard-jvw6Jdcf.js} +7 -7
  38. package/components/CasinoHamburgerMenuNd-CAV9ARg-.js +0 -5485
  39. package/components/CasinoHamburgerMenuNd-CSCV-5CJ.cjs +0 -5
  40. package/components/CasinoHamburgerMenuNd-DNYzzmAB.js +0 -5447
  41. package/components/CasinoHeaderControllerNd-Cd6hH1wA.cjs +0 -1
  42. package/components/PlayerAccountBalanceModalNd-BJJzPbdP.js +0 -1586
  43. package/components/PlayerAccountBalanceModalNd-Ca8dF_9M.js +0 -1557
  44. package/components/PlayerAccountBalanceModalNd-P1iLuuUG.cjs +0 -13
  45. package/components/PlayerDeposit-B0r58Ypp.js +0 -414
  46. package/components/PlayerDeposit-BkVMpjA9.js +0 -414
  47. package/components/PlayerDeposit-CjEddUaf.cjs +0 -1
  48. package/stencil/gamification-dropdown-456bb56a-BJ9kAxaI.js +0 -103
  49. package/stencil/gamification-dropdown-456bb56a-CldmfDdk.js +0 -121
  50. package/stencil/gamification-dropdown-456bb56a-ClnsHPoT.cjs +0 -1
  51. package/stencil/gamification-dropdown-BdMkPvQc.js +0 -7
  52. package/stencil/gamification-dropdown-CnrQK1ei.cjs +0 -1
  53. package/stencil/gamification-dropdown-FVqK4we0.js +0 -25
  54. package/stencil/gamification-dropdown_4-DNV5b4s7.cjs +0 -192
  55. package/stencil/index-171550cf-BY--MwdX.cjs +0 -1
  56. package/stencil/index-171550cf-CVTOm2AV.js +0 -799
  57. package/stencil/index-171550cf-JwZ7TN-k.js +0 -772
  58. package/stencil/player-elevate-card-CW-95gEJ.cjs +0 -64
  59. package/stencil/player-elevate-card-items-2078bd83-DSxFMBLz.cjs +0 -1
  60. package/stencil/player-elevate-pointcard-DVgy3cq3.cjs +0 -1
@@ -0,0 +1,860 @@
1
+ var Ue = Object.defineProperty;
2
+ var re = Object.getOwnPropertySymbols;
3
+ var qe = Object.prototype.hasOwnProperty, Be = Object.prototype.propertyIsEnumerable;
4
+ var le = (e, t, s) => t in e ? Ue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, ie = (e, t) => {
5
+ for (var s in t || (t = {}))
6
+ qe.call(t, s) && le(e, s, t[s]);
7
+ if (re)
8
+ for (var s of re(t))
9
+ Be.call(t, s) && le(e, s, t[s]);
10
+ return e;
11
+ };
12
+ var U = (e, t, s) => new Promise((r, n) => {
13
+ var i = ($) => {
14
+ try {
15
+ l(s.next($));
16
+ } catch (c) {
17
+ n(c);
18
+ }
19
+ }, a = ($) => {
20
+ try {
21
+ l(s.throw($));
22
+ } catch (c) {
23
+ n(c);
24
+ }
25
+ }, l = ($) => $.done ? r($.value) : Promise.resolve($.value).then(i, a);
26
+ l((s = s.apply(e, t)).next());
27
+ });
28
+ const De = "gamification-dropdown", z = (
29
+ /* gamification-dropdown */
30
+ { experimentalSlotFixes: !1, hydratedSelectorName: "hydrated", lazyLoad: !0, slotRelocation: !0, updatable: !0 }
31
+ );
32
+ var Ce = Object.defineProperty, Fe = (e, t) => {
33
+ for (var s in t)
34
+ Ce(e, s, { get: t[s], enumerable: !0 });
35
+ }, We = "http://www.w3.org/2000/svg", Ge = "http://www.w3.org/1999/xhtml", N = /* @__PURE__ */ new WeakMap(), x = (e) => N.get(e), Rt = (e, t) => {
36
+ N.set(t.$lazyInstance$ = e, t);
37
+ }, Ye = (e, t) => {
38
+ const s = {
39
+ $flags$: 0,
40
+ $hostElement$: e,
41
+ $cmpMeta$: t,
42
+ $instanceValues$: /* @__PURE__ */ new Map()
43
+ };
44
+ return s.$onReadyPromise$ = new Promise((n) => s.$onReadyResolve$ = n), e["s-p"] = [], e["s-rc"] = [], N.set(e, s);
45
+ }, oe = (e, t) => t in e, L = (e, t) => (0, console.error)(e, t), Y = /* @__PURE__ */ new Map(), Xe = (e, t, s) => {
46
+ const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
47
+ if (!n)
48
+ return;
49
+ const i = Y.get(n);
50
+ if (i)
51
+ return i[r];
52
+ {
53
+ const a = (l) => (Y.set(n, l), l[r]);
54
+ switch (n) {
55
+ case "gamification-dropdown_4":
56
+ return import(
57
+ /* webpackMode: "lazy" */
58
+ "./gamification-dropdown_4-QRIgZIS5.js"
59
+ ).then(a, L);
60
+ case "player-elevate-card":
61
+ return import(
62
+ /* webpackMode: "lazy" */
63
+ "./player-elevate-card-CSXjQ70j.js"
64
+ ).then(a, L);
65
+ case "player-elevate-pointcard":
66
+ return import(
67
+ /* webpackMode: "lazy" */
68
+ "./player-elevate-pointcard-jvw6Jdcf.js"
69
+ ).then(a, L);
70
+ }
71
+ }
72
+ return import(
73
+ /* @vite-ignore */
74
+ /* webpackInclude: /\.entry\.js$/ */
75
+ /* webpackExclude: /\.system\.entry\.js$/ */
76
+ /* webpackMode: "lazy" */
77
+ `./${n}.entry.js`
78
+ ).then(
79
+ (a) => (Y.set(n, a), a[r]),
80
+ (a) => {
81
+ L(a, t.$hostElement$);
82
+ }
83
+ );
84
+ }, B = /* @__PURE__ */ new Map(), Je = "sty-id", Ke = "{visibility:hidden}.hydrated{visibility:inherit}", ve = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window != "undefined" ? window : {}, E = j.document || { head: {} }, p = {
85
+ $flags$: 0,
86
+ $resourcesUrl$: "",
87
+ jmp: (e) => e(),
88
+ raf: (e) => requestAnimationFrame(e),
89
+ ael: (e, t, s, r) => e.addEventListener(t, s, r),
90
+ rel: (e, t, s, r) => e.removeEventListener(t, s, r),
91
+ ce: (e, t) => new CustomEvent(e, t)
92
+ }, Qe = /* @__PURE__ */ (() => {
93
+ let e = !1;
94
+ try {
95
+ E.addEventListener(
96
+ "e",
97
+ null,
98
+ Object.defineProperty({}, "passive", {
99
+ get() {
100
+ e = !0;
101
+ }
102
+ })
103
+ );
104
+ } catch (t) {
105
+ }
106
+ return e;
107
+ })(), Ze = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
108
+ try {
109
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
110
+ } catch (e) {
111
+ }
112
+ return !1;
113
+ })(), J = !1, ae = [], ye = [], Me = (e, t) => (s) => {
114
+ e.push(s), J || (J = !0, p.$flags$ & 4 ? V(K) : p.raf(K));
115
+ }, $e = (e) => {
116
+ for (let t = 0; t < e.length; t++)
117
+ try {
118
+ e[t](performance.now());
119
+ } catch (s) {
120
+ L(s);
121
+ }
122
+ e.length = 0;
123
+ }, K = () => {
124
+ $e(ae), $e(ye), (J = ae.length > 0) && p.raf(K);
125
+ }, V = (e) => Ze().then(e), Ne = /* @__PURE__ */ Me(ye), zt = (e) => {
126
+ const t = new URL(e, p.$resourcesUrl$);
127
+ return t.origin !== j.location.origin ? t.href : t.pathname;
128
+ }, ee = (e) => (e = typeof e, e === "object" || e === "function");
129
+ function Se(e) {
130
+ var t, s, r;
131
+ return (r = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? r : void 0;
132
+ }
133
+ var Ve = {};
134
+ Fe(Ve, {
135
+ err: () => ke,
136
+ map: () => et,
137
+ ok: () => Q,
138
+ unwrap: () => tt,
139
+ unwrapErr: () => st
140
+ });
141
+ var Q = (e) => ({
142
+ isOk: !0,
143
+ isErr: !1,
144
+ value: e
145
+ }), ke = (e) => ({
146
+ isOk: !1,
147
+ isErr: !0,
148
+ value: e
149
+ });
150
+ function et(e, t) {
151
+ if (e.isOk) {
152
+ const s = t(e.value);
153
+ return s instanceof Promise ? s.then((r) => Q(r)) : Q(s);
154
+ }
155
+ if (e.isErr) {
156
+ const s = e.value;
157
+ return ke(s);
158
+ }
159
+ throw "should never get here";
160
+ }
161
+ var tt = (e) => {
162
+ if (e.isOk)
163
+ return e.value;
164
+ throw e.value;
165
+ }, st = (e) => {
166
+ if (e.isErr)
167
+ return e.value;
168
+ throw e.value;
169
+ }, Ee = (e) => {
170
+ const t = e.__childNodes || e.childNodes;
171
+ e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && _e(t, e.tagName).forEach((s) => {
172
+ var r;
173
+ s.nodeType === 1 && s.tagName === "SLOT-FB" && ((r = nt(s, s["s-sn"], !1)) != null && r.length ? s.hidden = !0 : s.hidden = !1);
174
+ });
175
+ for (const s of t)
176
+ s.nodeType === 1 && (s.__childNodes || s.childNodes).length && Ee(s);
177
+ };
178
+ function _e(e, t, s) {
179
+ let r = 0, n = [], i;
180
+ for (; r < e.length; r++)
181
+ i = e[r], i["s-sr"] && i["s-hn"] === t && s === void 0 && n.push(i), n = [...n, ..._e(i.childNodes, t, s)];
182
+ return n;
183
+ }
184
+ var nt = (e, t, s = !0) => {
185
+ const r = [];
186
+ for ((s && e["s-sr"] || !e["s-sr"]) && r.push(e); (e = e.nextSibling) && e["s-sn"] === t; )
187
+ r.push(e);
188
+ return r;
189
+ }, ce = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", w = (e, t = "") => () => {
190
+ }, rt = (e, t) => () => {
191
+ }, Te = (e, t, ...s) => {
192
+ let r = null, n = null, i = null, a = !1, l = !1;
193
+ const $ = [], c = (d) => {
194
+ for (let o = 0; o < d.length; o++)
195
+ r = d[o], Array.isArray(r) ? c(r) : r != null && typeof r != "boolean" && ((a = typeof e != "function" && !ee(r)) && (r = String(r)), a && l ? $[$.length - 1].$text$ += r : $.push(a ? D(null, r) : r), l = a);
196
+ };
197
+ if (c(s), t) {
198
+ t.key && (n = t.key), t.name && (i = t.name);
199
+ {
200
+ const d = t.className || t.class;
201
+ d && (t.class = typeof d != "object" ? d : Object.keys(d).filter((o) => d[o]).join(" "));
202
+ }
203
+ }
204
+ if (typeof e == "function")
205
+ return e(
206
+ t === null ? {} : t,
207
+ $,
208
+ ot
209
+ );
210
+ const f = D(e, null);
211
+ return f.$attrs$ = t, $.length > 0 && (f.$children$ = $), f.$key$ = n, f.$name$ = i, f;
212
+ }, D = (e, t) => {
213
+ const s = {
214
+ $flags$: 0,
215
+ $tag$: e,
216
+ $text$: t,
217
+ $elm$: null,
218
+ $children$: null
219
+ };
220
+ return s.$attrs$ = null, s.$key$ = null, s.$name$ = null, s;
221
+ }, lt = {}, it = (e) => e && e.$tag$ === lt, ot = {
222
+ forEach: (e, t) => e.map(fe).forEach(t),
223
+ map: (e, t) => e.map(fe).map(t).map(at)
224
+ }, fe = (e) => ({
225
+ vattrs: e.$attrs$,
226
+ vchildren: e.$children$,
227
+ vkey: e.$key$,
228
+ vname: e.$name$,
229
+ vtag: e.$tag$,
230
+ vtext: e.$text$
231
+ }), at = (e) => {
232
+ if (typeof e.vtag == "function") {
233
+ const s = ie({}, e.vattrs);
234
+ return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), Te(e.vtag, s, ...e.vchildren || []);
235
+ }
236
+ const t = D(e.vtag, e.vtext);
237
+ return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
238
+ }, Z = (e, t) => e != null && !ee(e) && t & 1 ? String(e) : e, $t = (e) => x(e).$hostElement$, Ht = (e, t, s) => {
239
+ const r = $t(e);
240
+ return {
241
+ emit: (n) => xe(r, t, {
242
+ bubbles: !0,
243
+ composed: !0,
244
+ cancelable: !0,
245
+ detail: n
246
+ })
247
+ };
248
+ }, xe = (e, t, s) => {
249
+ const r = p.ce(t, s);
250
+ return e.dispatchEvent(r), r;
251
+ }, A = /* @__PURE__ */ new WeakMap(), ct = (e, t, s) => {
252
+ let r = B.get(e);
253
+ ge && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, B.set(e, r);
254
+ }, ft = (e, t, s) => {
255
+ var r;
256
+ const n = Le(t), i = B.get(n);
257
+ if (e = e.nodeType === 11 ? e : E, i)
258
+ if (typeof i == "string") {
259
+ e = e.head || e;
260
+ let a = A.get(e), l;
261
+ if (a || A.set(e, a = /* @__PURE__ */ new Set()), !a.has(n)) {
262
+ {
263
+ l = document.querySelector(`[${Je}="${n}"]`) || E.createElement("style"), l.innerHTML = i;
264
+ const $ = (r = p.$nonce$) != null ? r : Se(E);
265
+ if ($ != null && l.setAttribute("nonce", $), !(t.$flags$ & 1))
266
+ if (e.nodeName === "HEAD") {
267
+ const c = e.querySelectorAll("link[rel=preconnect]"), f = c.length > 0 ? c[c.length - 1].nextSibling : e.querySelector("style");
268
+ e.insertBefore(
269
+ l,
270
+ (f == null ? void 0 : f.parentNode) === e ? f : null
271
+ );
272
+ } else if ("host" in e)
273
+ if (ge) {
274
+ const c = new CSSStyleSheet();
275
+ c.replaceSync(i), e.adoptedStyleSheets = [c, ...e.adoptedStyleSheets];
276
+ } else {
277
+ const c = e.querySelector("style");
278
+ c ? c.innerHTML = i + c.innerHTML : e.prepend(l);
279
+ }
280
+ else
281
+ e.append(l);
282
+ t.$flags$ & 1 && e.insertBefore(l, null);
283
+ }
284
+ t.$flags$ & 4 && (l.innerHTML += ve), a && a.add(n);
285
+ }
286
+ } else e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
287
+ return n;
288
+ }, dt = (e) => {
289
+ const t = e.$cmpMeta$, s = e.$hostElement$, r = t.$flags$, n = w("attachStyles", t.$tagName$), i = ft(
290
+ s.shadowRoot ? s.shadowRoot : s.getRootNode(),
291
+ t
292
+ );
293
+ (r & 10 && r & 2 || r & 128) && (s["s-sc"] = i, s.classList.add(i + "-h")), n();
294
+ }, Le = (e, t) => "sc-" + e.$tagName$, de = (e, t, s, r, n, i, a) => {
295
+ if (s !== r) {
296
+ let l = oe(e, t), $ = t.toLowerCase();
297
+ if (t === "class") {
298
+ const c = e.classList, f = ue(s);
299
+ let d = ue(r);
300
+ c.remove(...f.filter((o) => o && !d.includes(o))), c.add(...d.filter((o) => o && !f.includes(o)));
301
+ } else if (t === "style") {
302
+ for (const c in s)
303
+ (!r || r[c] == null) && (c.includes("-") ? e.style.removeProperty(c) : e.style[c] = "");
304
+ for (const c in r)
305
+ (!s || r[c] !== s[c]) && (c.includes("-") ? e.style.setProperty(c, r[c]) : e.style[c] = r[c]);
306
+ } else if (t !== "key") if (t === "ref")
307
+ r && r(e);
308
+ else if (!l && t[0] === "o" && t[1] === "n") {
309
+ if (t[2] === "-" ? t = t.slice(3) : oe(j, $) ? t = $.slice(2) : t = $[2] + t.slice(3), s || r) {
310
+ const c = t.endsWith(be);
311
+ t = t.replace(ht, ""), s && p.rel(e, t, s, c), r && p.ael(e, t, r, c);
312
+ }
313
+ } else {
314
+ const c = ee(r);
315
+ if ((l || c && r !== null) && !n)
316
+ try {
317
+ if (e.tagName.includes("-"))
318
+ e[t] !== r && (e[t] = r);
319
+ else {
320
+ const f = r == null ? "" : r;
321
+ t === "list" ? l = !1 : (s == null || e[t] != f) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = f : e.setAttribute(t, f));
322
+ }
323
+ } catch (f) {
324
+ }
325
+ r == null || r === !1 ? (r !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || n) && !c && (r = r === !0 ? "" : r, e.setAttribute(t, r));
326
+ }
327
+ }
328
+ }, ut = /\s/, ue = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(ut)), be = "Capture", ht = new RegExp(be + "$"), we = (e, t, s, r) => {
329
+ const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, a = t.$attrs$ || {};
330
+ for (const l of he(Object.keys(i)))
331
+ l in a || de(
332
+ n,
333
+ l,
334
+ i[l],
335
+ void 0,
336
+ s,
337
+ t.$flags$
338
+ );
339
+ for (const l of he(Object.keys(a)))
340
+ de(
341
+ n,
342
+ l,
343
+ i[l],
344
+ a[l],
345
+ s,
346
+ t.$flags$
347
+ );
348
+ };
349
+ function he(e) {
350
+ return e.includes("ref") ? (
351
+ // we need to sort these to ensure that `'ref'` is the last attr
352
+ [...e.filter((t) => t !== "ref"), "ref"]
353
+ ) : (
354
+ // no need to sort, return the original array
355
+ e
356
+ );
357
+ }
358
+ var M, G, C = !1, F = !1, te = !1, k = !1, W = (e, t, s) => {
359
+ var r;
360
+ const n = t.$children$[s];
361
+ let i = 0, a, l, $;
362
+ if (C || (te = !0, n.$tag$ === "slot" && (n.$flags$ |= n.$children$ ? (
363
+ // slot element has fallback content
364
+ // still create an element that "mocks" the slot element
365
+ 2
366
+ ) : (
367
+ // slot element does not have fallback content
368
+ // create an html comment we'll use to always reference
369
+ // where actual slot content should sit next to
370
+ 1
371
+ ))), n.$text$ !== null)
372
+ a = n.$elm$ = E.createTextNode(n.$text$);
373
+ else if (n.$flags$ & 1)
374
+ a = n.$elm$ = E.createTextNode("");
375
+ else {
376
+ if (k || (k = n.$tag$ === "svg"), a = n.$elm$ = E.createElementNS(
377
+ k ? We : Ge,
378
+ !C && z.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
379
+ ), k && n.$tag$ === "foreignObject" && (k = !1), we(null, n, k), n.$children$)
380
+ for (i = 0; i < n.$children$.length; ++i)
381
+ l = W(e, n, i), l && a.appendChild(l);
382
+ n.$tag$ === "svg" ? k = !1 : a.tagName === "foreignObject" && (k = !0);
383
+ }
384
+ return a["s-hn"] = G, n.$flags$ & 3 && (a["s-sr"] = !0, a["s-cr"] = M, a["s-sn"] = n.$name$ || "", a["s-rf"] = (r = n.$attrs$) == null ? void 0 : r.ref, $ = e && e.$children$ && e.$children$[s], $ && $.$tag$ === n.$tag$ && e.$elm$ && m(e.$elm$, !1)), a;
385
+ }, m = (e, t) => {
386
+ p.$flags$ |= 1;
387
+ const s = Array.from(e.__childNodes || e.childNodes);
388
+ e["s-sr"] && z.experimentalSlotFixes;
389
+ for (let r = s.length - 1; r >= 0; r--) {
390
+ const n = s[r];
391
+ n["s-hn"] !== G && n["s-ol"] && (O(I(n).parentNode, n, I(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, te = !0), t && m(n, t);
392
+ }
393
+ p.$flags$ &= -2;
394
+ }, Oe = (e, t, s, r, n, i) => {
395
+ let a = e["s-cr"] && e["s-cr"].parentNode || e, l;
396
+ for (a.shadowRoot && a.tagName === G && (a = a.shadowRoot); n <= i; ++n)
397
+ r[n] && (l = W(null, s, n), l && (r[n].$elm$ = l, O(a, l, I(t))));
398
+ }, Pe = (e, t, s) => {
399
+ for (let r = t; r <= s; ++r) {
400
+ const n = e[r];
401
+ if (n) {
402
+ const i = n.$elm$;
403
+ je(n), i && (F = !0, i["s-ol"] ? i["s-ol"].remove() : m(i, !0), i.remove());
404
+ }
405
+ }
406
+ }, pt = (e, t, s, r, n = !1) => {
407
+ let i = 0, a = 0, l = 0, $ = 0, c = t.length - 1, f = t[0], d = t[c], o = r.length - 1, u = r[0], h = r[o], v, S;
408
+ for (; i <= c && a <= o; )
409
+ if (f == null)
410
+ f = t[++i];
411
+ else if (d == null)
412
+ d = t[--c];
413
+ else if (u == null)
414
+ u = r[++a];
415
+ else if (h == null)
416
+ h = r[--o];
417
+ else if (q(f, u, n))
418
+ P(f, u, n), f = t[++i], u = r[++a];
419
+ else if (q(d, h, n))
420
+ P(d, h, n), d = t[--c], h = r[--o];
421
+ else if (q(f, h, n))
422
+ (f.$tag$ === "slot" || h.$tag$ === "slot") && m(f.$elm$.parentNode, !1), P(f, h, n), O(e, f.$elm$, d.$elm$.nextSibling), f = t[++i], h = r[--o];
423
+ else if (q(d, u, n))
424
+ (f.$tag$ === "slot" || h.$tag$ === "slot") && m(d.$elm$.parentNode, !1), P(d, u, n), O(e, d.$elm$, f.$elm$), d = t[--c], u = r[++a];
425
+ else {
426
+ for (l = -1, $ = i; $ <= c; ++$)
427
+ if (t[$] && t[$].$key$ !== null && t[$].$key$ === u.$key$) {
428
+ l = $;
429
+ break;
430
+ }
431
+ l >= 0 ? (S = t[l], S.$tag$ !== u.$tag$ ? v = W(t && t[a], s, l) : (P(S, u, n), t[l] = void 0, v = S.$elm$), u = r[++a]) : (v = W(t && t[a], s, a), u = r[++a]), v && O(
432
+ I(f.$elm$).parentNode,
433
+ v,
434
+ I(f.$elm$)
435
+ );
436
+ }
437
+ i > c ? Oe(
438
+ e,
439
+ r[o + 1] == null ? null : r[o + 1].$elm$,
440
+ s,
441
+ r,
442
+ a,
443
+ o
444
+ ) : a > o && Pe(t, i, c);
445
+ }, q = (e, t, s = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : s ? (s && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, I = (e) => e && e["s-ol"] || e, P = (e, t, s = !1) => {
446
+ const r = t.$elm$ = e.$elm$, n = e.$children$, i = t.$children$, a = t.$tag$, l = t.$text$;
447
+ let $;
448
+ l === null ? (k = a === "svg" ? !0 : a === "foreignObject" ? !1 : k, a === "slot" && !C || we(e, t, k), n !== null && i !== null ? pt(r, n, t, i, s) : i !== null ? (e.$text$ !== null && (r.textContent = ""), Oe(r, null, t, i, 0, i.length - 1)) : (
449
+ // don't do this on initial render as it can cause non-hydrated content to be removed
450
+ !s && z.updatable && n !== null && Pe(n, 0, n.length - 1)
451
+ ), k && a === "svg" && (k = !1)) : ($ = r["s-cr"]) ? $.parentNode.textContent = l : e.$text$ !== l && (r.data = l);
452
+ }, b = [], Ae = (e) => {
453
+ let t, s, r;
454
+ const n = e.__childNodes || e.childNodes;
455
+ for (const i of n) {
456
+ if (i["s-sr"] && (t = i["s-cr"]) && t.parentNode) {
457
+ s = t.parentNode.__childNodes || t.parentNode.childNodes;
458
+ const a = i["s-sn"];
459
+ for (r = s.length - 1; r >= 0; r--)
460
+ if (t = s[r], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== i["s-hn"])
461
+ if (ce(t, a)) {
462
+ let l = b.find(($) => $.$nodeToRelocate$ === t);
463
+ F = !0, t["s-sn"] = t["s-sn"] || a, l ? (l.$nodeToRelocate$["s-sh"] = i["s-hn"], l.$slotRefNode$ = i) : (t["s-sh"] = i["s-hn"], b.push({
464
+ $slotRefNode$: i,
465
+ $nodeToRelocate$: t
466
+ })), t["s-sr"] && b.map(($) => {
467
+ ce($.$nodeToRelocate$, t["s-sn"]) && (l = b.find((c) => c.$nodeToRelocate$ === t), l && !$.$slotRefNode$ && ($.$slotRefNode$ = l.$slotRefNode$));
468
+ });
469
+ } else b.some((l) => l.$nodeToRelocate$ === t) || b.push({
470
+ $nodeToRelocate$: t
471
+ });
472
+ }
473
+ i.nodeType === 1 && Ae(i);
474
+ }
475
+ }, je = (e) => {
476
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(je);
477
+ }, O = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), vt = (e, t, s = !1) => {
478
+ var r, n, i, a;
479
+ const l = e.$hostElement$, $ = e.$cmpMeta$, c = e.$vnode$ || D(null, null), f = it(t) ? t : Te(null, null, t);
480
+ if (G = l.tagName, $.$attrsToReflect$ && (f.$attrs$ = f.$attrs$ || {}, $.$attrsToReflect$.map(
481
+ ([d, o]) => f.$attrs$[o] = l[d]
482
+ )), s && f.$attrs$)
483
+ for (const d of Object.keys(f.$attrs$))
484
+ l.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && (f.$attrs$[d] = l[d]);
485
+ f.$tag$ = null, f.$flags$ |= 4, e.$vnode$ = f, f.$elm$ = c.$elm$ = l.shadowRoot || l, C = !!($.$flags$ & 1) && !($.$flags$ & 128), M = l["s-cr"], F = !1, P(c, f, s);
486
+ {
487
+ if (p.$flags$ |= 1, te) {
488
+ Ae(f.$elm$);
489
+ for (const d of b) {
490
+ const o = d.$nodeToRelocate$;
491
+ if (!o["s-ol"]) {
492
+ const u = E.createTextNode("");
493
+ u["s-nr"] = o, O(o.parentNode, o["s-ol"] = u, o);
494
+ }
495
+ }
496
+ for (const d of b) {
497
+ const o = d.$nodeToRelocate$, u = d.$slotRefNode$;
498
+ if (u) {
499
+ const h = u.parentNode;
500
+ let v = u.nextSibling;
501
+ {
502
+ let _ = (r = o["s-ol"]) == null ? void 0 : r.previousSibling;
503
+ for (; _; ) {
504
+ let y = (n = _["s-nr"]) != null ? n : null;
505
+ if (y && y["s-sn"] === o["s-sn"] && h === (y.__parentNode || y.parentNode)) {
506
+ for (y = y.nextSibling; y === o || y != null && y["s-sr"]; )
507
+ y = y == null ? void 0 : y.nextSibling;
508
+ if (!y || !y["s-nr"]) {
509
+ v = y;
510
+ break;
511
+ }
512
+ }
513
+ _ = _.previousSibling;
514
+ }
515
+ }
516
+ const S = o.__parentNode || o.parentNode, g = o.__nextSibling || o.nextSibling;
517
+ (!v && h !== S || g !== v) && o !== v && (!o["s-hn"] && o["s-ol"] && (o["s-hn"] = o["s-ol"].parentNode.nodeName), O(h, o, v), o.nodeType === 1 && o.tagName !== "SLOT-FB" && (o.hidden = (i = o["s-ih"]) != null ? i : !1)), o && typeof u["s-rf"] == "function" && u["s-rf"](o);
518
+ } else
519
+ o.nodeType === 1 && (s && (o["s-ih"] = (a = o.hidden) != null ? a : !1), o.hidden = !0);
520
+ }
521
+ }
522
+ F && Ee(f.$elm$), p.$flags$ &= -2, b.length = 0;
523
+ }
524
+ M = void 0;
525
+ }, me = (e, t) => {
526
+ if (t && !e.$onRenderResolve$ && t["s-p"]) {
527
+ const s = t["s-p"].push(
528
+ new Promise(
529
+ (r) => e.$onRenderResolve$ = () => {
530
+ t["s-p"].splice(s - 1, 1), r();
531
+ }
532
+ )
533
+ );
534
+ }
535
+ }, se = (e, t) => {
536
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
537
+ e.$flags$ |= 512;
538
+ return;
539
+ }
540
+ return me(e, e.$ancestorComponent$), Ne(() => gt(e, t));
541
+ }, gt = (e, t) => {
542
+ const s = e.$hostElement$, r = w("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
543
+ if (!n)
544
+ throw new Error(
545
+ `Can't render component <${s.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`
546
+ );
547
+ let i;
548
+ return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([a, l]) => R(n, a, l, s)), e.$queuedListeners$ = void 0), i = R(n, "componentWillLoad", void 0, s)), r(), yt(i, () => kt(e, n, t));
549
+ }, yt = (e, t) => St(e) ? e.then(t).catch((s) => {
550
+ console.error(s), t();
551
+ }) : t(), St = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", kt = (e, t, s) => U(void 0, null, function* () {
552
+ var r;
553
+ const n = e.$hostElement$, i = w("update", e.$cmpMeta$.$tagName$), a = n["s-rc"];
554
+ s && dt(e);
555
+ const l = w("render", e.$cmpMeta$.$tagName$);
556
+ Et(e, t, n, s), a && (a.map(($) => $()), n["s-rc"] = void 0), l(), i();
557
+ {
558
+ const $ = (r = n["s-p"]) != null ? r : [], c = () => _t(e);
559
+ $.length === 0 ? c() : (Promise.all($).then(c), e.$flags$ |= 4, $.length = 0);
560
+ }
561
+ }), Et = (e, t, s, r) => {
562
+ try {
563
+ t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, vt(e, t, r);
564
+ } catch (n) {
565
+ L(n, e.$hostElement$);
566
+ }
567
+ return null;
568
+ }, _t = (e) => {
569
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = w("postUpdate", t), n = e.$lazyInstance$, i = e.$ancestorComponent$;
570
+ R(n, "componentDidRender", void 0, s), e.$flags$ & 64 ? r() : (e.$flags$ |= 64, Tt(s), R(n, "componentDidLoad", void 0, s), r(), e.$onReadyResolve$(s), i || Ie()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && V(() => se(e, !1)), e.$flags$ &= -517;
571
+ }, Ie = (e) => {
572
+ V(() => xe(j, "appload", { detail: { namespace: De } }));
573
+ }, R = (e, t, s, r) => {
574
+ if (e && e[t])
575
+ try {
576
+ return e[t](s);
577
+ } catch (n) {
578
+ L(n, r);
579
+ }
580
+ }, Tt = (e) => {
581
+ var t;
582
+ return e.classList.add((t = z.hydratedSelectorName) != null ? t : "hydrated");
583
+ }, xt = (e, t) => x(e).$instanceValues$.get(t), X = (e, t, s, r) => {
584
+ const n = x(e);
585
+ if (!n)
586
+ throw new Error(
587
+ `Couldn't find host element for "${r.$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).`
588
+ );
589
+ const i = n.$hostElement$, a = n.$instanceValues$.get(t), l = n.$flags$, $ = n.$lazyInstance$;
590
+ s = Z(s, r.$members$[t][0]);
591
+ const c = Number.isNaN(a) && Number.isNaN(s), f = s !== a && !c;
592
+ if ((!(l & 8) || a === void 0) && f && (n.$instanceValues$.set(t, s), $)) {
593
+ if (r.$watchers$ && l & 128) {
594
+ const d = r.$watchers$[t];
595
+ d && d.map((o) => {
596
+ try {
597
+ $[o](s, a, t);
598
+ } catch (u) {
599
+ L(u, i);
600
+ }
601
+ });
602
+ }
603
+ (l & 18) === 2 && se(n, !1);
604
+ }
605
+ }, Re = (e, t, s) => {
606
+ var r, n;
607
+ const i = e.prototype;
608
+ if (t.$members$ || t.$watchers$ || e.watchers) {
609
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
610
+ const a = Object.entries((r = t.$members$) != null ? r : {});
611
+ if (a.map(([l, [$]]) => {
612
+ if ($ & 31 || s & 2 && $ & 32) {
613
+ const { get: c, set: f } = Object.getOwnPropertyDescriptor(i, l) || {};
614
+ c && (t.$members$[l][0] |= 2048), f && (t.$members$[l][0] |= 4096), (s & 1 || !c) && Object.defineProperty(i, l, {
615
+ get() {
616
+ {
617
+ if (!(t.$members$[l][0] & 2048))
618
+ return xt(this, l);
619
+ const d = x(this), o = d ? d.$lazyInstance$ : i;
620
+ return o ? o[l] : void 0;
621
+ }
622
+ },
623
+ configurable: !0,
624
+ enumerable: !0
625
+ }), Object.defineProperty(i, l, {
626
+ set(d) {
627
+ const o = x(this);
628
+ if (f) {
629
+ const u = $ & 32 ? this[l] : o.$hostElement$[l];
630
+ typeof u == "undefined" && o.$instanceValues$.get(l) ? d = o.$instanceValues$.get(l) : !o.$instanceValues$.get(l) && u && o.$instanceValues$.set(l, u), f.apply(this, [Z(d, $)]), d = $ & 32 ? this[l] : o.$hostElement$[l], X(this, l, d, t);
631
+ return;
632
+ }
633
+ {
634
+ if (!(s & 1) || !(t.$members$[l][0] & 4096)) {
635
+ X(this, l, d, t), s & 1 && !o.$lazyInstance$ && o.$onReadyPromise$.then(() => {
636
+ t.$members$[l][0] & 4096 && o.$lazyInstance$[l] !== o.$instanceValues$.get(l) && (o.$lazyInstance$[l] = d);
637
+ });
638
+ return;
639
+ }
640
+ const u = () => {
641
+ const h = o.$lazyInstance$[l];
642
+ !o.$instanceValues$.get(l) && h && o.$instanceValues$.set(l, h), o.$lazyInstance$[l] = Z(d, $), X(this, l, o.$lazyInstance$[l], t);
643
+ };
644
+ o.$lazyInstance$ ? u() : o.$onReadyPromise$.then(() => u());
645
+ }
646
+ }
647
+ });
648
+ }
649
+ }), s & 1) {
650
+ const l = /* @__PURE__ */ new Map();
651
+ i.attributeChangedCallback = function($, c, f) {
652
+ p.jmp(() => {
653
+ var d;
654
+ const o = l.get($);
655
+ if (this.hasOwnProperty(o) && z.lazyLoad)
656
+ f = this[o], delete this[o];
657
+ else {
658
+ if (i.hasOwnProperty(o) && typeof this[o] == "number" && // cast type to number to avoid TS compiler issues
659
+ this[o] == f)
660
+ return;
661
+ if (o == null) {
662
+ const h = x(this), v = h == null ? void 0 : h.$flags$;
663
+ if (v && !(v & 8) && v & 128 && f !== c) {
664
+ const S = h.$lazyInstance$, g = (d = t.$watchers$) == null ? void 0 : d[$];
665
+ g == null || g.forEach((_) => {
666
+ S[_] != null && S[_].call(S, f, c, $);
667
+ });
668
+ }
669
+ return;
670
+ }
671
+ }
672
+ const u = Object.getOwnPropertyDescriptor(i, o);
673
+ f = f === null && typeof this[o] == "boolean" ? !1 : f, f !== this[o] && (!u.get || u.set) && (this[o] = f);
674
+ });
675
+ }, e.observedAttributes = Array.from(
676
+ /* @__PURE__ */ new Set([
677
+ ...Object.keys((n = t.$watchers$) != null ? n : {}),
678
+ ...a.filter(
679
+ ([$, c]) => c[0] & 15
680
+ /* HasAttribute */
681
+ ).map(([$, c]) => {
682
+ var f;
683
+ const d = c[1] || $;
684
+ return l.set(d, $), c[0] & 512 && ((f = t.$attrsToReflect$) == null || f.push([$, d])), d;
685
+ })
686
+ ])
687
+ );
688
+ }
689
+ }
690
+ return e;
691
+ }, Lt = (e, t, s, r) => U(void 0, null, function* () {
692
+ let n;
693
+ if (!(t.$flags$ & 32)) {
694
+ if (t.$flags$ |= 32, s.$lazyBundleId$) {
695
+ const $ = Xe(s, t);
696
+ if ($ && "then" in $) {
697
+ const f = rt();
698
+ n = yield $, f();
699
+ } else
700
+ n = $;
701
+ if (!n)
702
+ throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
703
+ n.isProxied || (s.$watchers$ = n.watchers, Re(
704
+ n,
705
+ s,
706
+ 2
707
+ /* proxyState */
708
+ ), n.isProxied = !0);
709
+ const c = w("createInstance", s.$tagName$);
710
+ t.$flags$ |= 8;
711
+ try {
712
+ new n(t);
713
+ } catch (f) {
714
+ L(f, e);
715
+ }
716
+ t.$flags$ &= -9, t.$flags$ |= 128, c();
717
+ } else {
718
+ n = e.constructor;
719
+ const $ = e.localName;
720
+ customElements.whenDefined($).then(
721
+ () => t.$flags$ |= 128
722
+ /* isWatchReady */
723
+ );
724
+ }
725
+ if (n && n.style) {
726
+ let $;
727
+ typeof n.style == "string" && ($ = n.style);
728
+ const c = Le(s);
729
+ if (!B.has(c)) {
730
+ const f = w("registerStyles", s.$tagName$);
731
+ ct(c, $, !!(s.$flags$ & 1)), f();
732
+ }
733
+ }
734
+ }
735
+ const i = t.$ancestorComponent$, a = () => se(t, !0);
736
+ i && i["s-rc"] ? i["s-rc"].push(a) : a();
737
+ }), bt = (e, t) => {
738
+ }, wt = (e) => {
739
+ if (!(p.$flags$ & 1)) {
740
+ const t = x(e), s = t.$cmpMeta$, r = w("connectedCallback", s.$tagName$);
741
+ if (t.$flags$ & 1)
742
+ ze(e, t, s.$listeners$), t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => bt());
743
+ else {
744
+ t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
745
+ s.$flags$ & 12 && Ot(e);
746
+ {
747
+ let n = e;
748
+ for (; n = n.parentNode || n.host; )
749
+ if (n["s-p"]) {
750
+ me(t, t.$ancestorComponent$ = n);
751
+ break;
752
+ }
753
+ }
754
+ s.$members$ && Object.entries(s.$members$).map(([n, [i]]) => {
755
+ if (i & 31 && e.hasOwnProperty(n)) {
756
+ const a = e[n];
757
+ delete e[n], e[n] = a;
758
+ }
759
+ }), Lt(e, t, s);
760
+ }
761
+ r();
762
+ }
763
+ }, Ot = (e) => {
764
+ const t = e["s-cr"] = E.createComment(
765
+ ""
766
+ );
767
+ t["s-cn"] = !0, O(e, t, e.firstChild);
768
+ }, pe = (e, t) => {
769
+ R(e, "disconnectedCallback", void 0, t || e);
770
+ }, Pt = (e) => U(void 0, null, function* () {
771
+ if (!(p.$flags$ & 1)) {
772
+ const t = x(e);
773
+ t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ ? pe(t.$lazyInstance$, e) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => pe(t.$lazyInstance$, e));
774
+ }
775
+ A.has(e) && A.delete(e), e.shadowRoot && A.has(e.shadowRoot) && A.delete(e.shadowRoot);
776
+ }), Ut = (e, t = {}) => {
777
+ var s;
778
+ const r = w(), n = [], i = t.exclude || [], a = j.customElements, l = E.head, $ = /* @__PURE__ */ l.querySelector("meta[charset]"), c = /* @__PURE__ */ E.createElement("style"), f = [];
779
+ let d, o = !0;
780
+ Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", E.baseURI).href;
781
+ let u = !1;
782
+ if (e.map((h) => {
783
+ h[1].map((v) => {
784
+ var S;
785
+ const g = {
786
+ $flags$: v[0],
787
+ $tagName$: v[1],
788
+ $members$: v[2],
789
+ $listeners$: v[3]
790
+ };
791
+ g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$listeners$ = v[3], g.$attrsToReflect$ = [], g.$watchers$ = (S = v[4]) != null ? S : {};
792
+ const _ = g.$tagName$, y = class extends HTMLElement {
793
+ // StencilLazyHost
794
+ constructor(T) {
795
+ if (super(T), this.hasRegisteredEventListeners = !1, T = this, Ye(T, g), g.$flags$ & 1) {
796
+ if (!T.shadowRoot)
797
+ T.attachShadow({ mode: "open" });
798
+ else if (T.shadowRoot.mode !== "open")
799
+ throw new Error(
800
+ `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${T.shadowRoot.mode} but Stencil only supports open shadow roots.`
801
+ );
802
+ }
803
+ }
804
+ connectedCallback() {
805
+ const T = x(this);
806
+ this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, ze(this, T, g.$listeners$)), d && (clearTimeout(d), d = null), o ? f.push(this) : p.jmp(() => wt(this));
807
+ }
808
+ disconnectedCallback() {
809
+ p.jmp(() => Pt(this)), p.raf(() => {
810
+ var T;
811
+ const H = x(this), ne = f.findIndex((He) => He === this);
812
+ ne > -1 && f.splice(ne, 1), ((T = H == null ? void 0 : H.$vnode$) == null ? void 0 : T.$elm$) instanceof Node && !H.$vnode$.$elm$.isConnected && delete H.$vnode$.$elm$;
813
+ });
814
+ }
815
+ componentOnReady() {
816
+ return x(this).$onReadyPromise$;
817
+ }
818
+ };
819
+ g.$lazyBundleId$ = h[0], !i.includes(_) && !a.get(_) && (n.push(_), a.define(
820
+ _,
821
+ Re(
822
+ y,
823
+ g,
824
+ 1
825
+ /* isElementConstructor */
826
+ )
827
+ ));
828
+ });
829
+ }), n.length > 0 && (u && (c.textContent += ve), c.textContent += n.sort() + Ke, c.innerHTML.length)) {
830
+ c.setAttribute("data-styles", "");
831
+ const h = (s = p.$nonce$) != null ? s : Se(E);
832
+ h != null && c.setAttribute("nonce", h), l.insertBefore(c, $ ? $.nextSibling : l.firstChild);
833
+ }
834
+ o = !1, f.length ? f.map((h) => h.connectedCallback()) : p.jmp(() => d = setTimeout(Ie, 30)), r();
835
+ }, qt = (e, t) => t, ze = (e, t, s, r) => {
836
+ s && s.map(([n, i, a]) => {
837
+ const l = jt(e, n), $ = At(t, a), c = mt(n);
838
+ p.ael(l, i, $, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => p.rel(l, i, $, c));
839
+ });
840
+ }, At = (e, t) => (s) => {
841
+ var r;
842
+ try {
843
+ e.$flags$ & 256 ? (r = e.$lazyInstance$) == null || r[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
844
+ } catch (n) {
845
+ L(n, e.$hostElement$);
846
+ }
847
+ }, jt = (e, t) => t & 8 ? j : e, mt = (e) => Qe ? {
848
+ passive: (e & 1) !== 0,
849
+ capture: (e & 2) !== 0
850
+ } : (e & 2) !== 0;
851
+ export {
852
+ qt as F,
853
+ zt as a,
854
+ Ut as b,
855
+ Ht as c,
856
+ $t as g,
857
+ Te as h,
858
+ Ze as p,
859
+ Rt as r
860
+ };