@everymatrix/casino-header-controller 1.94.113 → 1.94.115

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 (58) hide show
  1. package/components/{CasinoHamburgerMenu-Bv3uMucd.cjs → CasinoHamburgerMenu-DsqrBU9E.cjs} +1 -1
  2. package/components/{CasinoHamburgerMenu-Y_8wGqbm.js → CasinoHamburgerMenu-Uhues3Sq.js} +1 -1
  3. package/components/{CasinoHamburgerMenu-CeTY-SeM.js → CasinoHamburgerMenu-qdgiJIO3.js} +1 -1
  4. package/components/{CasinoHeaderController-BlVqiNfn.js → CasinoHeaderController-DRURDus_.js} +7 -7
  5. package/components/{CasinoHeaderController-eXvzg3Jq.cjs → CasinoHeaderController-DpHzdNo8.cjs} +3 -3
  6. package/components/{CasinoHeaderController-BErbV7gD.js → CasinoHeaderController-k6rtWvK0.js} +7 -7
  7. package/components/{CasinoSlider-Bj2Xxwmf.cjs → CasinoSlider-BBR6cdtP.cjs} +1 -1
  8. package/components/{CasinoSlider-DlPGSrOG.js → CasinoSlider-BXSvj9tl.js} +1 -1
  9. package/components/{CasinoSlider-CpVMQKEn.js → CasinoSlider-BuZW2O6w.js} +1 -1
  10. package/components/{PlayerAccountBalanceModal-6wYcxSGH.js → PlayerAccountBalanceModal-6v7UUp8Y.js} +1 -1
  11. package/components/{PlayerAccountBalanceModal-BQg9ABp_.js → PlayerAccountBalanceModal-BGcevrN3.js} +1 -1
  12. package/components/{PlayerAccountBalanceModal-4cokH2w4.cjs → PlayerAccountBalanceModal-G-uFSdF5.cjs} +1 -1
  13. package/components/{PlayerDeposit-CmIKjEx4.js → PlayerDeposit-Be93fmoB.js} +1 -1
  14. package/components/{PlayerDeposit-CoC1hG07.cjs → PlayerDeposit-DdKIoAix.cjs} +1 -1
  15. package/components/{PlayerDeposit-Bmpb9pCG.js → PlayerDeposit-lioGwDAF.js} +1 -1
  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/{gamification-dropdown-D9hKQFhv.js → gamification-dropdown-BcCInWU8.js} +1 -1
  21. package/stencil/{gamification-dropdown-BxpkU8M9.js → gamification-dropdown-D2BaPNGd.js} +1 -1
  22. package/stencil/{gamification-dropdown-f420baf5-CACKvKEO.js → gamification-dropdown-f420baf5-BY4EAO2_.js} +1 -1
  23. package/stencil/{gamification-dropdown-f420baf5-CLODgWjA.cjs → gamification-dropdown-f420baf5-DRZaRdU6.cjs} +1 -1
  24. package/stencil/{gamification-dropdown-f420baf5-B9jddavl.js → gamification-dropdown-f420baf5-ibb2yWZV.js} +1 -1
  25. package/stencil/{gamification-dropdown-BJESrkl4.cjs → gamification-dropdown-h-6ixpoT.cjs} +1 -1
  26. package/stencil/{gamification-dropdown_4-DAoUkq94.js → gamification-dropdown_4-CMJumGd7.js} +4 -4
  27. package/stencil/{gamification-dropdown_4-C76tLndo.js → gamification-dropdown_4-DGTfuGf-.js} +4 -4
  28. package/stencil/{gamification-dropdown_4-DVeysxUd.cjs → gamification-dropdown_4-Dy43G6mS.cjs} +1 -1
  29. package/stencil/index-2ff63899-B-SHyDkB.js +612 -0
  30. package/stencil/index-2ff63899-C4RDeFFL.js +639 -0
  31. package/stencil/index-2ff63899-qt1Vej8s.cjs +1 -0
  32. package/stencil/index-71b1bdfa-DTWuKCIh.cjs +1 -0
  33. package/stencil/index-71b1bdfa-DkDMN81l.js +780 -0
  34. package/stencil/index-71b1bdfa-NHn_SpPh.js +753 -0
  35. package/stencil/{player-elevate-card-BglOf70s.cjs → player-elevate-card-BFjROJe3.cjs} +1 -1
  36. package/stencil/{player-elevate-card-EwAqQttd.js → player-elevate-card-DUkNd67W.js} +2 -2
  37. package/stencil/{player-elevate-card-items-9579265d-CIJ83s9p.cjs → player-elevate-card-items-9579265d-B5FcBuHS.cjs} +1 -1
  38. package/stencil/{player-elevate-card-items-9579265d-C85du6pQ.js → player-elevate-card-items-9579265d-BZyCHkak.js} +1 -1
  39. package/stencil/{player-elevate-card-items-9579265d-Izevh2xm.js → player-elevate-card-items-9579265d-IXvzDAUB.js} +1 -1
  40. package/stencil/{player-elevate-card-C5FgJuOw.js → player-elevate-card-pjnnyHvG.js} +2 -2
  41. package/stencil/{player-elevate-pointcard-C3N8iiVa.cjs → player-elevate-pointcard-CBvKl_u6.cjs} +1 -1
  42. package/stencil/{player-elevate-pointcard-BWczyGse.js → player-elevate-pointcard-ChSegmzB.js} +2 -2
  43. package/stencil/{player-elevate-pointcard-DibLpKLg.js → player-elevate-pointcard-DSS_dapU.js} +2 -2
  44. package/stencil/{player-rakeback-card-CW7ApmgN.js → player-rakeback-card-BJ4relDO.js} +1 -1
  45. package/stencil/{player-rakeback-card-wnIW3uOR.cjs → player-rakeback-card-By1JA-NO.cjs} +1 -1
  46. package/stencil/{player-rakeback-card-D1N6W9Gw.js → player-rakeback-card-c8BtiMtu.js} +1 -1
  47. package/stencil/{player-step-up-auth_2-WA-9cKH3.cjs → player-step-up-auth_2--4edZ0-c.cjs} +1 -1
  48. package/stencil/{player-step-up-auth_2-D4czo31B.js → player-step-up-auth_2-C8kJebfy.js} +1 -1
  49. package/stencil/{player-step-up-auth_2-DXLUlAEa.js → player-step-up-auth_2-CulwZtfL.js} +1 -1
  50. package/stencil/{user-deposit-withdrawal-WPUeezMc.cjs → user-deposit-withdrawal-DdykoVsb.cjs} +1 -1
  51. package/stencil/{user-deposit-withdrawal-DMbtVbPf.js → user-deposit-withdrawal-HSAXua7b.js} +1 -1
  52. package/stencil/{user-deposit-withdrawal-D9r-XM8W.js → user-deposit-withdrawal-RlkaIhto.js} +1 -1
  53. package/stencil/index-2ff63899-C7V_7_vy.js +0 -605
  54. package/stencil/index-2ff63899-CG1n-T0z.cjs +0 -1
  55. package/stencil/index-2ff63899-P6O3NofJ.js +0 -632
  56. package/stencil/index-71b1bdfa-DbvN7INE.cjs +0 -1
  57. package/stencil/index-71b1bdfa-GxHUt4yQ.js +0 -746
  58. package/stencil/index-71b1bdfa-OIIFN144.js +0 -773
