@everymatrix/casino-header-controller 1.54.8 → 1.54.10

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