@everymatrix/casino-lobby 1.53.0 → 1.53.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.
- package/components/{CasinoCalendar-0AyYaYr6.js → CasinoCalendar-Ic3lq1UY.js} +1738 -1707
- package/components/CasinoCalendarDailyDetails-buDoufAV.js +701 -0
- package/components/CasinoCalendarDailyItem-koPRd703.js +315 -0
- package/components/{CasinoCategoriesSlider-DZ3Xi2sD.js → CasinoCategoriesSlider-Bp9JHeM_.js} +24 -24
- package/components/{CasinoCollectionsProviders-CNZ2cCAe.js → CasinoCollectionsProviders-CrpNb22N.js} +241 -246
- package/components/{CasinoFavoritesSection-nPP9uMBT.js → CasinoFavoritesSection-C1XEW6Z6.js} +19 -19
- package/components/{CasinoFilter-CxB9D2A4.js → CasinoFilter-CYZHW74M.js} +79 -80
- package/components/{CasinoGamePage-CDh-e6Wj.js → CasinoGamePage-CCqWDOmI.js} +1280 -1301
- package/components/{CasinoGameThumbnail-B7A74Vsr.js → CasinoGameThumbnail-zLPpnkNm.js} +342 -358
- package/components/{CasinoGamesCategorySection-DcPbkQ1J.js → CasinoGamesCategorySection-DMGyKJ-j.js} +1104 -1135
- package/components/{CasinoJackpotBanner-DPuhYIS9.js → CasinoJackpotBanner-CL7SMQDH.js} +174 -178
- package/components/{CasinoLastPlayedSection-Bh4HPjN6.js → CasinoLastPlayedSection-Cm6BF1pV.js} +20 -20
- package/components/{CasinoLobby-D9bnqJ-e.js → CasinoLobby-DPo1HzH2.js} +56 -56
- package/components/{CasinoModal-CDlxjS83.js → CasinoModal-z0xixUlG.js} +66 -66
- package/components/{CasinoMostPlayedSection-Dvzz1ZMp.js → CasinoMostPlayedSection-CA67PY54.js} +26 -26
- package/components/{CasinoMyGames-DcQjF0G5.js → CasinoMyGames-DvJ46R6O.js} +72 -73
- package/components/{CasinoPage-HvM3Nh7b.js → CasinoPage-CfEe4r2D.js} +812 -815
- package/components/{CasinoRandomGame-Cw331FLx.js → CasinoRandomGame-efA8CEqy.js} +232 -248
- package/components/{CasinoSearch-DE7Dd1yO.js → CasinoSearch-CZ5ggDbP.js} +232 -234
- package/components/{CasinoSlider-b2MX1hWZ.js → CasinoSlider-BPqJIB5d.js} +226 -232
- package/components/{CasinoSort-ContI1pC.js → CasinoSort-CBtcK7i0.js} +19 -20
- package/components/{CasinoWinners-BZNLRgvw.js → CasinoWinners-Db2ivy-R.js} +151 -153
- package/components/{GeneralAnimationLoading-C-B40oIV.js → GeneralAnimationLoading-DiwFEyef.js} +3 -3
- package/esnext/casino-lobby.js +14 -0
- package/package.json +8 -15
- package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-BrayzMrR.js} +45 -63
- package/stencil/index-47910d1c-CWwDm8i3.js +623 -0
- package/components/CasinoCalendar-aMUXtMPt.cjs +0 -9
- package/components/CasinoCalendarDailyDetails-Djpw089y.js +0 -605
- package/components/CasinoCalendarDailyDetails-DvaXsJ6J.cjs +0 -1
- package/components/CasinoCalendarDailyItem-BNFG5z35.js +0 -220
- package/components/CasinoCalendarDailyItem-CMMlKWuC.cjs +0 -1
- package/components/CasinoCategoriesSlider-C6tCM7PI.cjs +0 -1
- package/components/CasinoCollectionsProviders-BrLC6Grn.cjs +0 -1
- package/components/CasinoFavoritesSection-BKjicWtD.cjs +0 -1
- package/components/CasinoFilter-DdhssY81.cjs +0 -1
- package/components/CasinoGamePage-D-wyPyQN.cjs +0 -18
- package/components/CasinoGameThumbnail-DpkiaEqW.cjs +0 -38
- package/components/CasinoGamesCategorySection-Cc1Rm1Na.cjs +0 -1
- package/components/CasinoJackpotBanner-BlShS5Vc.cjs +0 -1
- package/components/CasinoLastPlayedSection-B31ODrlT.cjs +0 -1
- package/components/CasinoLobby-Div4S8Zy.cjs +0 -1
- package/components/CasinoModal-BYPHyNGp.cjs +0 -1
- package/components/CasinoMostPlayedSection-DqIAwpb6.cjs +0 -1
- package/components/CasinoMyGames-BFpFNq0j.cjs +0 -1
- package/components/CasinoPage-DuifBwkY.cjs +0 -1
- package/components/CasinoRandomGame-BpdxwlFB.cjs +0 -2
- package/components/CasinoSearch-Btc8Ivnp.cjs +0 -1
- package/components/CasinoSlider-GXmtset2.cjs +0 -1
- package/components/CasinoSort-Bb3WIr_q.cjs +0 -1
- package/components/CasinoWinners-B4eUo0-6.cjs +0 -1
- package/components/GeneralAnimationLoading-CtmRY9AI.cjs +0 -1
- package/es2015/casino-lobby.cjs +0 -1
- package/es2015/casino-lobby.js +0 -16
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/casino-play-random-game-CQe5iDJ8.cjs +0 -371
- package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
- package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
|
@@ -0,0 +1,623 @@
|
|
|
1
|
+
const ye = "casino-play-random-game", q = (
|
|
2
|
+
/* casino-play-random-game */
|
|
3
|
+
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, modernPropertyDecls: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !1, propMutable: !1, propNumber: !1, propString: !0, reflect: !0, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !1, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
|
4
|
+
);
|
|
5
|
+
var ve = Object.defineProperty, Se = (e, t) => {
|
|
6
|
+
for (var n in t)
|
|
7
|
+
ve(e, n, { get: t[n], enumerable: !0 });
|
|
8
|
+
}, F = /* @__PURE__ */ new WeakMap(), S = (e) => F.get(e), et = (e, t) => {
|
|
9
|
+
F.set(t.$lazyInstance$ = e, t);
|
|
10
|
+
}, Ee = (e, t) => {
|
|
11
|
+
const n = {
|
|
12
|
+
$flags$: 0,
|
|
13
|
+
$hostElement$: e,
|
|
14
|
+
$cmpMeta$: t,
|
|
15
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
16
|
+
};
|
|
17
|
+
return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], F.set(e, n);
|
|
18
|
+
}, K = (e, t) => t in e, L = (e, t) => (0, console.error)(e, t), I = /* @__PURE__ */ new Map(), ke = (e, t, n) => {
|
|
19
|
+
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
20
|
+
if (!r)
|
|
21
|
+
return;
|
|
22
|
+
const a = I.get(r);
|
|
23
|
+
if (a)
|
|
24
|
+
return a[s];
|
|
25
|
+
{
|
|
26
|
+
const i = (l) => (I.set(r, l), l[s]);
|
|
27
|
+
switch (r) {
|
|
28
|
+
case "casino-play-random-game":
|
|
29
|
+
return import(
|
|
30
|
+
/* webpackMode: "lazy" */
|
|
31
|
+
"./casino-play-random-game-BrayzMrR.js"
|
|
32
|
+
).then(i, L);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return import(
|
|
36
|
+
/* @vite-ignore */
|
|
37
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
38
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
39
|
+
/* webpackMode: "lazy" */
|
|
40
|
+
`./${r}.entry.js`
|
|
41
|
+
).then(
|
|
42
|
+
(i) => (I.set(r, i), i[s]),
|
|
43
|
+
(i) => {
|
|
44
|
+
L(i, t.$hostElement$);
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}, m = /* @__PURE__ */ new Map(), xe = "sty-id", Te = "{visibility:hidden}.hydrated{visibility:inherit}", ee = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window < "u" ? window : {}, k = j.document || { head: {} }, h = {
|
|
48
|
+
$flags$: 0,
|
|
49
|
+
$resourcesUrl$: "",
|
|
50
|
+
jmp: (e) => e(),
|
|
51
|
+
raf: (e) => requestAnimationFrame(e),
|
|
52
|
+
ael: (e, t, n, s) => e.addEventListener(t, n, s),
|
|
53
|
+
rel: (e, t, n, s) => e.removeEventListener(t, n, s),
|
|
54
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
55
|
+
}, Le = (e) => Promise.resolve(e), te = /* @__PURE__ */ (() => {
|
|
56
|
+
try {
|
|
57
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
58
|
+
} catch {
|
|
59
|
+
}
|
|
60
|
+
return !1;
|
|
61
|
+
})(), D = !1, M = [], se = [], we = (e, t) => (n) => {
|
|
62
|
+
e.push(n), D || (D = !0, h.$flags$ & 4 ? W(U) : h.raf(U));
|
|
63
|
+
}, J = (e) => {
|
|
64
|
+
for (let t = 0; t < e.length; t++)
|
|
65
|
+
try {
|
|
66
|
+
e[t](performance.now());
|
|
67
|
+
} catch (n) {
|
|
68
|
+
L(n);
|
|
69
|
+
}
|
|
70
|
+
e.length = 0;
|
|
71
|
+
}, U = () => {
|
|
72
|
+
J(M), J(se), (D = M.length > 0) && h.raf(U);
|
|
73
|
+
}, W = (e) => Le().then(e), Pe = /* @__PURE__ */ we(se), G = (e) => (e = typeof e, e === "object" || e === "function");
|
|
74
|
+
function ne(e) {
|
|
75
|
+
var t, n, s;
|
|
76
|
+
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;
|
|
77
|
+
}
|
|
78
|
+
var Ae = {};
|
|
79
|
+
Se(Ae, {
|
|
80
|
+
err: () => re,
|
|
81
|
+
map: () => be,
|
|
82
|
+
ok: () => R,
|
|
83
|
+
unwrap: () => _e,
|
|
84
|
+
unwrapErr: () => me
|
|
85
|
+
});
|
|
86
|
+
var R = (e) => ({
|
|
87
|
+
isOk: !0,
|
|
88
|
+
isErr: !1,
|
|
89
|
+
value: e
|
|
90
|
+
}), re = (e) => ({
|
|
91
|
+
isOk: !1,
|
|
92
|
+
isErr: !0,
|
|
93
|
+
value: e
|
|
94
|
+
});
|
|
95
|
+
function be(e, t) {
|
|
96
|
+
if (e.isOk) {
|
|
97
|
+
const n = t(e.value);
|
|
98
|
+
return n instanceof Promise ? n.then((s) => R(s)) : R(n);
|
|
99
|
+
}
|
|
100
|
+
if (e.isErr) {
|
|
101
|
+
const n = e.value;
|
|
102
|
+
return re(n);
|
|
103
|
+
}
|
|
104
|
+
throw "should never get here";
|
|
105
|
+
}
|
|
106
|
+
var _e = (e) => {
|
|
107
|
+
if (e.isOk)
|
|
108
|
+
return e.value;
|
|
109
|
+
throw e.value;
|
|
110
|
+
}, me = (e) => {
|
|
111
|
+
if (e.isErr)
|
|
112
|
+
return e.value;
|
|
113
|
+
throw e.value;
|
|
114
|
+
}, x = (e, t = "") => () => {
|
|
115
|
+
}, Oe = (e, t) => () => {
|
|
116
|
+
}, je = (e, t, ...n) => {
|
|
117
|
+
let s = null, r = null, a = !1, i = !1;
|
|
118
|
+
const l = [], f = ($) => {
|
|
119
|
+
for (let d = 0; d < $.length; d++)
|
|
120
|
+
s = $[d], Array.isArray(s) ? f(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !G(s)) && (s = String(s)), a && i ? l[l.length - 1].$text$ += s : l.push(a ? H(null, s) : s), i = a);
|
|
121
|
+
};
|
|
122
|
+
if (f(n), t) {
|
|
123
|
+
t.key && (r = t.key);
|
|
124
|
+
{
|
|
125
|
+
const $ = t.className || t.class;
|
|
126
|
+
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((d) => $[d]).join(" "));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
const o = H(e, null);
|
|
130
|
+
return o.$attrs$ = t, l.length > 0 && (o.$children$ = l), o.$key$ = r, o;
|
|
131
|
+
}, H = (e, t) => {
|
|
132
|
+
const n = {
|
|
133
|
+
$flags$: 0,
|
|
134
|
+
$tag$: e,
|
|
135
|
+
$text$: t,
|
|
136
|
+
$elm$: null,
|
|
137
|
+
$children$: null
|
|
138
|
+
};
|
|
139
|
+
return n.$attrs$ = null, n.$key$ = null, n;
|
|
140
|
+
}, Ie = {}, ze = (e) => e && e.$tag$ === Ie, C = (e, t) => e != null && !G(e) && t & 1 ? String(e) : e, tt = (e) => S(e).$hostElement$, De = (e, t, n) => {
|
|
141
|
+
const s = h.ce(t, n);
|
|
142
|
+
return e.dispatchEvent(s), s;
|
|
143
|
+
}, P = /* @__PURE__ */ new WeakMap(), Ue = (e, t, n) => {
|
|
144
|
+
let s = m.get(e);
|
|
145
|
+
te && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, m.set(e, s);
|
|
146
|
+
}, Re = (e, t, n) => {
|
|
147
|
+
var s;
|
|
148
|
+
const r = le(t), a = m.get(r);
|
|
149
|
+
if (e = e.nodeType === 11 ? e : k, a)
|
|
150
|
+
if (typeof a == "string") {
|
|
151
|
+
e = e.head || e;
|
|
152
|
+
let i = P.get(e), l;
|
|
153
|
+
if (i || P.set(e, i = /* @__PURE__ */ new Set()), !i.has(r)) {
|
|
154
|
+
{
|
|
155
|
+
l = document.querySelector(`[${xe}="${r}"]`) || k.createElement("style"), l.innerHTML = a;
|
|
156
|
+
const f = (s = h.$nonce$) != null ? s : ne(k);
|
|
157
|
+
if (f != null && l.setAttribute("nonce", f), !(t.$flags$ & 1))
|
|
158
|
+
if (e.nodeName === "HEAD") {
|
|
159
|
+
const o = e.querySelectorAll("link[rel=preconnect]"), $ = o.length > 0 ? o[o.length - 1].nextSibling : e.querySelector("style");
|
|
160
|
+
e.insertBefore(
|
|
161
|
+
l,
|
|
162
|
+
$?.parentNode === e ? $ : null
|
|
163
|
+
);
|
|
164
|
+
} else if ("host" in e)
|
|
165
|
+
if (te) {
|
|
166
|
+
const o = new CSSStyleSheet();
|
|
167
|
+
o.replaceSync(a), e.adoptedStyleSheets = [o, ...e.adoptedStyleSheets];
|
|
168
|
+
} else {
|
|
169
|
+
const o = e.querySelector("style");
|
|
170
|
+
o ? o.innerHTML = a + o.innerHTML : e.prepend(l);
|
|
171
|
+
}
|
|
172
|
+
else
|
|
173
|
+
e.append(l);
|
|
174
|
+
t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(l, null);
|
|
175
|
+
}
|
|
176
|
+
t.$flags$ & 4 && (l.innerHTML += ee), i && i.add(r);
|
|
177
|
+
}
|
|
178
|
+
} else e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
179
|
+
return r;
|
|
180
|
+
}, He = (e) => {
|
|
181
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = x("attachStyles", t.$tagName$), a = Re(
|
|
182
|
+
n.shadowRoot ? n.shadowRoot : n.getRootNode(),
|
|
183
|
+
t
|
|
184
|
+
);
|
|
185
|
+
s & 10 && s & 2 && (n["s-sc"] = a, n.classList.add(a + "-h")), r();
|
|
186
|
+
}, le = (e, t) => "sc-" + e.$tagName$, Z = (e, t, n, s, r, a, i) => {
|
|
187
|
+
if (n !== s) {
|
|
188
|
+
let l = K(e, t), f = t.toLowerCase();
|
|
189
|
+
if (t === "class") {
|
|
190
|
+
const o = e.classList, $ = V(n);
|
|
191
|
+
let d = V(s);
|
|
192
|
+
o.remove(...$.filter((c) => c && !d.includes(c))), o.add(...d.filter((c) => c && !$.includes(c)));
|
|
193
|
+
} else if (t !== "key") if (t === "ref")
|
|
194
|
+
s && s(e);
|
|
195
|
+
else if (!l && t[0] === "o" && t[1] === "n") {
|
|
196
|
+
if (t[2] === "-" ? t = t.slice(3) : K(j, f) ? t = f.slice(2) : t = f[2] + t.slice(3), n || s) {
|
|
197
|
+
const o = t.endsWith(ae);
|
|
198
|
+
t = t.replace(Be, ""), n && h.rel(e, t, n, o), s && h.ael(e, t, s, o);
|
|
199
|
+
}
|
|
200
|
+
} else {
|
|
201
|
+
const o = G(s);
|
|
202
|
+
if (l || o && s !== null)
|
|
203
|
+
try {
|
|
204
|
+
if (e.tagName.includes("-"))
|
|
205
|
+
e[t] !== s && (e[t] = s);
|
|
206
|
+
else {
|
|
207
|
+
const $ = s ?? "";
|
|
208
|
+
t === "list" ? l = !1 : (n == null || e[t] != $) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = $ : e.setAttribute(t, $));
|
|
209
|
+
}
|
|
210
|
+
} catch {
|
|
211
|
+
}
|
|
212
|
+
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !o && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}, Ce = /\s/, V = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(Ce)), ae = "Capture", Be = new RegExp(ae + "$"), ie = (e, t, n, s) => {
|
|
216
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, a = e && e.$attrs$ || {}, i = t.$attrs$ || {};
|
|
217
|
+
for (const l of N(Object.keys(a)))
|
|
218
|
+
l in i || Z(
|
|
219
|
+
r,
|
|
220
|
+
l,
|
|
221
|
+
a[l],
|
|
222
|
+
void 0,
|
|
223
|
+
n,
|
|
224
|
+
t.$flags$
|
|
225
|
+
);
|
|
226
|
+
for (const l of N(Object.keys(i)))
|
|
227
|
+
Z(
|
|
228
|
+
r,
|
|
229
|
+
l,
|
|
230
|
+
a[l],
|
|
231
|
+
i[l],
|
|
232
|
+
n,
|
|
233
|
+
t.$flags$
|
|
234
|
+
);
|
|
235
|
+
};
|
|
236
|
+
function N(e) {
|
|
237
|
+
return e.includes("ref") ? (
|
|
238
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
239
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
240
|
+
) : (
|
|
241
|
+
// no need to sort, return the original array
|
|
242
|
+
e
|
|
243
|
+
);
|
|
244
|
+
}
|
|
245
|
+
var X, oe = !1, O = (e, t, n) => {
|
|
246
|
+
const s = t.$children$[n];
|
|
247
|
+
let r = 0, a, i;
|
|
248
|
+
if (s.$text$ !== null)
|
|
249
|
+
a = s.$elm$ = k.createTextNode(s.$text$);
|
|
250
|
+
else if (a = s.$elm$ = k.createElement(
|
|
251
|
+
s.$tag$
|
|
252
|
+
), ie(null, s, oe), s.$children$)
|
|
253
|
+
for (r = 0; r < s.$children$.length; ++r)
|
|
254
|
+
i = O(e, s, r), i && a.appendChild(i);
|
|
255
|
+
return a["s-hn"] = X, a;
|
|
256
|
+
}, $e = (e, t, n, s, r, a) => {
|
|
257
|
+
let i = e, l;
|
|
258
|
+
for (i.shadowRoot && i.tagName === X && (i = i.shadowRoot); r <= a; ++r)
|
|
259
|
+
s[r] && (l = O(null, n, r), l && (s[r].$elm$ = l, _(i, l, t)));
|
|
260
|
+
}, ce = (e, t, n) => {
|
|
261
|
+
for (let s = t; s <= n; ++s) {
|
|
262
|
+
const r = e[s];
|
|
263
|
+
if (r) {
|
|
264
|
+
const a = r.$elm$;
|
|
265
|
+
fe(r), a && a.remove();
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}, qe = (e, t, n, s, r = !1) => {
|
|
269
|
+
let a = 0, i = 0, l = 0, f = 0, o = t.length - 1, $ = t[0], d = t[o], c = s.length - 1, u = s[0], p = s[c], g, v;
|
|
270
|
+
for (; a <= o && i <= c; )
|
|
271
|
+
if ($ == null)
|
|
272
|
+
$ = t[++a];
|
|
273
|
+
else if (d == null)
|
|
274
|
+
d = t[--o];
|
|
275
|
+
else if (u == null)
|
|
276
|
+
u = s[++i];
|
|
277
|
+
else if (p == null)
|
|
278
|
+
p = s[--c];
|
|
279
|
+
else if (b($, u, r))
|
|
280
|
+
w($, u, r), $ = t[++a], u = s[++i];
|
|
281
|
+
else if (b(d, p, r))
|
|
282
|
+
w(d, p, r), d = t[--o], p = s[--c];
|
|
283
|
+
else if (b($, p, r))
|
|
284
|
+
w($, p, r), _(e, $.$elm$, d.$elm$.nextSibling), $ = t[++a], p = s[--c];
|
|
285
|
+
else if (b(d, u, r))
|
|
286
|
+
w(d, u, r), _(e, d.$elm$, $.$elm$), d = t[--o], u = s[++i];
|
|
287
|
+
else {
|
|
288
|
+
for (l = -1, f = a; f <= o; ++f)
|
|
289
|
+
if (t[f] && t[f].$key$ !== null && t[f].$key$ === u.$key$) {
|
|
290
|
+
l = f;
|
|
291
|
+
break;
|
|
292
|
+
}
|
|
293
|
+
l >= 0 ? (v = t[l], v.$tag$ !== u.$tag$ ? g = O(t && t[i], n, l) : (w(v, u, r), t[l] = void 0, g = v.$elm$), u = s[++i]) : (g = O(t && t[i], n, i), u = s[++i]), g && _($.$elm$.parentNode, g, $.$elm$);
|
|
294
|
+
}
|
|
295
|
+
a > o ? $e(
|
|
296
|
+
e,
|
|
297
|
+
s[c + 1] == null ? null : s[c + 1].$elm$,
|
|
298
|
+
n,
|
|
299
|
+
s,
|
|
300
|
+
i,
|
|
301
|
+
c
|
|
302
|
+
) : i > c && ce(t, a, o);
|
|
303
|
+
}, b = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? (n && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, w = (e, t, n = !1) => {
|
|
304
|
+
const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, i = t.$text$;
|
|
305
|
+
i === null ? (ie(e, t, oe), r !== null && a !== null ? qe(s, r, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), $e(s, null, t, a, 0, a.length - 1)) : (
|
|
306
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
307
|
+
!n && q.updatable && r !== null && ce(r, 0, r.length - 1)
|
|
308
|
+
)) : e.$text$ !== i && (s.data = i);
|
|
309
|
+
}, fe = (e) => {
|
|
310
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);
|
|
311
|
+
}, _ = (e, t, n) => e?.insertBefore(t, n), Fe = (e, t, n = !1) => {
|
|
312
|
+
const s = e.$hostElement$, r = e.$cmpMeta$, a = e.$vnode$ || H(null, null), i = ze(t) ? t : je(null, null, t);
|
|
313
|
+
if (X = s.tagName, r.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, r.$attrsToReflect$.map(
|
|
314
|
+
([l, f]) => i.$attrs$[f] = s[l]
|
|
315
|
+
)), n && i.$attrs$)
|
|
316
|
+
for (const l of Object.keys(i.$attrs$))
|
|
317
|
+
s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = s[l]);
|
|
318
|
+
i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = a.$elm$ = s.shadowRoot || s, r.$flags$ & 1, w(a, i, n);
|
|
319
|
+
}, de = (e, t) => {
|
|
320
|
+
if (t && !e.$onRenderResolve$ && t["s-p"]) {
|
|
321
|
+
const n = t["s-p"].push(
|
|
322
|
+
new Promise(
|
|
323
|
+
(s) => e.$onRenderResolve$ = () => {
|
|
324
|
+
t["s-p"].splice(n - 1, 1), s();
|
|
325
|
+
}
|
|
326
|
+
)
|
|
327
|
+
);
|
|
328
|
+
}
|
|
329
|
+
}, Y = (e, t) => {
|
|
330
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
331
|
+
e.$flags$ |= 512;
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
return de(e, e.$ancestorComponent$), Pe(() => We(e, t));
|
|
335
|
+
}, We = (e, t) => {
|
|
336
|
+
const n = e.$hostElement$, s = x("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
337
|
+
if (!r)
|
|
338
|
+
throw new Error(
|
|
339
|
+
`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`
|
|
340
|
+
);
|
|
341
|
+
let a;
|
|
342
|
+
return t && (a = Q(r, "componentWillLoad", void 0, n)), s(), Ge(a, () => Ye(e, r, t));
|
|
343
|
+
}, Ge = (e, t) => Xe(e) ? e.then(t).catch((n) => {
|
|
344
|
+
console.error(n), t();
|
|
345
|
+
}) : t(), Xe = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ye = async (e, t, n) => {
|
|
346
|
+
var s;
|
|
347
|
+
const r = e.$hostElement$, a = x("update", e.$cmpMeta$.$tagName$), i = r["s-rc"];
|
|
348
|
+
n && He(e);
|
|
349
|
+
const l = x("render", e.$cmpMeta$.$tagName$);
|
|
350
|
+
Qe(e, t, r, n), i && (i.map((f) => f()), r["s-rc"] = void 0), l(), a();
|
|
351
|
+
{
|
|
352
|
+
const f = (s = r["s-p"]) != null ? s : [], o = () => Ke(e);
|
|
353
|
+
f.length === 0 ? o() : (Promise.all(f).then(o), e.$flags$ |= 4, f.length = 0);
|
|
354
|
+
}
|
|
355
|
+
}, Qe = (e, t, n, s) => {
|
|
356
|
+
try {
|
|
357
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Fe(e, t, s);
|
|
358
|
+
} catch (r) {
|
|
359
|
+
L(r, e.$hostElement$);
|
|
360
|
+
}
|
|
361
|
+
return null;
|
|
362
|
+
}, Ke = (e) => {
|
|
363
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = x("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
|
|
364
|
+
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, pe(n), Q(r, "componentDidLoad", void 0, n), s(), e.$onReadyResolve$(n), a || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && W(() => Y(e, !1)), e.$flags$ &= -517;
|
|
365
|
+
}, ue = (e) => {
|
|
366
|
+
pe(k.documentElement), W(() => De(j, "appload", { detail: { namespace: ye } }));
|
|
367
|
+
}, Q = (e, t, n, s) => {
|
|
368
|
+
if (e && e[t])
|
|
369
|
+
try {
|
|
370
|
+
return e[t](n);
|
|
371
|
+
} catch (r) {
|
|
372
|
+
L(r, s);
|
|
373
|
+
}
|
|
374
|
+
}, pe = (e) => {
|
|
375
|
+
var t;
|
|
376
|
+
return e.classList.add((t = q.hydratedSelectorName) != null ? t : "hydrated");
|
|
377
|
+
}, Me = (e, t) => S(e).$instanceValues$.get(t), z = (e, t, n, s) => {
|
|
378
|
+
const r = S(e);
|
|
379
|
+
if (!r)
|
|
380
|
+
throw new Error(
|
|
381
|
+
`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).`
|
|
382
|
+
);
|
|
383
|
+
const a = r.$hostElement$, i = r.$instanceValues$.get(t), l = r.$flags$, f = r.$lazyInstance$;
|
|
384
|
+
n = C(n, s.$members$[t][0]);
|
|
385
|
+
const o = Number.isNaN(i) && Number.isNaN(n), $ = n !== i && !o;
|
|
386
|
+
if ((!(l & 8) || i === void 0) && $ && (r.$instanceValues$.set(t, n), f)) {
|
|
387
|
+
if (s.$watchers$ && l & 128) {
|
|
388
|
+
const d = s.$watchers$[t];
|
|
389
|
+
d && d.map((c) => {
|
|
390
|
+
try {
|
|
391
|
+
f[c](n, i, t);
|
|
392
|
+
} catch (u) {
|
|
393
|
+
L(u, a);
|
|
394
|
+
}
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
(l & 18) === 2 && Y(r, !1);
|
|
398
|
+
}
|
|
399
|
+
}, he = (e, t, n) => {
|
|
400
|
+
var s, r;
|
|
401
|
+
const a = e.prototype;
|
|
402
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
403
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
404
|
+
const i = Object.entries((s = t.$members$) != null ? s : {});
|
|
405
|
+
if (i.map(([l, [f]]) => {
|
|
406
|
+
if (f & 31 || n & 2 && f & 32) {
|
|
407
|
+
const { get: o, set: $ } = Object.getOwnPropertyDescriptor(a, l) || {};
|
|
408
|
+
o && (t.$members$[l][0] |= 2048), $ && (t.$members$[l][0] |= 4096), (n & 1 || !o) && Object.defineProperty(a, l, {
|
|
409
|
+
get() {
|
|
410
|
+
{
|
|
411
|
+
if (!(t.$members$[l][0] & 2048))
|
|
412
|
+
return Me(this, l);
|
|
413
|
+
const d = S(this), c = d ? d.$lazyInstance$ : a;
|
|
414
|
+
return c ? c[l] : void 0;
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
configurable: !0,
|
|
418
|
+
enumerable: !0
|
|
419
|
+
}), Object.defineProperty(a, l, {
|
|
420
|
+
set(d) {
|
|
421
|
+
const c = S(this);
|
|
422
|
+
if ($) {
|
|
423
|
+
const u = f & 32 ? this[l] : c.$hostElement$[l];
|
|
424
|
+
typeof u > "u" && c.$instanceValues$.get(l) ? d = c.$instanceValues$.get(l) : !c.$instanceValues$.get(l) && u && c.$instanceValues$.set(l, u), $.apply(this, [C(d, f)]), d = f & 32 ? this[l] : c.$hostElement$[l], z(this, l, d, t);
|
|
425
|
+
return;
|
|
426
|
+
}
|
|
427
|
+
{
|
|
428
|
+
if (!(n & 1) || !(t.$members$[l][0] & 4096)) {
|
|
429
|
+
z(this, l, d, t), n & 1 && !c.$lazyInstance$ && c.$onReadyPromise$.then(() => {
|
|
430
|
+
t.$members$[l][0] & 4096 && c.$lazyInstance$[l] !== c.$instanceValues$.get(l) && (c.$lazyInstance$[l] = d);
|
|
431
|
+
});
|
|
432
|
+
return;
|
|
433
|
+
}
|
|
434
|
+
const u = () => {
|
|
435
|
+
const p = c.$lazyInstance$[l];
|
|
436
|
+
!c.$instanceValues$.get(l) && p && c.$instanceValues$.set(l, p), c.$lazyInstance$[l] = C(d, f), z(this, l, c.$lazyInstance$[l], t);
|
|
437
|
+
};
|
|
438
|
+
c.$lazyInstance$ ? u() : c.$onReadyPromise$.then(() => u());
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
}), n & 1) {
|
|
444
|
+
const l = /* @__PURE__ */ new Map();
|
|
445
|
+
a.attributeChangedCallback = function(f, o, $) {
|
|
446
|
+
h.jmp(() => {
|
|
447
|
+
var d;
|
|
448
|
+
const c = l.get(f);
|
|
449
|
+
if (this.hasOwnProperty(c) && q.lazyLoad)
|
|
450
|
+
$ = this[c], delete this[c];
|
|
451
|
+
else {
|
|
452
|
+
if (a.hasOwnProperty(c) && typeof this[c] == "number" && // cast type to number to avoid TS compiler issues
|
|
453
|
+
this[c] == $)
|
|
454
|
+
return;
|
|
455
|
+
if (c == null) {
|
|
456
|
+
const p = S(this), g = p?.$flags$;
|
|
457
|
+
if (g && !(g & 8) && g & 128 && $ !== o) {
|
|
458
|
+
const v = p.$lazyInstance$, y = (d = t.$watchers$) == null ? void 0 : d[f];
|
|
459
|
+
y?.forEach((T) => {
|
|
460
|
+
v[T] != null && v[T].call(v, $, o, f);
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
return;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
const u = Object.getOwnPropertyDescriptor(a, c);
|
|
467
|
+
$ = $ === null && typeof this[c] == "boolean" ? !1 : $, $ !== this[c] && (!u.get || u.set) && (this[c] = $);
|
|
468
|
+
});
|
|
469
|
+
}, e.observedAttributes = Array.from(
|
|
470
|
+
/* @__PURE__ */ new Set([
|
|
471
|
+
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
472
|
+
...i.filter(
|
|
473
|
+
([f, o]) => o[0] & 15
|
|
474
|
+
/* HasAttribute */
|
|
475
|
+
).map(([f, o]) => {
|
|
476
|
+
var $;
|
|
477
|
+
const d = o[1] || f;
|
|
478
|
+
return l.set(d, f), o[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([f, d])), d;
|
|
479
|
+
})
|
|
480
|
+
])
|
|
481
|
+
);
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
return e;
|
|
485
|
+
}, Je = async (e, t, n, s) => {
|
|
486
|
+
let r;
|
|
487
|
+
if (!(t.$flags$ & 32)) {
|
|
488
|
+
t.$flags$ |= 32;
|
|
489
|
+
{
|
|
490
|
+
const l = ke(n, t);
|
|
491
|
+
if (l && "then" in l) {
|
|
492
|
+
const o = Oe();
|
|
493
|
+
r = await l, o();
|
|
494
|
+
} else
|
|
495
|
+
r = l;
|
|
496
|
+
if (!r)
|
|
497
|
+
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
498
|
+
r.isProxied || (n.$watchers$ = r.watchers, he(
|
|
499
|
+
r,
|
|
500
|
+
n,
|
|
501
|
+
2
|
|
502
|
+
/* proxyState */
|
|
503
|
+
), r.isProxied = !0);
|
|
504
|
+
const f = x("createInstance", n.$tagName$);
|
|
505
|
+
t.$flags$ |= 8;
|
|
506
|
+
try {
|
|
507
|
+
new r(t);
|
|
508
|
+
} catch (o) {
|
|
509
|
+
L(o, e);
|
|
510
|
+
}
|
|
511
|
+
t.$flags$ &= -9, t.$flags$ |= 128, f(), B(t.$lazyInstance$, e);
|
|
512
|
+
}
|
|
513
|
+
if (r && r.style) {
|
|
514
|
+
let l;
|
|
515
|
+
typeof r.style == "string" && (l = r.style);
|
|
516
|
+
const f = le(n);
|
|
517
|
+
if (!m.has(f)) {
|
|
518
|
+
const o = x("registerStyles", n.$tagName$);
|
|
519
|
+
Ue(f, l, !!(n.$flags$ & 1)), o();
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
const a = t.$ancestorComponent$, i = () => Y(t, !0);
|
|
524
|
+
a && a["s-rc"] ? a["s-rc"].push(i) : i();
|
|
525
|
+
}, B = (e, t) => {
|
|
526
|
+
Q(e, "connectedCallback", void 0, t);
|
|
527
|
+
}, Ze = (e) => {
|
|
528
|
+
if (!(h.$flags$ & 1)) {
|
|
529
|
+
const t = S(e), n = t.$cmpMeta$, s = x("connectedCallback", n.$tagName$);
|
|
530
|
+
if (t.$flags$ & 1)
|
|
531
|
+
t?.$lazyInstance$ ? B(t.$lazyInstance$, e) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => B(t.$lazyInstance$, e));
|
|
532
|
+
else {
|
|
533
|
+
t.$flags$ |= 1;
|
|
534
|
+
{
|
|
535
|
+
let r = e;
|
|
536
|
+
for (; r = r.parentNode || r.host; )
|
|
537
|
+
if (r["s-p"]) {
|
|
538
|
+
de(t, t.$ancestorComponent$ = r);
|
|
539
|
+
break;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
n.$members$ && Object.entries(n.$members$).map(([r, [a]]) => {
|
|
543
|
+
if (a & 31 && e.hasOwnProperty(r)) {
|
|
544
|
+
const i = e[r];
|
|
545
|
+
delete e[r], e[r] = i;
|
|
546
|
+
}
|
|
547
|
+
}), Je(e, t, n);
|
|
548
|
+
}
|
|
549
|
+
s();
|
|
550
|
+
}
|
|
551
|
+
}, Ve = (e, t) => {
|
|
552
|
+
}, Ne = async (e) => {
|
|
553
|
+
if (!(h.$flags$ & 1)) {
|
|
554
|
+
const t = S(e);
|
|
555
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ve());
|
|
556
|
+
}
|
|
557
|
+
P.has(e) && P.delete(e), e.shadowRoot && P.has(e.shadowRoot) && P.delete(e.shadowRoot);
|
|
558
|
+
}, st = (e, t = {}) => {
|
|
559
|
+
var n;
|
|
560
|
+
const s = x(), r = [], a = t.exclude || [], i = j.customElements, l = k.head, f = /* @__PURE__ */ l.querySelector("meta[charset]"), o = /* @__PURE__ */ k.createElement("style"), $ = [];
|
|
561
|
+
let d, c = !0;
|
|
562
|
+
Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", k.baseURI).href;
|
|
563
|
+
let u = !1;
|
|
564
|
+
if (e.map((p) => {
|
|
565
|
+
p[1].map((g) => {
|
|
566
|
+
var v;
|
|
567
|
+
const y = {
|
|
568
|
+
$flags$: g[0],
|
|
569
|
+
$tagName$: g[1],
|
|
570
|
+
$members$: g[2],
|
|
571
|
+
$listeners$: g[3]
|
|
572
|
+
};
|
|
573
|
+
y.$flags$ & 4 && (u = !0), y.$members$ = g[2], y.$attrsToReflect$ = [], y.$watchers$ = (v = g[4]) != null ? v : {};
|
|
574
|
+
const T = y.$tagName$, ge = class extends HTMLElement {
|
|
575
|
+
// StencilLazyHost
|
|
576
|
+
constructor(E) {
|
|
577
|
+
if (super(E), this.hasRegisteredEventListeners = !1, E = this, Ee(E, y), y.$flags$ & 1) {
|
|
578
|
+
if (!E.shadowRoot)
|
|
579
|
+
E.attachShadow({ mode: "open" });
|
|
580
|
+
else if (E.shadowRoot.mode !== "open")
|
|
581
|
+
throw new Error(
|
|
582
|
+
`Unable to re-use existing shadow root for ${y.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
583
|
+
);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
connectedCallback() {
|
|
587
|
+
S(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), d && (clearTimeout(d), d = null), c ? $.push(this) : h.jmp(() => Ze(this));
|
|
588
|
+
}
|
|
589
|
+
disconnectedCallback() {
|
|
590
|
+
h.jmp(() => Ne(this)), h.raf(() => {
|
|
591
|
+
var E;
|
|
592
|
+
const A = S(this);
|
|
593
|
+
((E = A?.$vnode$) == null ? void 0 : E.$elm$) instanceof Node && !A.$vnode$.$elm$.isConnected && delete A.$vnode$.$elm$;
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
componentOnReady() {
|
|
597
|
+
return S(this).$onReadyPromise$;
|
|
598
|
+
}
|
|
599
|
+
};
|
|
600
|
+
y.$lazyBundleId$ = p[0], !a.includes(T) && !i.get(T) && (r.push(T), i.define(
|
|
601
|
+
T,
|
|
602
|
+
he(
|
|
603
|
+
ge,
|
|
604
|
+
y,
|
|
605
|
+
1
|
|
606
|
+
/* isElementConstructor */
|
|
607
|
+
)
|
|
608
|
+
));
|
|
609
|
+
});
|
|
610
|
+
}), r.length > 0 && (u && (o.textContent += ee), o.textContent += r.sort() + Te, o.innerHTML.length)) {
|
|
611
|
+
o.setAttribute("data-styles", "");
|
|
612
|
+
const p = (n = h.$nonce$) != null ? n : ne(k);
|
|
613
|
+
p != null && o.setAttribute("nonce", p), l.insertBefore(o, f ? f.nextSibling : l.firstChild);
|
|
614
|
+
}
|
|
615
|
+
c = !1, $.length ? $.map((p) => p.connectedCallback()) : h.jmp(() => d = setTimeout(ue, 30)), s();
|
|
616
|
+
};
|
|
617
|
+
export {
|
|
618
|
+
st as b,
|
|
619
|
+
tt as g,
|
|
620
|
+
je as h,
|
|
621
|
+
Le as p,
|
|
622
|
+
et as r
|
|
623
|
+
};
|