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