@everymatrix/casino-most-played-section 1.61.0 → 1.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/components/{CasinoFilter-C9AbCFB8.js → CasinoFilter-4haQXmN1.js} +1168 -1053
  2. package/components/{CasinoFilter-FwyZaNnb.js → CasinoFilter-BUe-x-2X.js} +1112 -997
  3. package/components/CasinoFilter-BWxK-kth.cjs +18 -0
  4. package/components/CasinoGameThumbnail-B6XGNttS.js +4390 -0
  5. package/components/CasinoGameThumbnail-Cn0iV9XZ.js +4406 -0
  6. package/components/CasinoGameThumbnail-D86LuKmv.cjs +47 -0
  7. package/components/{CasinoGamesCategorySection-CMUBcMwK.js → CasinoGamesCategorySection-DK_xX1de.js} +1226 -1144
  8. package/components/CasinoGamesCategorySection-WMdAKy-_.js +3154 -0
  9. package/components/CasinoGamesCategorySection-omF6FUNy.cjs +1 -0
  10. package/components/{CasinoMostPlayedSection-BB4s0fZo.cjs → CasinoMostPlayedSection-CrPQFPPC.cjs} +1 -1
  11. package/components/{CasinoMostPlayedSection-Ctowd1SJ.js → CasinoMostPlayedSection-DIiqRZjq.js} +45 -45
  12. package/components/{CasinoMostPlayedSection-D0HYIttt.js → CasinoMostPlayedSection-yy4MMeQ-.js} +46 -46
  13. package/components/{CasinoSort-BlZonu2d.cjs → CasinoSort-C2cjUMXH.cjs} +1 -1
  14. package/components/{CasinoSort-CKyG1g-3.js → CasinoSort-CHu5emCn.js} +98 -99
  15. package/components/{CasinoSort-fS8vkRW6.js → CasinoSort-CfnhZRah.js} +108 -107
  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-CbGN-1Xz.cjs +1 -0
  21. package/stencil/index-b2193545-CbUHNmek.js +503 -0
  22. package/stencil/index-b2193545-DFFkPUVU.js +519 -0
  23. package/stencil/index-b7bbd57e-5H13jtcn.cjs +1 -0
  24. package/stencil/index-b7bbd57e-D2mZ7-kv.js +534 -0
  25. package/stencil/index-b7bbd57e-VSGyGiy1.js +550 -0
  26. package/stencil/{ui-image-38c3c15f-DHu3p_Um.cjs → ui-image-38c3c15f-3U8WBsCg.cjs} +1 -1
  27. package/stencil/{ui-image-38c3c15f-D8q8WO62.js → ui-image-38c3c15f-Cix0ZMEZ.js} +1 -1
  28. package/stencil/{ui-image-38c3c15f-DNKzX83k.js → ui-image-38c3c15f-jaErZeBj.js} +1 -1
  29. package/stencil/{ui-image-BWdEHrqs.js → ui-image-6OX7DHzp.js} +2 -2
  30. package/stencil/{ui-image-Cq69wjLL.js → ui-image-DvmqpXjR.js} +2 -2
  31. package/stencil/{ui-image-hWt-DWaG.cjs → ui-image-sdP0Y0JV.cjs} +1 -1
  32. package/stencil/{ui-skeleton-6d1c12ae-CKWpp1By.js → ui-skeleton-6d1c12ae-BpEpsLuu.js} +1 -1
  33. package/stencil/{ui-skeleton-6d1c12ae-DXSQpIKe.cjs → ui-skeleton-6d1c12ae-CZrIANSq.cjs} +1 -1
  34. package/stencil/{ui-skeleton-6d1c12ae-Cy_R_9Cz.js → ui-skeleton-6d1c12ae-koE69yYD.js} +1 -1
  35. package/stencil/{ui-skeleton-BMWABShx.js → ui-skeleton-BOseIl79.js} +2 -2
  36. package/stencil/{ui-skeleton-CkUGY95J.js → ui-skeleton-BVyEf4P7.js} +2 -2
  37. package/stencil/{ui-skeleton-DXc0L06e.cjs → ui-skeleton-C2O4H76Q.cjs} +1 -1
  38. package/components/CasinoFilter-B1hgaIkP.cjs +0 -18
  39. package/components/CasinoGameThumbnail-Ce4PjlXV.js +0 -3591
  40. package/components/CasinoGameThumbnail-DTPmHQ3Z.js +0 -3607
  41. package/components/CasinoGameThumbnail-DiXqNNhF.cjs +0 -39
  42. package/components/CasinoGamesCategorySection-CiTO02BA.js +0 -3070
  43. package/components/CasinoGamesCategorySection-D7IssFze.cjs +0 -1
  44. package/stencil/index-b2193545-B5BzVbnP.cjs +0 -1
  45. package/stencil/index-b2193545-BranxwW4.js +0 -519
  46. package/stencil/index-b2193545-D-GB6w--.js +0 -503
  47. package/stencil/index-b7bbd57e-CQ75dRCG.js +0 -550
  48. package/stencil/index-b7bbd57e-Cacu08c5.js +0 -534
  49. package/stencil/index-b7bbd57e-DF6DA3M_.cjs +0 -1
