@everymatrix/casino-most-played-section 1.59.3 → 1.60.1

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 (37) hide show
  1. package/components/{CasinoFilter-BuJFRvPM.js → CasinoFilter-BEMZeS_g.js} +1021 -999
  2. package/components/{CasinoFilter-B89QTVUk.js → CasinoFilter-C_0ob48-.js} +987 -965
  3. package/components/CasinoFilter-DofohXbH.cjs +18 -0
  4. package/components/{CasinoGameThumbnail-De-MNb5C.js → CasinoGameThumbnail-Brp54Mkr.js} +1421 -1426
  5. package/components/CasinoGameThumbnail-D1hFEtJA.cjs +47 -0
  6. package/components/{CasinoGameThumbnail-D7d2CH9f.js → CasinoGameThumbnail-DdWkNS2C.js} +1781 -1754
  7. package/components/{CasinoGamesCategorySection-itQeJrW_.cjs → CasinoGamesCategorySection-CHZiU-PO.cjs} +1 -1
  8. package/components/{CasinoGamesCategorySection-BpG8cEx6.js → CasinoGamesCategorySection-D1vQeCrE.js} +261 -261
  9. package/components/{CasinoGamesCategorySection-BZda8xTc.js → CasinoGamesCategorySection-DyF270dL.js} +261 -261
  10. package/components/{CasinoMostPlayedSection-BE1AytOD.js → CasinoMostPlayedSection-Biz_quau.js} +44 -44
  11. package/components/{CasinoMostPlayedSection-awe5OQbs.js → CasinoMostPlayedSection-DqhZX69X.js} +46 -46
  12. package/components/{CasinoMostPlayedSection-CmAWXh3D.cjs → CasinoMostPlayedSection-_lcsNiHC.cjs} +1 -1
  13. package/components/{CasinoSort-BeHiiUhs.js → CasinoSort-BlmGeGgO.js} +105 -106
  14. package/components/{CasinoSort-CrQRKk5p.js → CasinoSort-C0-xVhct.js} +113 -112
  15. package/components/{CasinoSort-CrDBxoGC.cjs → CasinoSort-M-DWe9Ma.cjs} +1 -1
  16. package/es2015/casino-most-played-section.cjs +1 -1
  17. package/es2015/casino-most-played-section.js +1 -1
  18. package/esnext/casino-most-played-section.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-b2193545-BLGDaRxR.js +519 -0
  21. package/stencil/index-b2193545-CgYO4hhs.cjs +1 -0
  22. package/stencil/index-b2193545-dQymAF3M.js +503 -0
  23. package/stencil/{ui-skeleton-DFpfaKvi.js → ui-skeleton-BCx6m_uC.js} +4 -4
  24. package/stencil/ui-skeleton-BtNRiNfn.cjs +1 -0
  25. package/stencil/{ui-skeleton-UUT_AJxa.js → ui-skeleton-DypM319u.js} +8 -8
  26. package/stencil/ui-skeleton-ea659b95-Bo7WD0ao.js +152 -0
  27. package/stencil/ui-skeleton-ea659b95-Dc45mVmr.cjs +73 -0
  28. package/stencil/ui-skeleton-ea659b95-DyTVU8Ak.js +152 -0
  29. package/components/CasinoFilter-OPj81-Zy.cjs +0 -18
  30. package/components/CasinoGameThumbnail-BadbB37q.cjs +0 -47
  31. package/stencil/index-ae04a8b1-BxaX26xW.js +0 -516
  32. package/stencil/index-ae04a8b1-D7qYBP-T.js +0 -532
  33. package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +0 -1
  34. package/stencil/ui-skeleton-IHMCRYEX.cjs +0 -1
  35. package/stencil/ui-skeleton-a642cced-5nW6b8_l.cjs +0 -1
  36. package/stencil/ui-skeleton-a642cced-BNXFvvk_.js +0 -122
  37. package/stencil/ui-skeleton-a642cced-DdY2eEM0.js +0 -122
