@everymatrix/casino-header-controller 1.74.3 → 1.74.4

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