@@ -1,550 +0,0 @@
1
- var T = (e, t, n) => new Promise((s, r) => {
2
- var l = (o) => {
3
- try {
4
- a(n.next(o));
5
- } catch (c) {
6
- r(c);
7
- }
8
- }, i = (o) => {
9
- try {
10
- a(n.throw(o));
11
- } catch (c) {
12
- r(c);
13
- }
14
- }, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(l, i);
15
- a((n = n.apply(e, t)).next());
16
- });
17
- const ce = "ui-image", fe = (
18
- /* ui-image */
19
- { hydratedSelectorName: "hydrated" }
20
- );
21
- var ue = Object.defineProperty, de = (e, t) => {
22
- for (var n in t)
23
- ue(e, n, { get: t[n], enumerable: !0 });
24
- }, B = /* @__PURE__ */ new WeakMap(), b = (e) => B.get(e), Ve = (e, t) => B.set(t.$lazyInstance$ = e, t), ve = (e, t) => {
25
- const n = {
26
- $flags$: 0,
27
- $hostElement$: e,
28
- $cmpMeta$: t,
29
- $instanceValues$: /* @__PURE__ */ new Map()
30
- };
31
- return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], B.set(e, n);
32
- }, pe = (e, t) => t in e, E = (e, t) => (0, console.error)(e, t), j = /* @__PURE__ */ new Map(), ge = (e, t, n) => {
33
- const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
34
- if (!r)
35
- return;
36
- const l = j.get(r);
37
- if (l)
38
- return l[s];
39
- {
40
- const i = (a) => (j.set(r, a), a[s]);
41
- switch (r) {
42
- case "ui-image":
43
- return import(
44
- /* webpackMode: "lazy" */
45
- "./ui-image-Cq69wjLL.js"
46
- ).then(i, E);
47
- }
48
- }
49
- return import(
50
- /* @vite-ignore */
51
- /* webpackInclude: /\.entry\.js$/ */
52
- /* webpackExclude: /\.system\.entry\.js$/ */
53
- /* webpackMode: "lazy" */
54
- `./${r}.entry.js`
55
- ).then((i) => (j.set(r, i), i[s]), E);
56
- }, A = /* @__PURE__ */ new Map(), he = "{visibility:hidden}.hydrated{visibility:inherit}", K = "slot-fb{display:contents}slot-fb[hidden]{display:none}", z = typeof window != "undefined" ? window : {}, y = z.document || { head: {} }, g = {
57
- $flags$: 0,
58
- $resourcesUrl$: "",
59
- jmp: (e) => e(),
60
- raf: (e) => requestAnimationFrame(e),
61
- ael: (e, t, n, s) => e.addEventListener(t, n, s),
62
- rel: (e, t, n, s) => e.removeEventListener(t, n, s),
63
- ce: (e, t) => new CustomEvent(e, t)
64
- }, me = (e) => Promise.resolve(e), ye = /* @__PURE__ */ (() => {
65
- try {
66
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
- } catch (e) {
68
- }
69
- return !1;
70
- })(), O = !1, M = [], Q = [], Se = (e, t) => (n) => {
71
- e.push(n), O || (O = !0, g.$flags$ & 4 ? q(I) : g.raf(I));
72
- }, W = (e) => {
73
- for (let t = 0; t < e.length; t++)
74
- try {
75
- e[t](performance.now());
76
- } catch (n) {
77
- E(n);
78
- }
79
- e.length = 0;
80
- }, I = () => {
81
- W(M), W(Q), (O = M.length > 0) && g.raf(I);
82
- }, q = (e) => me().then(e), be = /* @__PURE__ */ Se(Q), F = {}, C = (e) => (e = typeof e, e === "object" || e === "function");
83
- function X(e) {
84
- var t, n, s;
85
- return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
86
- }
87
- var Ee = {};
88
- de(Ee, {
89
- err: () => Z,
90
- map: () => ke,
91
- ok: () => H,
92
- unwrap: () => Pe,
93
- unwrapErr: () => Te
94
- });
95
- var H = (e) => ({
96
- isOk: !0,
97
- isErr: !1,
98
- value: e
99
- }), Z = (e) => ({
100
- isOk: !1,
101
- isErr: !0,
102
- value: e
103
- });
104
- function ke(e, t) {
105
- if (e.isOk) {
106
- const n = t(e.value);
107
- return n instanceof Promise ? n.then((s) => H(s)) : H(n);
108
- }
109
- if (e.isErr) {
110
- const n = e.value;
111
- return Z(n);
112
- }
113
- throw "should never get here";
114
- }
115
- var Pe = (e) => {
116
- if (e.isOk)
117
- return e.value;
118
- throw e.value;
119
- }, Te = (e) => {
120
- if (e.isErr)
121
- return e.value;
122
- throw e.value;
123
- }, S = (e, t = "") => () => {
124
- }, we = (e, t) => () => {
125
- }, xe = (e, t, ...n) => {
126
- let s = null, r = null, l = !1, i = !1;
127
- const a = [], o = ($) => {
128
- for (let f = 0; f < $.length; f++)
129
- s = $[f], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((l = typeof e != "function" && !C(s)) && (s = String(s)), l && i ? a[a.length - 1].$text$ += s : a.push(l ? U(null, s) : s), i = l);
130
- };
131
- if (o(n), t) {
132
- t.key && (r = t.key);
133
- {
134
- const $ = t.className || t.class;
135
- $ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
136
- }
137
- }
138
- const c = U(e, null);
139
- return c.$attrs$ = t, a.length > 0 && (c.$children$ = a), c.$key$ = r, c;
140
- }, U = (e, t) => {
141
- const n = {
142
- $flags$: 0,
143
- $tag$: e,
144
- $text$: t,
145
- $elm$: null,
146
- $children$: null
147
- };
148
- return n.$attrs$ = null, n.$key$ = null, n;
149
- }, Ae = {}, Le = (e) => e && e.$tag$ === Ae, _e = (e, t) => e != null && !C(e) && t & 1 ? String(e) : e, et = (e) => b(e).$hostElement$, je = (e, t, n) => {
150
- const s = g.ce(t, n);
151
- return e.dispatchEvent(s), s;
152
- }, N = /* @__PURE__ */ new WeakMap(), Oe = (e, t, n) => {
153
- let s = A.get(e);
154
- ye && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
155
- }, Ie = (e, t, n) => {
156
- var s;
157
- const r = R(t), l = A.get(r);
158
- if (e = e.nodeType === 11 ? e : y, l)
159
- if (typeof l == "string") {
160
- e = e.head || e;
161
- let i = N.get(e), a;
162
- if (i || N.set(e, i = /* @__PURE__ */ new Set()), !i.has(r)) {
163
- {
164
- a = y.createElement("style"), a.innerHTML = l;
165
- const o = (s = g.$nonce$) != null ? s : X(y);
166
- o != null && a.setAttribute("nonce", o), e.insertBefore(a, e.querySelector("link"));
167
- }
168
- t.$flags$ & 4 && (a.innerHTML += K), i && i.add(r);
169
- }
170
- } else
171
- e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
172
- return r;
173
- }, He = (e) => {
174
- const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
175
- Ie(
176
- n.getRootNode(),
177
- t
178
- ), s();
179
- }, R = (e, t) => "sc-" + e.$tagName$, Y = (e, t, n, s, r, l) => {
180
- if (n !== s) {
181
- let i = pe(e, t);
182
- if (t.toLowerCase(), t === "class") {
183
- const a = e.classList, o = G(n), c = G(s);
184
- a.remove(...o.filter(($) => $ && !c.includes($))), a.add(...c.filter(($) => $ && !o.includes($)));
185
- } else if (t === "style") {
186
- for (const a in n)
187
- (!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
188
- for (const a in s)
189
- (!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
190
- } else if (t !== "key")
191
- if (t === "ref")
192
- s && s(e);
193
- else {
194
- const a = C(s);
195
- if (i || a && s !== null)
196
- try {
197
- if (e.tagName.includes("-"))
198
- e[t] = s;
199
- else {
200
- const o = s == null ? "" : s;
201
- t === "list" ? i = !1 : (n == null || e[t] != o) && (e[t] = o);
202
- }
203
- } catch (o) {
204
- }
205
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!i || l & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
206
- }
207
- }
208
- }, Ue = /\s/, G = (e) => e ? e.split(Ue) : [], V = (e, t, n) => {
209
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || F, l = t.$attrs$ || F;
210
- for (const i of J(Object.keys(r)))
211
- i in l || Y(s, i, r[i], void 0, n, t.$flags$);
212
- for (const i of J(Object.keys(l)))
213
- Y(s, i, r[i], l[i], n, t.$flags$);
214
- };
215
- function J(e) {
216
- return e.includes("ref") ? (
217
- // we need to sort these to ensure that `'ref'` is the last attr
218
- [...e.filter((t) => t !== "ref"), "ref"]
219
- ) : (
220
- // no need to sort, return the original array
221
- e
222
- );
223
- }
224
- var ee, te = !1, L = (e, t, n, s) => {
225
- const r = t.$children$[n];
226
- let l = 0, i, a;
227
- if (i = r.$elm$ = y.createElement(
228
- r.$tag$
229
- ), V(null, r, te), r.$children$)
230
- for (l = 0; l < r.$children$.length; ++l)
231
- a = L(e, r, l), a && i.appendChild(a);
232
- return i["s-hn"] = ee, i;
233
- }, se = (e, t, n, s, r, l) => {
234
- let i = e, a;
235
- for (; r <= l; ++r)
236
- s[r] && (a = L(null, n, r), a && (s[r].$elm$ = a, x(i, a, t)));
237
- }, ne = (e, t, n) => {
238
- for (let s = t; s <= n; ++s) {
239
- const r = e[s];
240
- if (r) {
241
- const l = r.$elm$;
242
- re(r), l && l.remove();
243
- }
244
- }
245
- }, Be = (e, t, n, s, r = !1) => {
246
- let l = 0, i = 0, a = 0, o = 0, c = t.length - 1, $ = t[0], f = t[c], u = s.length - 1, d = s[0], v = s[u], p, h;
247
- for (; l <= c && i <= u; )
248
- if ($ == null)
249
- $ = t[++l];
250
- else if (f == null)
251
- f = t[--c];
252
- else if (d == null)
253
- d = s[++i];
254
- else if (v == null)
255
- v = s[--u];
256
- else if (w($, d, r))
257
- k($, d, r), $ = t[++l], d = s[++i];
258
- else if (w(f, v, r))
259
- k(f, v, r), f = t[--c], v = s[--u];
260
- else if (w($, v, r))
261
- k($, v, r), x(e, $.$elm$, f.$elm$.nextSibling), $ = t[++l], v = s[--u];
262
- else if (w(f, d, r))
263
- k(f, d, r), x(e, f.$elm$, $.$elm$), f = t[--c], d = s[++i];
264
- else {
265
- for (a = -1, o = l; o <= c; ++o)
266
- if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
267
- a = o;
268
- break;
269
- }
270
- a >= 0 ? (h = t[a], h.$tag$ !== d.$tag$ ? p = L(t && t[i], n, a) : (k(h, d, r), t[a] = void 0, p = h.$elm$), d = s[++i]) : (p = L(t && t[i], n, i), d = s[++i]), p && x($.$elm$.parentNode, p, $.$elm$);
271
- }
272
- l > c ? se(
273
- e,
274
- s[u + 1] == null ? null : s[u + 1].$elm$,
275
- n,
276
- s,
277
- i,
278
- u
279
- ) : i > u && ne(t, l, c);
280
- }, w = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, n = !1) => {
281
- const s = t.$elm$ = e.$elm$, r = e.$children$, l = t.$children$;
282
- V(e, t, te), r !== null && l !== null ? Be(s, r, t, l, n) : l !== null ? se(s, null, t, l, 0, l.length - 1) : r !== null && ne(r, 0, r.length - 1);
283
- }, re = (e) => {
284
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(re);
285
- }, x = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), ze = (e, t, n = !1) => {
286
- const s = e.$hostElement$, r = e.$vnode$ || U(null, null), l = Le(t) ? t : xe(null, null, t);
287
- if (ee = s.tagName, n && l.$attrs$)
288
- for (const i of Object.keys(l.$attrs$))
289
- s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
290
- l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = r.$elm$ = s, k(r, l, n);
291
- }, le = (e, t) => {
292
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
293
- }, D = (e, t) => {
294
- if (e.$flags$ |= 16, e.$flags$ & 4) {
295
- e.$flags$ |= 512;
296
- return;
297
- }
298
- return le(e, e.$ancestorComponent$), be(() => qe(e, t));
299
- }, qe = (e, t) => {
300
- const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
301
- if (!r)
302
- throw new Error(
303
- `Can't render component <${n.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`
304
- );
305
- let l;
306
- return s(), Ce(l, () => Me(e, r, t));
307
- }, Ce = (e, t) => De(e) ? e.then(t).catch((n) => {
308
- console.error(n), t();
309
- }) : t(), De = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Me = (e, t, n) => T(void 0, null, function* () {
310
- var s;
311
- const r = e.$hostElement$, l = S("update", e.$cmpMeta$.$tagName$), i = r["s-rc"];
312
- n && He(e);
313
- const a = S("render", e.$cmpMeta$.$tagName$);
314
- We(e, t, r, n), i && (i.map((o) => o()), r["s-rc"] = void 0), a(), l();
315
- {
316
- const o = (s = r["s-p"]) != null ? s : [], c = () => Fe(e);
317
- o.length === 0 ? c() : (Promise.all(o).then(c), e.$flags$ |= 4, o.length = 0);
318
- }
319
- }), We = (e, t, n, s) => {
320
- try {
321
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, ze(e, t, s);
322
- } catch (r) {
323
- E(r, e.$hostElement$);
324
- }
325
- return null;
326
- }, Fe = (e) => {
327
- const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, l = e.$ancestorComponent$;
328
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ie(n), Ne(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), l || ae()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && q(() => D(e, !1)), e.$flags$ &= -517;
329
- }, ae = (e) => {
330
- ie(y.documentElement), q(() => je(z, "appload", { detail: { namespace: ce } }));
331
- }, Ne = (e, t, n) => {
332
- if (e && e[t])
333
- try {
334
- return e[t](n);
335
- } catch (s) {
336
- E(s);
337
- }
338
- }, ie = (e) => {
339
- var t;
340
- return e.classList.add((t = fe.hydratedSelectorName) != null ? t : "hydrated");
341
- }, Ye = (e, t) => b(e).$instanceValues$.get(t), Ge = (e, t, n, s) => {
342
- const r = b(e);
343
- if (!r)
344
- throw new Error(
345
- `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).`
346
- );
347
- const l = r.$hostElement$, i = r.$instanceValues$.get(t), a = r.$flags$, o = r.$lazyInstance$;
348
- n = _e(n, s.$members$[t][0]);
349
- const c = Number.isNaN(i) && Number.isNaN(n), $ = n !== i && !c;
350
- if ((!(a & 8) || i === void 0) && $ && (r.$instanceValues$.set(t, n), o)) {
351
- if (s.$watchers$ && a & 128) {
352
- const f = s.$watchers$[t];
353
- f && f.map((u) => {
354
- try {
355
- o[u](n, i, t);
356
- } catch (d) {
357
- E(d, l);
358
- }
359
- });
360
- }
361
- (a & 18) === 2 && D(r, !1);
362
- }
363
- }, oe = (e, t, n) => {
364
- var s, r;
365
- const l = e.prototype;
366
- if (t.$members$ || t.$watchers$ || e.watchers) {
367
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
368
- const i = Object.entries((s = t.$members$) != null ? s : {});
369
- if (i.map(([a, [o]]) => {
370
- (o & 31 || n & 2 && o & 32) && Object.defineProperty(l, a, {
371
- get() {
372
- return Ye(this, a);
373
- },
374
- set(c) {
375
- Ge(this, a, c, t);
376
- },
377
- configurable: !0,
378
- enumerable: !0
379
- });
380
- }), n & 1) {
381
- const a = /* @__PURE__ */ new Map();
382
- l.attributeChangedCallback = function(o, c, $) {
383
- g.jmp(() => {
384
- var f;
385
- const u = a.get(o);
386
- if (this.hasOwnProperty(u))
387
- $ = this[u], delete this[u];
388
- else {
389
- if (l.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == $)
390
- return;
391
- if (u == null) {
392
- const d = b(this), v = d == null ? void 0 : d.$flags$;
393
- if (v && !(v & 8) && v & 128 && $ !== c) {
394
- const p = d.$lazyInstance$, h = (f = t.$watchers$) == null ? void 0 : f[o];
395
- h == null || h.forEach((m) => {
396
- p[m] != null && p[m].call(p, $, c, o);
397
- });
398
- }
399
- return;
400
- }
401
- }
402
- this[u] = $ === null && typeof this[u] == "boolean" ? !1 : $;
403
- });
404
- }, e.observedAttributes = Array.from(
405
- /* @__PURE__ */ new Set([
406
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
407
- ...i.filter(
408
- ([o, c]) => c[0] & 15
409
- /* HasAttribute */
410
- ).map(([o, c]) => {
411
- const $ = c[1] || o;
412
- return a.set($, o), $;
413
- })
414
- ])
415
- );
416
- }
417
- }
418
- return e;
419
- }, Je = (e, t, n, s) => T(void 0, null, function* () {
420
- let r;
421
- if (!(t.$flags$ & 32)) {
422
- if (t.$flags$ |= 32, n.$lazyBundleId$) {
423
- const o = ge(n);
424
- if (o && "then" in o) {
425
- const $ = we();
426
- r = yield o, $();
427
- } else
428
- r = o;
429
- if (!r)
430
- throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
431
- r.isProxied || (n.$watchers$ = r.watchers, oe(
432
- r,
433
- n,
434
- 2
435
- /* proxyState */
436
- ), r.isProxied = !0);
437
- const c = S("createInstance", n.$tagName$);
438
- t.$flags$ |= 8;
439
- try {
440
- new r(t);
441
- } catch ($) {
442
- E($);
443
- }
444
- t.$flags$ &= -9, t.$flags$ |= 128, c();
445
- } else {
446
- r = e.constructor;
447
- const o = e.localName;
448
- customElements.whenDefined(o).then(
449
- () => t.$flags$ |= 128
450
- /* isWatchReady */
451
- );
452
- }
453
- if (r && r.style) {
454
- let o;
455
- typeof r.style == "string" && (o = r.style);
456
- const c = R(n);
457
- if (!A.has(c)) {
458
- const $ = S("registerStyles", n.$tagName$);
459
- Oe(c, o, !!(n.$flags$ & 1)), $();
460
- }
461
- }
462
- }
463
- const l = t.$ancestorComponent$, i = () => D(t, !0);
464
- l && l["s-rc"] ? l["s-rc"].push(i) : i();
465
- }), Ke = (e) => {
466
- }, Qe = (e) => {
467
- if (!(g.$flags$ & 1)) {
468
- const t = b(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
469
- if (t.$flags$ & 1)
470
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ke());
471
- else {
472
- t.$flags$ |= 1;
473
- {
474
- let r = e;
475
- for (; r = r.parentNode || r.host; )
476
- if (r["s-p"]) {
477
- le(t, t.$ancestorComponent$ = r);
478
- break;
479
- }
480
- }
481
- n.$members$ && Object.entries(n.$members$).map(([r, [l]]) => {
482
- if (l & 31 && e.hasOwnProperty(r)) {
483
- const i = e[r];
484
- delete e[r], e[r] = i;
485
- }
486
- }), Je(e, t, n);
487
- }
488
- s();
489
- }
490
- }, Xe = (e) => {
491
- }, Ze = (e) => T(void 0, null, function* () {
492
- if (!(g.$flags$ & 1)) {
493
- const t = b(e);
494
- t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Xe());
495
- }
496
- }), tt = (e, t = {}) => {
497
- var n;
498
- const s = S(), r = [], l = t.exclude || [], i = z.customElements, a = y.head, o = /* @__PURE__ */ a.querySelector("meta[charset]"), c = /* @__PURE__ */ y.createElement("style"), $ = [];
499
- let f, u = !0;
500
- Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
501
- let d = !1;
502
- if (e.map((v) => {
503
- v[1].map((p) => {
504
- var h;
505
- const m = {
506
- $flags$: p[0],
507
- $tagName$: p[1],
508
- $members$: p[2],
509
- $listeners$: p[3]
510
- };
511
- m.$flags$ & 4 && (d = !0), m.$members$ = p[2], m.$watchers$ = (h = p[4]) != null ? h : {};
512
- const P = m.$tagName$, $e = class extends HTMLElement {
513
- // StencilLazyHost
514
- constructor(_) {
515
- super(_), this.hasRegisteredEventListeners = !1, _ = this, ve(_, m);
516
- }
517
- connectedCallback() {
518
- b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? $.push(this) : g.jmp(() => Qe(this));
519
- }
520
- disconnectedCallback() {
521
- g.jmp(() => Ze(this));
522
- }
523
- componentOnReady() {
524
- return b(this).$onReadyPromise$;
525
- }
526
- };
527
- m.$lazyBundleId$ = v[0], !l.includes(P) && !i.get(P) && (r.push(P), i.define(
528
- P,
529
- oe(
530
- $e,
531
- m,
532
- 1
533
- /* isElementConstructor */
534
- )
535
- ));
536
- });
537
- }), r.length > 0 && (d && (c.textContent += K), c.textContent += r.sort() + he, c.innerHTML.length)) {
538
- c.setAttribute("data-styles", "");
539
- const v = (n = g.$nonce$) != null ? n : X(y);
540
- v != null && c.setAttribute("nonce", v), a.insertBefore(c, o ? o.nextSibling : a.firstChild);
541
- }
542
- u = !1, $.length ? $.map((v) => v.connectedCallback()) : g.jmp(() => f = setTimeout(ae, 30)), s();
543
- };
544
- export {
545
- tt as b,
546
- et as g,
547
- xe as h,
548
- me as p,
549
- Ve as r
550
- };