@@ -1,516 +0,0 @@
1
- const oe = "ui-skeleton", $e = (
2
- /* ui-skeleton */
3
- { hydratedSelectorName: "hydrated" }
4
- );
5
- var ce = Object.defineProperty, fe = (e, t) => {
6
- for (var s in t)
7
- ce(e, s, { get: t[s], enumerable: !0 });
8
- }, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Qe = (e, t) => U.set(t.$lazyInstance$ = e, t), ue = (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"] = [], U.set(e, s);
16
- }, k = (e, t) => (0, console.error)(e, t), j = /* @__PURE__ */ new Map(), de = (e, t, s) => {
17
- const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
18
- if (!r)
19
- return;
20
- const a = j.get(r);
21
- if (a)
22
- return a[n];
23
- {
24
- const l = (i) => (j.set(r, i), i[n]);
25
- switch (r) {
26
- case "ui-skeleton":
27
- return import(
28
- /* webpackMode: "lazy" */
29
- "./ui-skeleton-DFpfaKvi.js"
30
- ).then(l, k);
31
- }
32
- }
33
- return import(
34
- /* @vite-ignore */
35
- /* webpackInclude: /\.entry\.js$/ */
36
- /* webpackExclude: /\.system\.entry\.js$/ */
37
- /* webpackMode: "lazy" */
38
- `./${r}.entry.js`
39
- ).then((l) => (j.set(r, l), l[n]), k);
40
- }, L = /* @__PURE__ */ new Map(), me = "{visibility:hidden}.hydrated{visibility:inherit}", G = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window < "u" ? window : {}, y = B.document || { head: {} }, g = {
41
- $flags$: 0,
42
- $resourcesUrl$: "",
43
- jmp: (e) => e(),
44
- raf: (e) => requestAnimationFrame(e),
45
- ael: (e, t, s, n) => e.addEventListener(t, s, n),
46
- rel: (e, t, s, n) => e.removeEventListener(t, s, n),
47
- ce: (e, t) => new CustomEvent(e, t)
48
- }, ve = (e) => Promise.resolve(e), ge = /* @__PURE__ */ (() => {
49
- try {
50
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
- } catch {
52
- }
53
- return !1;
54
- })(), O = !1, N = [], J = [], he = (e, t) => (s) => {
55
- e.push(s), O || (O = !0, g.$flags$ & 4 ? z(A) : g.raf(A));
56
- }, C = (e) => {
57
- for (let t = 0; t < e.length; t++)
58
- try {
59
- e[t](performance.now());
60
- } catch (s) {
61
- k(s);
62
- }
63
- e.length = 0;
64
- }, A = () => {
65
- C(N), C(J), (O = N.length > 0) && g.raf(A);
66
- }, z = (e) => ve().then(e), pe = /* @__PURE__ */ he(J), D = {}, K = (e) => (e = typeof e, e === "object" || e === "function");
67
- function Q(e) {
68
- var t, s, n;
69
- 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;
70
- }
71
- var ye = {};
72
- fe(ye, {
73
- err: () => X,
74
- map: () => Se,
75
- ok: () => I,
76
- unwrap: () => be,
77
- unwrapErr: () => ke
78
- });
79
- var I = (e) => ({
80
- isOk: !0,
81
- isErr: !1,
82
- value: e
83
- }), X = (e) => ({
84
- isOk: !1,
85
- isErr: !0,
86
- value: e
87
- });
88
- function Se(e, t) {
89
- if (e.isOk) {
90
- const s = t(e.value);
91
- return s instanceof Promise ? s.then((n) => I(n)) : I(s);
92
- }
93
- if (e.isErr) {
94
- const s = e.value;
95
- return X(s);
96
- }
97
- throw "should never get here";
98
- }
99
- var be = (e) => {
100
- if (e.isOk)
101
- return e.value;
102
- throw e.value;
103
- }, ke = (e) => {
104
- if (e.isErr)
105
- return e.value;
106
- throw e.value;
107
- }, S = (e, t = "") => () => {
108
- }, Ee = (e, t) => () => {
109
- }, we = (e, t, ...s) => {
110
- let n = null, r = null, a = !1, l = !1;
111
- const i = [], o = (c) => {
112
- for (let f = 0; f < c.length; f++)
113
- n = c[f], Array.isArray(n) ? o(n) : n != null && typeof n != "boolean" && ((a = typeof e != "function" && !K(n)) && (n = String(n)), a && l ? i[i.length - 1].$text$ += n : i.push(a ? H(null, n) : n), l = a);
114
- };
115
- if (o(s), t) {
116
- t.key && (r = t.key);
117
- {
118
- const c = t.className || t.class;
119
- c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
120
- }
121
- }
122
- const $ = H(e, null);
123
- return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = r, $;
124
- }, H = (e, t) => {
125
- const s = {
126
- $flags$: 0,
127
- $tag$: e,
128
- $text$: t,
129
- $elm$: null,
130
- $children$: null
131
- };
132
- return s.$attrs$ = null, s.$key$ = null, s;
133
- }, Pe = {}, xe = (e) => e && e.$tag$ === Pe, Le = (e, t) => e != null && !K(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Te = (e, t, s) => {
134
- const n = g.ce(t, s);
135
- return e.dispatchEvent(n), n;
136
- }, F = /* @__PURE__ */ new WeakMap(), _e = (e, t, s) => {
137
- let n = L.get(e);
138
- ge && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, L.set(e, n);
139
- }, je = (e, t, s) => {
140
- var n;
141
- const r = Z(t), a = L.get(r);
142
- if (e = e.nodeType === 11 ? e : y, a)
143
- if (typeof a == "string") {
144
- e = e.head || e;
145
- let l = F.get(e), i;
146
- if (l || F.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
147
- {
148
- i = y.createElement("style"), i.innerHTML = a;
149
- const o = (n = g.$nonce$) != null ? n : Q(y);
150
- o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
151
- }
152
- t.$flags$ & 4 && (i.innerHTML += G), l && l.add(r);
153
- }
154
- } else
155
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
156
- return r;
157
- }, Oe = (e) => {
158
- const t = e.$cmpMeta$, s = e.$hostElement$, n = S("attachStyles", t.$tagName$);
159
- je(
160
- s.getRootNode(),
161
- t
162
- ), n();
163
- }, Z = (e, t) => "sc-" + e.$tagName$, M = (e, t, s, n, r, a) => {
164
- if (s !== n)
165
- if (t.toLowerCase(), t === "class") {
166
- const l = e.classList, i = W(s), o = W(n);
167
- l.remove(...i.filter(($) => $ && !o.includes($))), l.add(...o.filter(($) => $ && !i.includes($)));
168
- } else if (t === "style") {
169
- for (const l in s)
170
- (!n || n[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
171
- for (const l in n)
172
- (!s || n[l] !== s[l]) && (l.includes("-") ? e.style.setProperty(l, n[l]) : e.style[l] = n[l]);
173
- } else
174
- t === "key" || t === "ref" && n && n(e);
175
- }, Ae = /\s/, W = (e) => e ? e.split(Ae) : [], R = (e, t, s) => {
176
- const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || D, a = t.$attrs$ || D;
177
- for (const l of Y(Object.keys(r)))
178
- l in a || M(n, l, r[l], void 0);
179
- for (const l of Y(Object.keys(a)))
180
- M(n, l, r[l], a[l]);
181
- };
182
- function Y(e) {
183
- return e.includes("ref") ? (
184
- // we need to sort these to ensure that `'ref'` is the last attr
185
- [...e.filter((t) => t !== "ref"), "ref"]
186
- ) : (
187
- // no need to sort, return the original array
188
- e
189
- );
190
- }
191
- var V, T = (e, t, s, n) => {
192
- const r = t.$children$[s];
193
- let a = 0, l, i;
194
- if (l = r.$elm$ = y.createElement(
195
- r.$tag$
196
- ), R(null, r), r.$children$)
197
- for (a = 0; a < r.$children$.length; ++a)
198
- i = T(e, r, a), i && l.appendChild(i);
199
- return l["s-hn"] = V, l;
200
- }, ee = (e, t, s, n, r, a) => {
201
- let l = e, i;
202
- for (; r <= a; ++r)
203
- n[r] && (i = T(null, s, r), i && (n[r].$elm$ = i, x(l, i, t)));
204
- }, te = (e, t, s) => {
205
- for (let n = t; n <= s; ++n) {
206
- const r = e[n];
207
- if (r) {
208
- const a = r.$elm$;
209
- ne(r), a && a.remove();
210
- }
211
- }
212
- }, Ie = (e, t, s, n, r = !1) => {
213
- let a = 0, l = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], u = n.length - 1, d = n[0], m = n[u], v, h;
214
- for (; a <= $ && l <= u; )
215
- if (c == null)
216
- c = t[++a];
217
- else if (f == null)
218
- f = t[--$];
219
- else if (d == null)
220
- d = n[++l];
221
- else if (m == null)
222
- m = n[--u];
223
- else if (P(c, d, r))
224
- E(c, d, r), c = t[++a], d = n[++l];
225
- else if (P(f, m, r))
226
- E(f, m, r), f = t[--$], m = n[--u];
227
- else if (P(c, m, r))
228
- E(c, m, r), x(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], m = n[--u];
229
- else if (P(f, d, r))
230
- E(f, d, r), x(e, f.$elm$, c.$elm$), f = t[--$], d = n[++l];
231
- else {
232
- for (i = -1, o = a; o <= $; ++o)
233
- if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
234
- i = o;
235
- break;
236
- }
237
- i >= 0 ? (h = t[i], h.$tag$ !== d.$tag$ ? v = T(t && t[l], s, i) : (E(h, d, r), t[i] = void 0, v = h.$elm$), d = n[++l]) : (v = T(t && t[l], s, l), d = n[++l]), v && x(c.$elm$.parentNode, v, c.$elm$);
238
- }
239
- a > $ ? ee(
240
- e,
241
- n[u + 1] == null ? null : n[u + 1].$elm$,
242
- s,
243
- n,
244
- l,
245
- u
246
- ) : l > u && te(t, a, $);
247
- }, P = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, E = (e, t, s = !1) => {
248
- const n = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$;
249
- R(e, t), r !== null && a !== null ? Ie(n, r, t, a, s) : a !== null ? ee(n, null, t, a, 0, a.length - 1) : r !== null && te(r, 0, r.length - 1);
250
- }, ne = (e) => {
251
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ne);
252
- }, x = (e, t, s) => e?.insertBefore(t, s), He = (e, t, s = !1) => {
253
- const n = e.$hostElement$, r = e.$vnode$ || H(null, null), a = xe(t) ? t : we(null, null, t);
254
- if (V = n.tagName, s && a.$attrs$)
255
- for (const l of Object.keys(a.$attrs$))
256
- n.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = n[l]);
257
- a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = n, E(r, a, s);
258
- }, se = (e, t) => {
259
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
260
- }, q = (e, t) => {
261
- if (e.$flags$ |= 16, e.$flags$ & 4) {
262
- e.$flags$ |= 512;
263
- return;
264
- }
265
- return se(e, e.$ancestorComponent$), pe(() => Ue(e, t));
266
- }, Ue = (e, t) => {
267
- const s = e.$hostElement$, n = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
268
- if (!r)
269
- throw new Error(
270
- `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`
271
- );
272
- let a;
273
- return n(), Be(a, () => qe(e, r, t));
274
- }, Be = (e, t) => ze(e) ? e.then(t).catch((s) => {
275
- console.error(s), t();
276
- }) : t(), ze = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", qe = async (e, t, s) => {
277
- var n;
278
- const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
279
- s && Oe(e);
280
- const i = S("render", e.$cmpMeta$.$tagName$);
281
- Ne(e, t, r, s), l && (l.map((o) => o()), r["s-rc"] = void 0), i(), a();
282
- {
283
- const o = (n = r["s-p"]) != null ? n : [], $ = () => Ce(e);
284
- o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
285
- }
286
- }, Ne = (e, t, s, n) => {
287
- try {
288
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, He(e, t, n);
289
- } catch (r) {
290
- k(r, e.$hostElement$);
291
- }
292
- return null;
293
- }, Ce = (e) => {
294
- const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
295
- e.$flags$ & 64 ? n() : (e.$flags$ |= 64, le(s), De(r, "componentDidLoad"), n(), e.$onReadyResolve$(s), a || re()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => q(e, !1)), e.$flags$ &= -517;
296
- }, re = (e) => {
297
- le(y.documentElement), z(() => Te(B, "appload", { detail: { namespace: oe } }));
298
- }, De = (e, t, s) => {
299
- if (e && e[t])
300
- try {
301
- return e[t](s);
302
- } catch (n) {
303
- k(n);
304
- }
305
- }, le = (e) => {
306
- var t;
307
- return e.classList.add((t = $e.hydratedSelectorName) != null ? t : "hydrated");
308
- }, Fe = (e, t) => b(e).$instanceValues$.get(t), Me = (e, t, s, n) => {
309
- const r = b(e);
310
- if (!r)
311
- throw new Error(
312
- `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).`
313
- );
314
- const a = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, o = r.$lazyInstance$;
315
- s = Le(s, n.$members$[t][0]);
316
- const $ = Number.isNaN(l) && Number.isNaN(s), c = s !== l && !$;
317
- if ((!(i & 8) || l === void 0) && c && (r.$instanceValues$.set(t, s), o)) {
318
- if (n.$watchers$ && i & 128) {
319
- const f = n.$watchers$[t];
320
- f && f.map((u) => {
321
- try {
322
- o[u](s, l, t);
323
- } catch (d) {
324
- k(d, a);
325
- }
326
- });
327
- }
328
- (i & 18) === 2 && q(r, !1);
329
- }
330
- }, ae = (e, t, s) => {
331
- var n, r;
332
- const a = e.prototype;
333
- if (t.$members$ || t.$watchers$ || e.watchers) {
334
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
335
- const l = Object.entries((n = t.$members$) != null ? n : {});
336
- if (l.map(([i, [o]]) => {
337
- (o & 31 || s & 2 && o & 32) && Object.defineProperty(a, i, {
338
- get() {
339
- return Fe(this, i);
340
- },
341
- set($) {
342
- Me(this, i, $, t);
343
- },
344
- configurable: !0,
345
- enumerable: !0
346
- });
347
- }), s & 1) {
348
- const i = /* @__PURE__ */ new Map();
349
- a.attributeChangedCallback = function(o, $, c) {
350
- g.jmp(() => {
351
- var f;
352
- const u = i.get(o);
353
- if (this.hasOwnProperty(u))
354
- c = this[u], delete this[u];
355
- else {
356
- if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
357
- return;
358
- if (u == null) {
359
- const d = b(this), m = d?.$flags$;
360
- if (m && !(m & 8) && m & 128 && c !== $) {
361
- const v = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
362
- h?.forEach((p) => {
363
- v[p] != null && v[p].call(v, c, $, o);
364
- });
365
- }
366
- return;
367
- }
368
- }
369
- this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
370
- });
371
- }, e.observedAttributes = Array.from(
372
- /* @__PURE__ */ new Set([
373
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
374
- ...l.filter(
375
- ([o, $]) => $[0] & 15
376
- /* HasAttribute */
377
- ).map(([o, $]) => {
378
- const c = $[1] || o;
379
- return i.set(c, o), c;
380
- })
381
- ])
382
- );
383
- }
384
- }
385
- return e;
386
- }, We = async (e, t, s, n) => {
387
- let r;
388
- if (!(t.$flags$ & 32)) {
389
- if (t.$flags$ |= 32, s.$lazyBundleId$) {
390
- const o = de(s);
391
- if (o && "then" in o) {
392
- const c = Ee();
393
- r = await o, c();
394
- } else
395
- r = o;
396
- if (!r)
397
- throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
398
- r.isProxied || (s.$watchers$ = r.watchers, ae(
399
- r,
400
- s,
401
- 2
402
- /* proxyState */
403
- ), r.isProxied = !0);
404
- const $ = S("createInstance", s.$tagName$);
405
- t.$flags$ |= 8;
406
- try {
407
- new r(t);
408
- } catch (c) {
409
- k(c);
410
- }
411
- t.$flags$ &= -9, t.$flags$ |= 128, $();
412
- } else {
413
- r = e.constructor;
414
- const o = e.localName;
415
- customElements.whenDefined(o).then(
416
- () => t.$flags$ |= 128
417
- /* isWatchReady */
418
- );
419
- }
420
- if (r && r.style) {
421
- let o;
422
- typeof r.style == "string" && (o = r.style);
423
- const $ = Z(s);
424
- if (!L.has($)) {
425
- const c = S("registerStyles", s.$tagName$);
426
- _e($, o, !!(s.$flags$ & 1)), c();
427
- }
428
- }
429
- }
430
- const a = t.$ancestorComponent$, l = () => q(t, !0);
431
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
432
- }, Ye = (e) => {
433
- }, Ge = (e) => {
434
- if (!(g.$flags$ & 1)) {
435
- const t = b(e), s = t.$cmpMeta$, n = S("connectedCallback", s.$tagName$);
436
- if (t.$flags$ & 1)
437
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ye());
438
- else {
439
- t.$flags$ |= 1;
440
- {
441
- let r = e;
442
- for (; r = r.parentNode || r.host; )
443
- if (r["s-p"]) {
444
- se(t, t.$ancestorComponent$ = r);
445
- break;
446
- }
447
- }
448
- s.$members$ && Object.entries(s.$members$).map(([r, [a]]) => {
449
- if (a & 31 && e.hasOwnProperty(r)) {
450
- const l = e[r];
451
- delete e[r], e[r] = l;
452
- }
453
- }), We(e, t, s);
454
- }
455
- n();
456
- }
457
- }, Je = (e) => {
458
- }, Ke = async (e) => {
459
- if (!(g.$flags$ & 1)) {
460
- const t = b(e);
461
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Je());
462
- }
463
- }, Xe = (e, t = {}) => {
464
- var s;
465
- const n = S(), r = [], a = t.exclude || [], l = B.customElements, i = y.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ y.createElement("style"), c = [];
466
- let f, u = !0;
467
- Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
468
- let d = !1;
469
- if (e.map((m) => {
470
- m[1].map((v) => {
471
- var h;
472
- const p = {
473
- $flags$: v[0],
474
- $tagName$: v[1],
475
- $members$: v[2],
476
- $listeners$: v[3]
477
- };
478
- p.$flags$ & 4 && (d = !0), p.$members$ = v[2], p.$watchers$ = (h = v[4]) != null ? h : {};
479
- const w = p.$tagName$, ie = class extends HTMLElement {
480
- // StencilLazyHost
481
- constructor(_) {
482
- super(_), this.hasRegisteredEventListeners = !1, _ = this, ue(_, p);
483
- }
484
- connectedCallback() {
485
- b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : g.jmp(() => Ge(this));
486
- }
487
- disconnectedCallback() {
488
- g.jmp(() => Ke(this));
489
- }
490
- componentOnReady() {
491
- return b(this).$onReadyPromise$;
492
- }
493
- };
494
- p.$lazyBundleId$ = m[0], !a.includes(w) && !l.get(w) && (r.push(w), l.define(
495
- w,
496
- ae(
497
- ie,
498
- p,
499
- 1
500
- /* isElementConstructor */
501
- )
502
- ));
503
- });
504
- }), r.length > 0 && (d && ($.textContent += G), $.textContent += r.sort() + me, $.innerHTML.length)) {
505
- $.setAttribute("data-styles", "");
506
- const m = (s = g.$nonce$) != null ? s : Q(y);
507
- m != null && $.setAttribute("nonce", m), i.insertBefore($, o ? o.nextSibling : i.firstChild);
508
- }
509
- u = !1, c.length ? c.map((m) => m.connectedCallback()) : g.jmp(() => f = setTimeout(re, 30)), n();
510
- };
511
- export {
512
- Xe as b,
513
- we as h,
514
- ve as p,
515
- Qe as r
516
- };