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