@@ -1,746 +0,0 @@
1
- const Pe = "gamification-dropdown", M = (
2
- /* gamification-dropdown */
3
- { experimentalSlotFixes: !1, hydratedSelectorName: "hydrated", slotRelocation: !0 }
4
- );
5
- var Ae = Object.defineProperty, Oe = (e, t) => {
6
- for (var r in t)
7
- Ae(e, r, { get: t[r], enumerable: !0 });
8
- }, W = /* @__PURE__ */ new WeakMap(), x = (e) => W.get(e), kt = (e, t) => W.set(t.$lazyInstance$ = e, t), je = (e, t) => {
9
- const r = {
10
- $flags$: 0,
11
- $hostElement$: e,
12
- $cmpMeta$: t,
13
- $instanceValues$: /* @__PURE__ */ new Map()
14
- };
15
- return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], W.set(e, r);
16
- }, Q = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), z = /* @__PURE__ */ new Map(), Re = (e, t, r) => {
17
- const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
18
- if (!n)
19
- return;
20
- const a = z.get(n);
21
- if (a)
22
- return a[s];
23
- {
24
- const l = (o) => (z.set(n, o), o[s]);
25
- switch (n) {
26
- case "gamification-dropdown_4":
27
- return import(
28
- /* webpackMode: "lazy" */
29
- "./gamification-dropdown_4-DAoUkq94.js"
30
- ).then(l, b);
31
- case "player-elevate-card":
32
- return import(
33
- /* webpackMode: "lazy" */
34
- "./player-elevate-card-C5FgJuOw.js"
35
- ).then(l, b);
36
- case "player-elevate-pointcard":
37
- return import(
38
- /* webpackMode: "lazy" */
39
- "./player-elevate-pointcard-BWczyGse.js"
40
- ).then(l, b);
41
- case "player-rakeback-card":
42
- return import(
43
- /* webpackMode: "lazy" */
44
- "./player-rakeback-card-CW7ApmgN.js"
45
- ).then(l, b);
46
- }
47
- }
48
- return import(
49
- /* @vite-ignore */
50
- /* webpackInclude: /\.entry\.js$/ */
51
- /* webpackExclude: /\.system\.entry\.js$/ */
52
- /* webpackMode: "lazy" */
53
- `./${n}.entry.js`
54
- ).then((l) => (z.set(n, l), l[s]), b);
55
- }, R = /* @__PURE__ */ new Map(), Ne = "{visibility:hidden}.hydrated{visibility:inherit}", oe = "slot-fb{display:contents}slot-fb[hidden]{display:none}", P = typeof window < "u" ? window : {}, m = P.document || { head: {} }, h = {
56
- $flags$: 0,
57
- $resourcesUrl$: "",
58
- jmp: (e) => e(),
59
- raf: (e) => requestAnimationFrame(e),
60
- ael: (e, t, r, s) => e.addEventListener(t, r, s),
61
- rel: (e, t, r, s) => e.removeEventListener(t, r, s),
62
- ce: (e, t) => new CustomEvent(e, t)
63
- }, Ie = /* @__PURE__ */ (() => {
64
- let e = !1;
65
- try {
66
- m.addEventListener(
67
- "e",
68
- null,
69
- Object.defineProperty({}, "passive", {
70
- get() {
71
- e = !0;
72
- }
73
- })
74
- );
75
- } catch {
76
- }
77
- return e;
78
- })(), Ce = (e) => Promise.resolve(e), Ue = /* @__PURE__ */ (() => {
79
- try {
80
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
81
- } catch {
82
- }
83
- return !1;
84
- })(), q = !1, Z = [], $e = [], He = (e, t) => (r) => {
85
- e.push(r), q || (q = !0, h.$flags$ & 4 ? G(B) : h.raf(B));
86
- }, V = (e) => {
87
- for (let t = 0; t < e.length; t++)
88
- try {
89
- e[t](performance.now());
90
- } catch (r) {
91
- b(r);
92
- }
93
- e.length = 0;
94
- }, B = () => {
95
- V(Z), V($e), (q = Z.length > 0) && h.raf(B);
96
- }, G = (e) => Ce().then(e), ze = /* @__PURE__ */ He($e), Et = (e) => {
97
- const t = new URL(e, h.$resourcesUrl$);
98
- return t.origin !== P.location.origin ? t.href : t.pathname;
99
- }, ee = {}, qe = "http://www.w3.org/2000/svg", Be = "http://www.w3.org/1999/xhtml", Fe = (e) => e != null, X = (e) => (e = typeof e, e === "object" || e === "function");
100
- function ce(e) {
101
- var t, r, s;
102
- 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;
103
- }
104
- var De = {};
105
- Oe(De, {
106
- err: () => fe,
107
- map: () => Me,
108
- ok: () => F,
109
- unwrap: () => We,
110
- unwrapErr: () => Ge
111
- });
112
- var F = (e) => ({
113
- isOk: !0,
114
- isErr: !1,
115
- value: e
116
- }), fe = (e) => ({
117
- isOk: !1,
118
- isErr: !0,
119
- value: e
120
- });
121
- function Me(e, t) {
122
- if (e.isOk) {
123
- const r = t(e.value);
124
- return r instanceof Promise ? r.then((s) => F(s)) : F(r);
125
- }
126
- if (e.isErr) {
127
- const r = e.value;
128
- return fe(r);
129
- }
130
- throw "should never get here";
131
- }
132
- var We = (e) => {
133
- if (e.isOk)
134
- return e.value;
135
- throw e.value;
136
- }, Ge = (e) => {
137
- if (e.isErr)
138
- return e.value;
139
- throw e.value;
140
- }, L = (e, t = "") => () => {
141
- }, ue = (e, t, ...r) => {
142
- let s = null, n = null, a = null, l = !1, o = !1;
143
- const i = [], u = (f) => {
144
- for (let $ = 0; $ < f.length; $++)
145
- s = f[$], Array.isArray(s) ? u(s) : s != null && typeof s != "boolean" && ((l = typeof e != "function" && !X(s)) && (s = String(s)), l && o ? i[i.length - 1].$text$ += s : i.push(l ? N(null, s) : s), o = l);
146
- };
147
- if (u(r), t) {
148
- t.key && (n = t.key), t.name && (a = t.name);
149
- {
150
- const f = t.className || t.class;
151
- f && (t.class = typeof f != "object" ? f : Object.keys(f).filter(($) => f[$]).join(" "));
152
- }
153
- }
154
- if (typeof e == "function")
155
- return e(
156
- t === null ? {} : t,
157
- i,
158
- Je
159
- );
160
- const c = N(e, null);
161
- return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = n, c.$name$ = a, c;
162
- }, N = (e, t) => {
163
- const r = {
164
- $flags$: 0,
165
- $tag$: e,
166
- $text$: t,
167
- $elm$: null,
168
- $children$: null
169
- };
170
- return r.$attrs$ = null, r.$key$ = null, r.$name$ = null, r;
171
- }, Xe = {}, Ye = (e) => e && e.$tag$ === Xe, Je = {
172
- forEach: (e, t) => e.map(te).forEach(t),
173
- map: (e, t) => e.map(te).map(t).map(Ke)
174
- }, te = (e) => ({
175
- vattrs: e.$attrs$,
176
- vchildren: e.$children$,
177
- vkey: e.$key$,
178
- vname: e.$name$,
179
- vtag: e.$tag$,
180
- vtext: e.$text$
181
- }), Ke = (e) => {
182
- if (typeof e.vtag == "function") {
183
- const r = { ...e.vattrs };
184
- return e.vkey && (r.key = e.vkey), e.vname && (r.name = e.vname), ue(e.vtag, r, ...e.vchildren || []);
185
- }
186
- const t = N(e.vtag, e.vtext);
187
- return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
188
- }, Qe = (e, t) => e != null && !X(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, Ze = (e) => x(e).$hostElement$, Tt = (e, t, r) => {
189
- const s = Ze(e);
190
- return {
191
- emit: (n) => de(s, t, {
192
- bubbles: !0,
193
- composed: !0,
194
- cancelable: !0,
195
- detail: n
196
- })
197
- };
198
- }, de = (e, t, r) => {
199
- const s = h.ce(t, r);
200
- return e.dispatchEvent(s), s;
201
- }, se = /* @__PURE__ */ new WeakMap(), Ve = (e, t, r) => {
202
- let s = R.get(e);
203
- Ue && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, R.set(e, s);
204
- }, et = (e, t, r) => {
205
- var s;
206
- const n = ve(t), a = R.get(n);
207
- if (e = e.nodeType === 11 ? e : m, a)
208
- if (typeof a == "string") {
209
- e = e.head || e;
210
- let l = se.get(e), o;
211
- if (l || se.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
212
- {
213
- o = m.createElement("style"), o.innerHTML = a;
214
- const i = (s = h.$nonce$) != null ? s : ce(m);
215
- i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
216
- }
217
- t.$flags$ & 4 && (o.innerHTML += oe), l && l.add(n);
218
- }
219
- } else
220
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
221
- return n;
222
- }, tt = (e) => {
223
- const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$;
224
- L("attachStyles", t.$tagName$);
225
- const n = et(
226
- r.shadowRoot ? r.shadowRoot : r.getRootNode(),
227
- t
228
- );
229
- s & 10 && (r["s-sc"] = n, r.classList.add(n + "-h"));
230
- }, ve = (e, t) => "sc-" + e.$tagName$, re = (e, t, r, s, n, a) => {
231
- if (r !== s) {
232
- let l = Q(e, t), o = t.toLowerCase();
233
- if (t === "class") {
234
- const i = e.classList, u = ne(r), c = ne(s);
235
- i.remove(...u.filter((f) => f && !c.includes(f))), i.add(...c.filter((f) => f && !u.includes(f)));
236
- } else if (t === "style") {
237
- for (const i in r)
238
- (!s || s[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
239
- for (const i in s)
240
- (!r || s[i] !== r[i]) && (i.includes("-") ? e.style.setProperty(i, s[i]) : e.style[i] = s[i]);
241
- } else if (t !== "key")
242
- if (t === "ref")
243
- s && s(e);
244
- else if (!l && t[0] === "o" && t[1] === "n") {
245
- if (t[2] === "-" ? t = t.slice(3) : Q(P, o) ? t = o.slice(2) : t = o[2] + t.slice(3), r || s) {
246
- const i = t.endsWith(pe);
247
- t = t.replace(rt, ""), r && h.rel(e, t, r, i), s && h.ael(e, t, s, i);
248
- }
249
- } else {
250
- const i = X(s);
251
- if ((l || i && s !== null) && !n)
252
- try {
253
- if (e.tagName.includes("-"))
254
- e[t] = s;
255
- else {
256
- const u = s ?? "";
257
- t === "list" ? l = !1 : (r == null || e[t] != u) && (e[t] = u);
258
- }
259
- } catch {
260
- }
261
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || n) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
262
- }
263
- }
264
- }, st = /\s/, ne = (e) => e ? e.split(st) : [], pe = "Capture", rt = new RegExp(pe + "$"), he = (e, t, r) => {
265
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || ee, a = t.$attrs$ || ee;
266
- for (const l of le(Object.keys(n)))
267
- l in a || re(s, l, n[l], void 0, r, t.$flags$);
268
- for (const l of le(Object.keys(a)))
269
- re(s, l, n[l], a[l], r, t.$flags$);
270
- };
271
- function le(e) {
272
- return e.includes("ref") ? (
273
- // we need to sort these to ensure that `'ref'` is the last attr
274
- [...e.filter((t) => t !== "ref"), "ref"]
275
- ) : (
276
- // no need to sort, return the original array
277
- e
278
- );
279
- }
280
- var w, D, H, I = !1, C = !1, Y = !1, S = !1, U = (e, t, r, s) => {
281
- var n;
282
- const a = t.$children$[r];
283
- let l = 0, o, i, u;
284
- if (I || (Y = !0, a.$tag$ === "slot" && (w && s.classList.add(w + "-s"), a.$flags$ |= a.$children$ ? (
285
- // slot element has fallback content
286
- // still create an element that "mocks" the slot element
287
- 2
288
- ) : (
289
- // slot element does not have fallback content
290
- // create an html comment we'll use to always reference
291
- // where actual slot content should sit next to
292
- 1
293
- ))), a.$text$ !== null)
294
- o = a.$elm$ = m.createTextNode(a.$text$);
295
- else if (a.$flags$ & 1)
296
- o = a.$elm$ = m.createTextNode("");
297
- else {
298
- if (S || (S = a.$tag$ === "svg"), o = a.$elm$ = m.createElementNS(
299
- S ? qe : Be,
300
- !I && M.slotRelocation && a.$flags$ & 2 ? "slot-fb" : a.$tag$
301
- ), S && a.$tag$ === "foreignObject" && (S = !1), he(null, a, S), Fe(w) && o["s-si"] !== w && o.classList.add(o["s-si"] = w), a.$children$)
302
- for (l = 0; l < a.$children$.length; ++l)
303
- i = U(e, a, l, o), i && o.appendChild(i);
304
- a.$tag$ === "svg" ? S = !1 : o.tagName === "foreignObject" && (S = !0);
305
- }
306
- return o["s-hn"] = H, a.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = D, o["s-sn"] = a.$name$ || "", o["s-rf"] = (n = a.$attrs$) == null ? void 0 : n.ref, u = e && e.$children$ && e.$children$[r], u && u.$tag$ === a.$tag$ && e.$elm$ && A(e.$elm$, !1)), o;
307
- }, A = (e, t) => {
308
- h.$flags$ |= 1;
309
- const r = Array.from(e.childNodes);
310
- e["s-sr"] && M.experimentalSlotFixes;
311
- for (let s = r.length - 1; s >= 0; s--) {
312
- const n = r[s];
313
- n["s-hn"] !== H && n["s-ol"] && (T(me(n), n, J(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, Y = !0), t && A(n, t);
314
- }
315
- h.$flags$ &= -2;
316
- }, ge = (e, t, r, s, n, a) => {
317
- let l = e["s-cr"] && e["s-cr"].parentNode || e, o;
318
- for (l.shadowRoot && l.tagName === H && (l = l.shadowRoot); n <= a; ++n)
319
- s[n] && (o = U(null, r, n, e), o && (s[n].$elm$ = o, T(l, o, J(t))));
320
- }, ye = (e, t, r) => {
321
- for (let s = t; s <= r; ++s) {
322
- const n = e[s];
323
- if (n) {
324
- const a = n.$elm$;
325
- ke(n), a && (C = !0, a["s-ol"] ? a["s-ol"].remove() : A(a, !0), a.remove());
326
- }
327
- }
328
- }, nt = (e, t, r, s, n = !1) => {
329
- let a = 0, l = 0, o = 0, i = 0, u = t.length - 1, c = t[0], f = t[u], $ = s.length - 1, d = s[0], v = s[$], y, p;
330
- for (; a <= u && l <= $; )
331
- if (c == null)
332
- c = t[++a];
333
- else if (f == null)
334
- f = t[--u];
335
- else if (d == null)
336
- d = s[++l];
337
- else if (v == null)
338
- v = s[--$];
339
- else if (j(c, d, n))
340
- _(c, d, n), c = t[++a], d = s[++l];
341
- else if (j(f, v, n))
342
- _(f, v, n), f = t[--u], v = s[--$];
343
- else if (j(c, v, n))
344
- (c.$tag$ === "slot" || v.$tag$ === "slot") && A(c.$elm$.parentNode, !1), _(c, v, n), T(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], v = s[--$];
345
- else if (j(f, d, n))
346
- (c.$tag$ === "slot" || v.$tag$ === "slot") && A(f.$elm$.parentNode, !1), _(f, d, n), T(e, f.$elm$, c.$elm$), f = t[--u], d = s[++l];
347
- else {
348
- for (o = -1, i = a; i <= u; ++i)
349
- if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
350
- o = i;
351
- break;
352
- }
353
- o >= 0 ? (p = t[o], p.$tag$ !== d.$tag$ ? y = U(t && t[l], r, o, e) : (_(p, d, n), t[o] = void 0, y = p.$elm$), d = s[++l]) : (y = U(t && t[l], r, l, e), d = s[++l]), y && T(me(c.$elm$), y, J(c.$elm$));
354
- }
355
- a > u ? ge(
356
- e,
357
- s[$ + 1] == null ? null : s[$ + 1].$elm$,
358
- r,
359
- s,
360
- l,
361
- $
362
- ) : l > $ && ye(t, a, u);
363
- }, j = (e, t, r = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : r ? !0 : e.$key$ === t.$key$ : !1, J = (e) => e && e["s-ol"] || e, me = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, _ = (e, t, r = !1) => {
364
- const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$tag$, o = t.$text$;
365
- let i;
366
- o === null ? (S = l === "svg" ? !0 : l === "foreignObject" ? !1 : S, l === "slot" && !I || he(e, t, S), n !== null && a !== null ? nt(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ge(s, null, t, a, 0, a.length - 1)) : n !== null && ye(n, 0, n.length - 1), S && l === "svg" && (S = !1)) : (i = s["s-cr"]) ? i.parentNode.textContent = o : e.$text$ !== o && (s.data = o);
367
- }, Se = (e) => {
368
- const t = e.childNodes;
369
- for (const r of t)
370
- if (r.nodeType === 1) {
371
- if (r["s-sr"]) {
372
- const s = r["s-sn"];
373
- r.hidden = !1;
374
- for (const n of t)
375
- if (n !== r) {
376
- if (n["s-hn"] !== r["s-hn"] || s !== "") {
377
- if (n.nodeType === 1 && (s === n.getAttribute("slot") || s === n["s-sn"]) || n.nodeType === 3 && s === n["s-sn"]) {
378
- r.hidden = !0;
379
- break;
380
- }
381
- } else if (n.nodeType === 1 || n.nodeType === 3 && n.textContent.trim() !== "") {
382
- r.hidden = !0;
383
- break;
384
- }
385
- }
386
- }
387
- Se(r);
388
- }
389
- }, E = [], be = (e) => {
390
- let t, r, s;
391
- for (const n of e.childNodes) {
392
- if (n["s-sr"] && (t = n["s-cr"]) && t.parentNode) {
393
- r = t.parentNode.childNodes;
394
- const a = n["s-sn"];
395
- for (s = r.length - 1; s >= 0; s--)
396
- if (t = r[s], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== n["s-hn"])
397
- if (ae(t, a)) {
398
- let l = E.find((o) => o.$nodeToRelocate$ === t);
399
- C = !0, t["s-sn"] = t["s-sn"] || a, l ? (l.$nodeToRelocate$["s-sh"] = n["s-hn"], l.$slotRefNode$ = n) : (t["s-sh"] = n["s-hn"], E.push({
400
- $slotRefNode$: n,
401
- $nodeToRelocate$: t
402
- })), t["s-sr"] && E.map((o) => {
403
- ae(o.$nodeToRelocate$, t["s-sn"]) && (l = E.find((i) => i.$nodeToRelocate$ === t), l && !o.$slotRefNode$ && (o.$slotRefNode$ = l.$slotRefNode$));
404
- });
405
- } else
406
- E.some((l) => l.$nodeToRelocate$ === t) || E.push({
407
- $nodeToRelocate$: t
408
- });
409
- }
410
- n.nodeType === 1 && be(n);
411
- }
412
- }, ae = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", ke = (e) => {
413
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ke);
414
- }, T = (e, t, r) => e?.insertBefore(t, r), lt = (e, t, r = !1) => {
415
- var s, n, a, l;
416
- const o = e.$hostElement$, i = e.$cmpMeta$, u = e.$vnode$ || N(null, null), c = Ye(t) ? t : ue(null, null, t);
417
- if (H = o.tagName, i.$attrsToReflect$ && (c.$attrs$ = c.$attrs$ || {}, i.$attrsToReflect$.map(
418
- ([f, $]) => c.$attrs$[$] = o[f]
419
- )), r && c.$attrs$)
420
- for (const f of Object.keys(c.$attrs$))
421
- o.hasAttribute(f) && !["key", "ref", "style", "class"].includes(f) && (c.$attrs$[f] = o[f]);
422
- c.$tag$ = null, c.$flags$ |= 4, e.$vnode$ = c, c.$elm$ = u.$elm$ = o.shadowRoot || o, w = o["s-sc"], I = (i.$flags$ & 1) !== 0, D = o["s-cr"], C = !1, _(u, c, r);
423
- {
424
- if (h.$flags$ |= 1, Y) {
425
- be(c.$elm$);
426
- for (const f of E) {
427
- const $ = f.$nodeToRelocate$;
428
- if (!$["s-ol"]) {
429
- const d = m.createTextNode("");
430
- d["s-nr"] = $, T($.parentNode, $["s-ol"] = d, $);
431
- }
432
- }
433
- for (const f of E) {
434
- const $ = f.$nodeToRelocate$, d = f.$slotRefNode$;
435
- if (d) {
436
- const v = d.parentNode;
437
- let y = d.nextSibling;
438
- {
439
- let p = (s = $["s-ol"]) == null ? void 0 : s.previousSibling;
440
- for (; p; ) {
441
- let g = (n = p["s-nr"]) != null ? n : null;
442
- if (g && g["s-sn"] === $["s-sn"] && v === g.parentNode) {
443
- for (g = g.nextSibling; g === $ || g?.["s-sr"]; )
444
- g = g?.nextSibling;
445
- if (!g || !g["s-nr"]) {
446
- y = g;
447
- break;
448
- }
449
- }
450
- p = p.previousSibling;
451
- }
452
- }
453
- (!y && v !== $.parentNode || $.nextSibling !== y) && $ !== y && (!$["s-hn"] && $["s-ol"] && ($["s-hn"] = $["s-ol"].parentNode.nodeName), T(v, $, y), $.nodeType === 1 && ($.hidden = (a = $["s-ih"]) != null ? a : !1)), $ && typeof d["s-rf"] == "function" && d["s-rf"]($);
454
- } else
455
- $.nodeType === 1 && (r && ($["s-ih"] = (l = $.hidden) != null ? l : !1), $.hidden = !0);
456
- }
457
- }
458
- C && Se(c.$elm$), h.$flags$ &= -2, E.length = 0;
459
- }
460
- D = void 0;
461
- }, Ee = (e, t) => {
462
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
463
- }, K = (e, t) => {
464
- if (e.$flags$ |= 16, e.$flags$ & 4) {
465
- e.$flags$ |= 512;
466
- return;
467
- }
468
- return Ee(e, e.$ancestorComponent$), ze(() => at(e, t));
469
- }, at = (e, t) => {
470
- const r = e.$hostElement$;
471
- L("scheduleUpdate", e.$cmpMeta$.$tagName$);
472
- const s = e.$lazyInstance$;
473
- if (!s)
474
- throw new Error(
475
- `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`
476
- );
477
- let n;
478
- return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([a, l]) => O(s, a, l)), e.$queuedListeners$ = void 0), n = O(s, "componentWillLoad")), it(n, () => $t(e, s, t));
479
- }, it = (e, t) => ot(e) ? e.then(t).catch((r) => {
480
- console.error(r), t();
481
- }) : t(), ot = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", $t = async (e, t, r) => {
482
- var s;
483
- const n = e.$hostElement$;
484
- L("update", e.$cmpMeta$.$tagName$);
485
- const a = n["s-rc"];
486
- r && tt(e), L("render", e.$cmpMeta$.$tagName$), ct(e, t, n, r), a && (a.map((l) => l()), n["s-rc"] = void 0);
487
- {
488
- const l = (s = n["s-p"]) != null ? s : [], o = () => ft(e);
489
- l.length === 0 ? o() : (Promise.all(l).then(o), e.$flags$ |= 4, l.length = 0);
490
- }
491
- }, ct = (e, t, r, s) => {
492
- try {
493
- t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, lt(e, t, s);
494
- } catch (n) {
495
- b(n, e.$hostElement$);
496
- }
497
- return null;
498
- }, ft = (e) => {
499
- e.$cmpMeta$.$tagName$;
500
- const t = e.$hostElement$, r = e.$lazyInstance$, s = e.$ancestorComponent$;
501
- O(r, "componentDidRender"), e.$flags$ & 64 || (e.$flags$ |= 64, xe(t), O(r, "componentDidLoad"), e.$onReadyResolve$(t), s || Te()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && G(() => K(e, !1)), e.$flags$ &= -517;
502
- }, Te = (e) => {
503
- xe(m.documentElement), G(() => de(P, "appload", { detail: { namespace: Pe } }));
504
- }, O = (e, t, r) => {
505
- if (e && e[t])
506
- try {
507
- return e[t](r);
508
- } catch (s) {
509
- b(s);
510
- }
511
- }, xe = (e) => {
512
- var t;
513
- return e.classList.add((t = M.hydratedSelectorName) != null ? t : "hydrated");
514
- }, ut = (e, t) => x(e).$instanceValues$.get(t), dt = (e, t, r, s) => {
515
- const n = x(e);
516
- if (!n)
517
- throw new Error(
518
- `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).`
519
- );
520
- const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, i = n.$lazyInstance$;
521
- r = Qe(r, s.$members$[t][0]);
522
- const u = Number.isNaN(l) && Number.isNaN(r), c = r !== l && !u;
523
- if ((!(o & 8) || l === void 0) && c && (n.$instanceValues$.set(t, r), i)) {
524
- if (s.$watchers$ && o & 128) {
525
- const f = s.$watchers$[t];
526
- f && f.map(($) => {
527
- try {
528
- i[$](r, l, t);
529
- } catch (d) {
530
- b(d, a);
531
- }
532
- });
533
- }
534
- (o & 18) === 2 && K(n, !1);
535
- }
536
- }, Le = (e, t, r) => {
537
- var s, n;
538
- const a = e.prototype;
539
- if (t.$members$ || t.$watchers$ || e.watchers) {
540
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
541
- const l = Object.entries((s = t.$members$) != null ? s : {});
542
- if (l.map(([o, [i]]) => {
543
- (i & 31 || r & 2 && i & 32) && Object.defineProperty(a, o, {
544
- get() {
545
- return ut(this, o);
546
- },
547
- set(u) {
548
- dt(this, o, u, t);
549
- },
550
- configurable: !0,
551
- enumerable: !0
552
- });
553
- }), r & 1) {
554
- const o = /* @__PURE__ */ new Map();
555
- a.attributeChangedCallback = function(i, u, c) {
556
- h.jmp(() => {
557
- var f;
558
- const $ = o.get(i);
559
- if (this.hasOwnProperty($))
560
- c = this[$], delete this[$];
561
- else {
562
- if (a.hasOwnProperty($) && typeof this[$] == "number" && this[$] == c)
563
- return;
564
- if ($ == null) {
565
- const d = x(this), v = d?.$flags$;
566
- if (v && !(v & 8) && v & 128 && c !== u) {
567
- const y = d.$lazyInstance$, p = (f = t.$watchers$) == null ? void 0 : f[i];
568
- p?.forEach((g) => {
569
- y[g] != null && y[g].call(y, c, u, i);
570
- });
571
- }
572
- return;
573
- }
574
- }
575
- this[$] = c === null && typeof this[$] == "boolean" ? !1 : c;
576
- });
577
- }, e.observedAttributes = Array.from(
578
- /* @__PURE__ */ new Set([
579
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
580
- ...l.filter(
581
- ([i, u]) => u[0] & 15
582
- /* HasAttribute */
583
- ).map(([i, u]) => {
584
- var c;
585
- const f = u[1] || i;
586
- return o.set(f, i), u[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([i, f])), f;
587
- })
588
- ])
589
- );
590
- }
591
- }
592
- return e;
593
- }, vt = async (e, t, r, s) => {
594
- let n;
595
- if (!(t.$flags$ & 32)) {
596
- if (t.$flags$ |= 32, r.$lazyBundleId$) {
597
- const i = Re(r);
598
- if (i && "then" in i ? n = await i : n = i, !n)
599
- throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
600
- n.isProxied || (r.$watchers$ = n.watchers, Le(
601
- n,
602
- r,
603
- 2
604
- /* proxyState */
605
- ), n.isProxied = !0), L("createInstance", r.$tagName$), t.$flags$ |= 8;
606
- try {
607
- new n(t);
608
- } catch (u) {
609
- b(u);
610
- }
611
- t.$flags$ &= -9, t.$flags$ |= 128;
612
- } else {
613
- n = e.constructor;
614
- const i = e.localName;
615
- customElements.whenDefined(i).then(
616
- () => t.$flags$ |= 128
617
- /* isWatchReady */
618
- );
619
- }
620
- if (n && n.style) {
621
- let i;
622
- typeof n.style == "string" && (i = n.style);
623
- const u = ve(r);
624
- R.has(u) || (L("registerStyles", r.$tagName$), Ve(u, i, !!(r.$flags$ & 1)));
625
- }
626
- }
627
- const a = t.$ancestorComponent$, l = () => K(t, !0);
628
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
629
- }, pt = (e) => {
630
- }, ht = (e) => {
631
- if (!(h.$flags$ & 1)) {
632
- const t = x(e), r = t.$cmpMeta$;
633
- if (L("connectedCallback", r.$tagName$), t.$flags$ & 1)
634
- we(e, t, r.$listeners$), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => pt());
635
- else {
636
- t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
637
- r.$flags$ & 12 && gt(e);
638
- {
639
- let s = e;
640
- for (; s = s.parentNode || s.host; )
641
- if (s["s-p"]) {
642
- Ee(t, t.$ancestorComponent$ = s);
643
- break;
644
- }
645
- }
646
- r.$members$ && Object.entries(r.$members$).map(([s, [n]]) => {
647
- if (n & 31 && e.hasOwnProperty(s)) {
648
- const a = e[s];
649
- delete e[s], e[s] = a;
650
- }
651
- }), vt(e, t, r);
652
- }
653
- }
654
- }, gt = (e) => {
655
- const t = e["s-cr"] = m.createComment(
656
- ""
657
- );
658
- t["s-cn"] = !0, T(e, t, e.firstChild);
659
- }, ie = (e) => {
660
- O(e, "disconnectedCallback");
661
- }, yt = async (e) => {
662
- if (!(h.$flags$ & 1)) {
663
- const t = x(e);
664
- t.$rmListeners$ && (t.$rmListeners$.map((r) => r()), t.$rmListeners$ = void 0), t?.$lazyInstance$ ? ie(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => ie(t.$lazyInstance$));
665
- }
666
- }, xt = (e, t = {}) => {
667
- var r;
668
- const s = [], n = t.exclude || [], a = P.customElements, l = m.head, o = /* @__PURE__ */ l.querySelector("meta[charset]"), i = /* @__PURE__ */ m.createElement("style"), u = [];
669
- let c, f = !0;
670
- Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
671
- let $ = !1;
672
- if (e.map((d) => {
673
- d[1].map((v) => {
674
- var y;
675
- const p = {
676
- $flags$: v[0],
677
- $tagName$: v[1],
678
- $members$: v[2],
679
- $listeners$: v[3]
680
- };
681
- p.$flags$ & 4 && ($ = !0), p.$members$ = v[2], p.$listeners$ = v[3], p.$attrsToReflect$ = [], p.$watchers$ = (y = v[4]) != null ? y : {};
682
- const g = p.$tagName$, _e = class extends HTMLElement {
683
- // StencilLazyHost
684
- constructor(k) {
685
- if (super(k), this.hasRegisteredEventListeners = !1, k = this, je(k, p), p.$flags$ & 1) {
686
- if (!k.shadowRoot)
687
- k.attachShadow({ mode: "open" });
688
- else if (k.shadowRoot.mode !== "open")
689
- throw new Error(
690
- `Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`
691
- );
692
- }
693
- }
694
- connectedCallback() {
695
- const k = x(this);
696
- this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, we(this, k, p.$listeners$)), c && (clearTimeout(c), c = null), f ? u.push(this) : h.jmp(() => ht(this));
697
- }
698
- disconnectedCallback() {
699
- h.jmp(() => yt(this));
700
- }
701
- componentOnReady() {
702
- return x(this).$onReadyPromise$;
703
- }
704
- };
705
- p.$lazyBundleId$ = d[0], !n.includes(g) && !a.get(g) && (s.push(g), a.define(
706
- g,
707
- Le(
708
- _e,
709
- p,
710
- 1
711
- /* isElementConstructor */
712
- )
713
- ));
714
- });
715
- }), s.length > 0 && ($ && (i.textContent += oe), i.textContent += s.sort() + Ne, i.innerHTML.length)) {
716
- i.setAttribute("data-styles", "");
717
- const d = (r = h.$nonce$) != null ? r : ce(m);
718
- d != null && i.setAttribute("nonce", d), l.insertBefore(i, o ? o.nextSibling : l.firstChild);
719
- }
720
- f = !1, u.length ? u.map((d) => d.connectedCallback()) : h.jmp(() => c = setTimeout(Te, 30));
721
- }, Lt = (e, t) => t, we = (e, t, r, s) => {
722
- r && r.map(([n, a, l]) => {
723
- const o = St(e, n), i = mt(t, l), u = bt(n);
724
- h.ael(o, a, i, u), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => h.rel(o, a, i, u));
725
- });
726
- }, mt = (e, t) => (r) => {
727
- var s;
728
- try {
729
- e.$flags$ & 256 ? (s = e.$lazyInstance$) == null || s[t](r) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, r]);
730
- } catch (n) {
731
- b(n);
732
- }
733
- }, St = (e, t) => t & 8 ? P : e, bt = (e) => Ie ? {
734
- passive: (e & 1) !== 0,
735
- capture: (e & 2) !== 0
736
- } : (e & 2) !== 0;
737
- export {
738
- Lt as F,
739
- Et as a,
740
- xt as b,
741
- Tt as c,
742
- Ze as g,
743
- ue as h,
744
- Ce as p,
745
- kt as r
746
- };