@everymatrix/casino-lobby 1.54.11 → 1.55.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 (101) hide show
  1. package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-BKvw2GLN.js} +1135 -1091
  2. package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CRnGs6mI.js} +953 -909
  3. package/components/CasinoCalendar-P6bQ-mxN.cjs +9 -0
  4. package/components/{CasinoCalendarDailyDetails-CCIR8eIp.js → CasinoCalendarDailyDetails-B-FOmYEZ.js} +45 -45
  5. package/components/{CasinoCalendarDailyDetails-B7hChP4v.js → CasinoCalendarDailyDetails-DYTiZ7iE.js} +45 -45
  6. package/components/{CasinoCalendarDailyDetails-C1T0xNcn.cjs → CasinoCalendarDailyDetails-DicGOCGy.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-1iPwEmjb.js → CasinoCalendarDailyItem-BsUUCx7a.js} +46 -46
  8. package/components/{CasinoCalendarDailyItem-Bp_PImhJ.cjs → CasinoCalendarDailyItem-DDm6oH8O.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-BNNa1Jdv.js → CasinoCalendarDailyItem-DIhsLlMC.js} +46 -46
  10. package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-C7hbpydX.js} +204 -197
  11. package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-hJChLXnm.js} +205 -198
  12. package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-BQPjVzK8.js → CasinoCollectionsProviders-CTvTqZY1.js} +273 -278
  15. package/components/{CasinoCollectionsProviders-CVDFBiI0.js → CasinoCollectionsProviders-Cyc5HYpW.js} +260 -265
  16. package/components/{CasinoFavoritesSection-BwdERTZb.js → CasinoFavoritesSection-B4JlTRNa.js} +139 -133
  17. package/components/CasinoFavoritesSection-CcyN5mtI.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-gMRxUIMi.js → CasinoFavoritesSection-D4v8HNn9.js} +139 -133
  19. package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-CgPbbuBc.js} +178 -184
  20. package/components/{CasinoFilter-C10Tgn3c.cjs → CasinoFilter-EA285UxQ.cjs} +1 -1
  21. package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-ZQCeB5st.js} +175 -181
  22. package/components/{CasinoGamePage-CbP_7_PQ.cjs → CasinoGamePage-D2VGIU0X.cjs} +6 -6
  23. package/components/{CasinoGamePage-CG1vsycM.js → CasinoGamePage-DnFlR6PD.js} +1045 -1051
  24. package/components/{CasinoGamePage-BPRW6RjY.js → CasinoGamePage-lOejw_q6.js} +1019 -1025
  25. package/components/{CasinoGameThumbnail-Df_azhvx.js → CasinoGameThumbnail-Aj4sPAss.js} +403 -424
  26. package/components/{CasinoGameThumbnail-vXsL4BCy.cjs → CasinoGameThumbnail-ClSBiG0I.cjs} +13 -13
  27. package/components/{CasinoGameThumbnail-0781Z_CK.js → CasinoGameThumbnail-h69vAUbV.js} +523 -512
  28. package/components/{CasinoGamesCategorySection-DF00rAx9.js → CasinoGamesCategorySection-C9FCv7PW.js} +736 -674
  29. package/components/{CasinoGamesCategorySection-yYd08sVK.js → CasinoGamesCategorySection-PiRBRWmh.js} +1168 -1106
  30. package/components/CasinoGamesCategorySection-X0aDh13K.cjs +1 -0
  31. package/components/CasinoJackpotBanner-BdzgC-lW.js +690 -0
  32. package/components/CasinoJackpotBanner-Dx_3WwEw.js +686 -0
  33. package/components/CasinoJackpotBanner-rV5P1O6d.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-BP9oa18h.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-w8zOVM9X.js → CasinoLastPlayedSection-BXGcYUad.js} +148 -139
  36. package/components/{CasinoLastPlayedSection-BfV-LbIj.js → CasinoLastPlayedSection-r73sTCi9.js} +148 -139
  37. package/components/{CasinoLobby-DdHDWF7K.js → CasinoLobby-60oTKJCK.js} +555 -525
  38. package/components/CasinoLobby-CB5KGhNa.cjs +1 -0
  39. package/components/{CasinoLobby-BW9aCXLG.js → CasinoLobby-DHl1_-VE.js} +555 -525
  40. package/components/CasinoModal-B7R5L0mw.js +368 -0
  41. package/components/CasinoModal-B7pt3Gcb.cjs +1 -0
  42. package/components/CasinoModal-wz-kI5U1.js +368 -0
  43. package/components/{CasinoMostPlayedSection-C98oA8O7.cjs → CasinoMostPlayedSection-CaHWOtw_.cjs} +1 -1
  44. package/components/{CasinoMostPlayedSection-CGdqfFFk.js → CasinoMostPlayedSection-CpO0b2PN.js} +34 -34
  45. package/components/{CasinoMostPlayedSection-KHPtPjRC.js → CasinoMostPlayedSection-CxQrM8-U.js} +34 -34
  46. package/components/{CasinoMyGames-UYSc9Inu.js → CasinoMyGames-B0AvdkLy.js} +124 -128
  47. package/components/{CasinoMyGames-9-nh8GWP.cjs → CasinoMyGames-R7NrCxgd.cjs} +1 -1
  48. package/components/{CasinoMyGames-BoiJpm4z.js → CasinoMyGames-ieyBjArx.js} +139 -141
  49. package/components/{CasinoPage-qAL3jMh2.js → CasinoPage-CcV-qeX_.js} +903 -805
  50. package/components/{CasinoPage-BiY0180U.js → CasinoPage-E4Nn1l0F.js} +573 -481
  51. package/components/CasinoPage-azRHPGyF.cjs +1 -0
  52. package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-BEOONr7N.js} +244 -246
  53. package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-D1gqYJkg.cjs} +2 -2
  54. package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-DoSJSKrA.js} +225 -227
  55. package/components/CasinoSearch-3nC8pR7D.cjs +1 -0
  56. package/components/{CasinoSearch-DOczB-K5.js → CasinoSearch-BOSoxjjv.js} +394 -387
  57. package/components/{CasinoSearch-CslIZjzw.js → CasinoSearch-DqfKG5Mj.js} +443 -436
  58. package/components/{CasinoSlider-BjpV4pLV.js → CasinoSlider-DlBcdeDm.js} +294 -297
  59. package/components/{CasinoSlider-BDjskQjI.cjs → CasinoSlider-Zgasc58K.cjs} +1 -1
  60. package/components/{CasinoSlider-BWEc4YT5.js → CasinoSlider-ylo7nRmY.js} +317 -320
  61. package/components/CasinoSort-CVwRicsk.js +427 -0
  62. package/components/CasinoSort-D3rxrF3Z.cjs +1 -0
  63. package/components/CasinoSort-D9KTb90Q.js +428 -0
  64. package/components/CasinoWinners-Br_rOUdI.cjs +1 -0
  65. package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-CSDCICsh.js} +355 -352
  66. package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CeLmSRE4.js} +338 -335
  67. package/components/{GeneralAnimationLoading-CX9baArf.js → GeneralAnimationLoading-BRBLoSEB.js} +8 -8
  68. package/components/{GeneralAnimationLoading-BG_QynCK.cjs → GeneralAnimationLoading-Bu4_iets.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-DVLCsjn0.js → GeneralAnimationLoading-DoN4gYz0.js} +8 -8
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-B5g4-G4Z.js} +3 -3
  75. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
  76. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
  77. package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
  78. package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
  79. package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
  80. package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
  81. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
  82. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
  83. package/components/CasinoFavoritesSection-DcLVpINE.cjs +0 -1
  84. package/components/CasinoGamesCategorySection-C1-Tejye.cjs +0 -1
  85. package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
  86. package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
  87. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
  88. package/components/CasinoLastPlayedSection-emN1r4Gd.cjs +0 -1
  89. package/components/CasinoLobby-B_rjtvgs.cjs +0 -1
  90. package/components/CasinoModal-C1oW3YF4.js +0 -372
  91. package/components/CasinoModal-DRtZi6gR.cjs +0 -1
  92. package/components/CasinoModal-IbVlgg7Z.js +0 -372
  93. package/components/CasinoPage-7rPVpOym.cjs +0 -1
  94. package/components/CasinoSearch-BgPbWb_t.cjs +0 -1
  95. package/components/CasinoSort-CS53Uvnz.cjs +0 -1
  96. package/components/CasinoSort-DFdgT3Dt.js +0 -432
  97. package/components/CasinoSort-DFljh5Sg.js +0 -431
  98. package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
  99. package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
  100. package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
  101. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -1,629 +0,0 @@
1
- const yt = "casino-play-random-game", C = (
2
- /* casino-play-random-game */
3
- { hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
4
- );
5
- var St = Object.defineProperty, Et = (t, e) => {
6
- for (var n in e)
7
- St(t, n, { get: e[n], enumerable: !0 });
8
- }, G = /* @__PURE__ */ new WeakMap(), S = (t) => G.get(t), se = (t, e) => {
9
- G.set(e.$lazyInstance$ = t, e);
10
- }, kt = (t, e) => {
11
- const n = {
12
- $flags$: 0,
13
- $hostElement$: t,
14
- $cmpMeta$: e,
15
- $instanceValues$: /* @__PURE__ */ new Map()
16
- };
17
- return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), t["s-p"] = [], t["s-rc"] = [], G.set(t, n);
18
- }, Z = (t, e) => e in t, w = (t, e) => (0, console.error)(t, e), b = /* @__PURE__ */ new Map(), xt = (t, e, n) => {
19
- const s = t.$tagName$.replace(/-/g, "_"), r = t.$lazyBundleId$;
20
- if (!r)
21
- return;
22
- const $ = b.get(r);
23
- if ($)
24
- return $[s];
25
- {
26
- const i = (l) => (b.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-BxdfOAZj.js"
32
- ).then(i, w);
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) => (b.set(r, i), i[s]),
43
- (i) => {
44
- w(i, e.$hostElement$);
45
- }
46
- );
47
- }, j = /* @__PURE__ */ new Map(), Tt = "sty-id", wt = "{visibility:hidden}.hydrated{visibility:inherit}", et = "slot-fb{display:contents}slot-fb[hidden]{display:none}", z = typeof window < "u" ? window : {}, k = z.document || { head: {} }, h = {
48
- $flags$: 0,
49
- $resourcesUrl$: "",
50
- jmp: (t) => t(),
51
- raf: (t) => requestAnimationFrame(t),
52
- ael: (t, e, n, s) => t.addEventListener(e, n, s),
53
- rel: (t, e, n, s) => t.removeEventListener(e, n, s),
54
- ce: (t, e) => new CustomEvent(t, e)
55
- }, Pt = (t) => Promise.resolve(t), st = /* @__PURE__ */ (() => {
56
- try {
57
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
58
- } catch {
59
- }
60
- return !1;
61
- })(), U = !1, M = [], nt = [], _t = (t, e) => (n) => {
62
- t.push(n), U || (U = !0, h.$flags$ & 4 ? Y(q) : h.raf(q));
63
- }, m = (t) => {
64
- for (let e = 0; e < t.length; e++)
65
- try {
66
- t[e](performance.now());
67
- } catch (n) {
68
- w(n);
69
- }
70
- t.length = 0;
71
- }, q = () => {
72
- m(M), m(nt), (U = M.length > 0) && h.raf(q);
73
- }, Y = (t) => Pt().then(t), At = /* @__PURE__ */ _t(nt), X = (t) => (t = typeof t, t === "object" || t === "function");
74
- function rt(t) {
75
- var e, n, s;
76
- return (s = (n = (e = t.head) == null ? void 0 : e.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
77
- }
78
- var It = {};
79
- Et(It, {
80
- err: () => lt,
81
- map: () => Lt,
82
- ok: () => B,
83
- unwrap: () => jt,
84
- unwrapErr: () => Ot
85
- });
86
- var B = (t) => ({
87
- isOk: !0,
88
- isErr: !1,
89
- value: t
90
- }), lt = (t) => ({
91
- isOk: !1,
92
- isErr: !0,
93
- value: t
94
- });
95
- function Lt(t, e) {
96
- if (t.isOk) {
97
- const n = e(t.value);
98
- return n instanceof Promise ? n.then((s) => B(s)) : B(n);
99
- }
100
- if (t.isErr) {
101
- const n = t.value;
102
- return lt(n);
103
- }
104
- throw "should never get here";
105
- }
106
- var jt = (t) => {
107
- if (t.isOk)
108
- return t.value;
109
- throw t.value;
110
- }, Ot = (t) => {
111
- if (t.isErr)
112
- return t.value;
113
- throw t.value;
114
- }, x = (t, e = "") => () => {
115
- }, zt = (t, e) => () => {
116
- }, bt = (t, e, ...n) => {
117
- let s = null, r = null, $ = !1, i = !1;
118
- const l = [], c = (a) => {
119
- for (let d = 0; d < a.length; d++)
120
- s = a[d], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && (($ = typeof t != "function" && !X(s)) && (s = String(s)), $ && i ? l[l.length - 1].$text$ += s : l.push($ ? D(null, s) : s), i = $);
121
- };
122
- if (c(n), e) {
123
- e.key && (r = e.key);
124
- {
125
- const a = e.className || e.class;
126
- a && (e.class = typeof a != "object" ? a : Object.keys(a).filter((d) => a[d]).join(" "));
127
- }
128
- }
129
- const o = D(t, null);
130
- return o.$attrs$ = e, l.length > 0 && (o.$children$ = l), o.$key$ = r, o;
131
- }, D = (t, e) => {
132
- const n = {
133
- $flags$: 0,
134
- $tag$: t,
135
- $text$: e,
136
- $elm$: null,
137
- $children$: null
138
- };
139
- return n.$attrs$ = null, n.$key$ = null, n;
140
- }, Ht = {}, Ut = (t) => t && t.$tag$ === Ht, R = (t, e) => t != null && !X(t) && e & 1 ? String(t) : t, ne = (t) => S(t).$hostElement$, qt = (t, e, n) => {
141
- const s = h.ce(e, n);
142
- return t.dispatchEvent(s), s;
143
- }, _ = /* @__PURE__ */ new WeakMap(), Bt = (t, e, n) => {
144
- let s = j.get(t);
145
- st && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = e : s.replaceSync(e)) : s = e, j.set(t, s);
146
- }, Dt = (t, e, n) => {
147
- var s;
148
- const r = $t(e), $ = j.get(r);
149
- if (t = t.nodeType === 11 ? t : k, $)
150
- if (typeof $ == "string") {
151
- t = t.head || t;
152
- let i = _.get(t), l;
153
- if (i || _.set(t, i = /* @__PURE__ */ new Set()), !i.has(r)) {
154
- {
155
- l = document.querySelector(`[${Tt}="${r}"]`) || k.createElement("style"), l.innerHTML = $;
156
- const c = (s = h.$nonce$) != null ? s : rt(k);
157
- if (c != null && l.setAttribute("nonce", c), !(e.$flags$ & 1))
158
- if (t.nodeName === "HEAD") {
159
- const o = t.querySelectorAll("link[rel=preconnect]"), a = o.length > 0 ? o[o.length - 1].nextSibling : t.querySelector("style");
160
- t.insertBefore(
161
- l,
162
- a?.parentNode === t ? a : null
163
- );
164
- } else if ("host" in t)
165
- if (st) {
166
- const o = new CSSStyleSheet();
167
- o.replaceSync($), t.adoptedStyleSheets = [o, ...t.adoptedStyleSheets];
168
- } else {
169
- const o = t.querySelector("style");
170
- o ? o.innerHTML = $ + o.innerHTML : t.prepend(l);
171
- }
172
- else
173
- t.append(l);
174
- e.$flags$ & 1 && t.insertBefore(l, null);
175
- }
176
- e.$flags$ & 4 && (l.innerHTML += et), i && i.add(r);
177
- }
178
- } else t.adoptedStyleSheets.includes($) || (t.adoptedStyleSheets = [...t.adoptedStyleSheets, $]);
179
- return r;
180
- }, Rt = (t) => {
181
- const e = t.$cmpMeta$, n = t.$hostElement$, s = e.$flags$, r = x("attachStyles", e.$tagName$), $ = Dt(
182
- n.shadowRoot ? n.shadowRoot : n.getRootNode(),
183
- e
184
- );
185
- (s & 10 && s & 2 || s & 128) && (n["s-sc"] = $, n.classList.add($ + "-h")), r();
186
- }, $t = (t, e) => "sc-" + t.$tagName$, V = (t, e, n, s, r, $, i) => {
187
- if (n !== s) {
188
- let l = Z(t, e), c = e.toLowerCase();
189
- if (e === "class") {
190
- const o = t.classList, a = N(n);
191
- let d = N(s);
192
- o.remove(...a.filter((f) => f && !d.includes(f))), o.add(...d.filter((f) => f && !a.includes(f)));
193
- } else if (e !== "key") if (e === "ref")
194
- s && s(t);
195
- else if (!l && e[0] === "o" && e[1] === "n") {
196
- if (e[2] === "-" ? e = e.slice(3) : Z(z, c) ? e = c.slice(2) : e = c[2] + e.slice(3), n || s) {
197
- const o = e.endsWith(it);
198
- e = e.replace(Ct, ""), n && h.rel(t, e, n, o), s && h.ael(t, e, s, o);
199
- }
200
- } else {
201
- const o = X(s);
202
- if (l || o && s !== null)
203
- try {
204
- if (t.tagName.includes("-"))
205
- t[e] !== s && (t[e] = s);
206
- else {
207
- const a = s ?? "";
208
- e === "list" ? l = !1 : (n == null || t[e] != a) && (typeof t.__lookupSetter__(e) == "function" ? t[e] = a : t.setAttribute(e, a));
209
- }
210
- } catch {
211
- }
212
- s == null || s === !1 ? (s !== !1 || t.getAttribute(e) === "") && t.removeAttribute(e) : (!l || $ & 4 || r) && !o && (s = s === !0 ? "" : s, t.setAttribute(e, s));
213
- }
214
- }
215
- }, Wt = /\s/, N = (t) => (typeof t == "object" && t && "baseVal" in t && (t = t.baseVal), !t || typeof t != "string" ? [] : t.split(Wt)), it = "Capture", Ct = new RegExp(it + "$"), at = (t, e, n, s) => {
216
- const r = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, $ = t && t.$attrs$ || {}, i = e.$attrs$ || {};
217
- for (const l of tt(Object.keys($)))
218
- l in i || V(
219
- r,
220
- l,
221
- $[l],
222
- void 0,
223
- n,
224
- e.$flags$
225
- );
226
- for (const l of tt(Object.keys(i)))
227
- V(
228
- r,
229
- l,
230
- $[l],
231
- i[l],
232
- n,
233
- e.$flags$
234
- );
235
- };
236
- function tt(t) {
237
- return t.includes("ref") ? (
238
- // we need to sort these to ensure that `'ref'` is the last attr
239
- [...t.filter((e) => e !== "ref"), "ref"]
240
- ) : (
241
- // no need to sort, return the original array
242
- t
243
- );
244
- }
245
- var F, ot = !1, O = (t, e, n) => {
246
- const s = e.$children$[n];
247
- let r = 0, $, i;
248
- if (s.$text$ !== null)
249
- $ = s.$elm$ = k.createTextNode(s.$text$);
250
- else if ($ = s.$elm$ = k.createElement(
251
- s.$tag$
252
- ), at(null, s, ot), s.$children$)
253
- for (r = 0; r < s.$children$.length; ++r)
254
- i = O(t, s, r), i && $.appendChild(i);
255
- return $["s-hn"] = F, $;
256
- }, ct = (t, e, n, s, r, $) => {
257
- let i = t, l;
258
- for (i.shadowRoot && i.tagName === F && (i = i.shadowRoot); r <= $; ++r)
259
- s[r] && (l = O(null, n, r), l && (s[r].$elm$ = l, L(i, l, e)));
260
- }, ft = (t, e, n) => {
261
- for (let s = e; s <= n; ++s) {
262
- const r = t[s];
263
- if (r) {
264
- const $ = r.$elm$;
265
- dt(r), $ && $.remove();
266
- }
267
- }
268
- }, Gt = (t, e, n, s, r = !1) => {
269
- let $ = 0, i = 0, l = 0, c = 0, o = e.length - 1, a = e[0], d = e[o], f = s.length - 1, u = s[0], p = s[f], v, y;
270
- for (; $ <= o && i <= f; )
271
- if (a == null)
272
- a = e[++$];
273
- else if (d == null)
274
- d = e[--o];
275
- else if (u == null)
276
- u = s[++i];
277
- else if (p == null)
278
- p = s[--f];
279
- else if (I(a, u, r))
280
- P(a, u, r), a = e[++$], u = s[++i];
281
- else if (I(d, p, r))
282
- P(d, p, r), d = e[--o], p = s[--f];
283
- else if (I(a, p, r))
284
- P(a, p, r), L(t, a.$elm$, d.$elm$.nextSibling), a = e[++$], p = s[--f];
285
- else if (I(d, u, r))
286
- P(d, u, r), L(t, d.$elm$, a.$elm$), d = e[--o], u = s[++i];
287
- else {
288
- for (l = -1, c = $; c <= o; ++c)
289
- if (e[c] && e[c].$key$ !== null && e[c].$key$ === u.$key$) {
290
- l = c;
291
- break;
292
- }
293
- l >= 0 ? (y = e[l], y.$tag$ !== u.$tag$ ? v = O(e && e[i], n, l) : (P(y, u, r), e[l] = void 0, v = y.$elm$), u = s[++i]) : (v = O(e && e[i], n, i), u = s[++i]), v && L(a.$elm$.parentNode, v, a.$elm$);
294
- }
295
- $ > o ? ct(
296
- t,
297
- s[f + 1] == null ? null : s[f + 1].$elm$,
298
- n,
299
- s,
300
- i,
301
- f
302
- ) : i > f && ft(e, $, o);
303
- }, I = (t, e, n = !1) => t.$tag$ === e.$tag$ ? n ? (n && !t.$key$ && e.$key$ && (t.$key$ = e.$key$), !0) : t.$key$ === e.$key$ : !1, P = (t, e, n = !1) => {
304
- const s = e.$elm$ = t.$elm$, r = t.$children$, $ = e.$children$, i = e.$text$;
305
- i === null ? (at(t, e, ot), r !== null && $ !== null ? Gt(s, r, e, $, n) : $ !== null ? (t.$text$ !== null && (s.textContent = ""), ct(s, null, e, $, 0, $.length - 1)) : (
306
- // don't do this on initial render as it can cause non-hydrated content to be removed
307
- !n && C.updatable && r !== null && ft(r, 0, r.length - 1)
308
- )) : t.$text$ !== i && (s.data = i);
309
- }, dt = (t) => {
310
- t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(dt);
311
- }, L = (t, e, n) => t?.insertBefore(e, n), Yt = (t, e, n = !1) => {
312
- const s = t.$hostElement$, r = t.$cmpMeta$, $ = t.$vnode$ || D(null, null), i = Ut(e) ? e : bt(null, null, e);
313
- if (F = s.tagName, r.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, r.$attrsToReflect$.map(
314
- ([l, c]) => i.$attrs$[c] = 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, t.$vnode$ = i, i.$elm$ = $.$elm$ = s.shadowRoot || s, r.$flags$ & 1 && r.$flags$ & 128, P($, i, n);
319
- }, ut = (t, e) => {
320
- if (e && !t.$onRenderResolve$ && e["s-p"]) {
321
- const n = e["s-p"].push(
322
- new Promise(
323
- (s) => t.$onRenderResolve$ = () => {
324
- e["s-p"].splice(n - 1, 1), s();
325
- }
326
- )
327
- );
328
- }
329
- }, J = (t, e) => {
330
- if (t.$flags$ |= 16, t.$flags$ & 4) {
331
- t.$flags$ |= 512;
332
- return;
333
- }
334
- return ut(t, t.$ancestorComponent$), At(() => Xt(t, e));
335
- }, Xt = (t, e) => {
336
- const n = t.$hostElement$, s = x("scheduleUpdate", t.$cmpMeta$.$tagName$), r = t.$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 $;
342
- return e && ($ = K(r, "componentWillLoad", void 0, n)), s(), Ft($, () => Kt(t, r, e));
343
- }, Ft = (t, e) => Jt(t) ? t.then(e).catch((n) => {
344
- console.error(n), e();
345
- }) : e(), Jt = (t) => t instanceof Promise || t && t.then && typeof t.then == "function", Kt = async (t, e, n) => {
346
- var s;
347
- const r = t.$hostElement$, $ = x("update", t.$cmpMeta$.$tagName$), i = r["s-rc"];
348
- n && Rt(t);
349
- const l = x("render", t.$cmpMeta$.$tagName$);
350
- Qt(t, e, r, n), i && (i.map((c) => c()), r["s-rc"] = void 0), l(), $();
351
- {
352
- const c = (s = r["s-p"]) != null ? s : [], o = () => Zt(t);
353
- c.length === 0 ? o() : (Promise.all(c).then(o), t.$flags$ |= 4, c.length = 0);
354
- }
355
- }, Qt = (t, e, n, s) => {
356
- try {
357
- e = e.render(), t.$flags$ &= -17, t.$flags$ |= 2, Yt(t, e, s);
358
- } catch (r) {
359
- w(r, t.$hostElement$);
360
- }
361
- return null;
362
- }, Zt = (t) => {
363
- const e = t.$cmpMeta$.$tagName$, n = t.$hostElement$, s = x("postUpdate", e), r = t.$lazyInstance$, $ = t.$ancestorComponent$;
364
- t.$flags$ & 64 ? s() : (t.$flags$ |= 64, Mt(n), K(r, "componentDidLoad", void 0, n), s(), t.$onReadyResolve$(n), $ || pt()), t.$onRenderResolve$ && (t.$onRenderResolve$(), t.$onRenderResolve$ = void 0), t.$flags$ & 512 && Y(() => J(t, !1)), t.$flags$ &= -517;
365
- }, pt = (t) => {
366
- Y(() => qt(z, "appload", { detail: { namespace: yt } }));
367
- }, K = (t, e, n, s) => {
368
- if (t && t[e])
369
- try {
370
- return t[e](n);
371
- } catch (r) {
372
- w(r, s);
373
- }
374
- }, Mt = (t) => {
375
- var e;
376
- return t.classList.add((e = C.hydratedSelectorName) != null ? e : "hydrated");
377
- }, mt = (t, e) => S(t).$instanceValues$.get(e), H = (t, e, n, s) => {
378
- const r = S(t);
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 $ = r.$hostElement$, i = r.$instanceValues$.get(e), l = r.$flags$, c = r.$lazyInstance$;
384
- n = R(n, s.$members$[e][0]);
385
- const o = Number.isNaN(i) && Number.isNaN(n), a = n !== i && !o;
386
- if ((!(l & 8) || i === void 0) && a && (r.$instanceValues$.set(e, n), c)) {
387
- if (s.$watchers$ && l & 128) {
388
- const d = s.$watchers$[e];
389
- d && d.map((f) => {
390
- try {
391
- c[f](n, i, e);
392
- } catch (u) {
393
- w(u, $);
394
- }
395
- });
396
- }
397
- (l & 18) === 2 && J(r, !1);
398
- }
399
- }, ht = (t, e, n) => {
400
- var s, r;
401
- const $ = t.prototype;
402
- if (e.$members$ || e.$watchers$ || t.watchers) {
403
- t.watchers && !e.$watchers$ && (e.$watchers$ = t.watchers);
404
- const i = Object.entries((s = e.$members$) != null ? s : {});
405
- if (i.map(([l, [c]]) => {
406
- if (c & 31 || n & 2 && c & 32) {
407
- const { get: o, set: a } = Object.getOwnPropertyDescriptor($, l) || {};
408
- o && (e.$members$[l][0] |= 2048), a && (e.$members$[l][0] |= 4096), (n & 1 || !o) && Object.defineProperty($, l, {
409
- get() {
410
- {
411
- if (!(e.$members$[l][0] & 2048))
412
- return mt(this, l);
413
- const d = S(this), f = d ? d.$lazyInstance$ : $;
414
- return f ? f[l] : void 0;
415
- }
416
- },
417
- configurable: !0,
418
- enumerable: !0
419
- }), Object.defineProperty($, l, {
420
- set(d) {
421
- const f = S(this);
422
- if (a) {
423
- const u = c & 32 ? this[l] : f.$hostElement$[l];
424
- typeof u > "u" && f.$instanceValues$.get(l) ? d = f.$instanceValues$.get(l) : !f.$instanceValues$.get(l) && u && f.$instanceValues$.set(l, u), a.apply(this, [R(d, c)]), d = c & 32 ? this[l] : f.$hostElement$[l], H(this, l, d, e);
425
- return;
426
- }
427
- {
428
- if (!(n & 1) || !(e.$members$[l][0] & 4096)) {
429
- H(this, l, d, e), n & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
430
- e.$members$[l][0] & 4096 && f.$lazyInstance$[l] !== f.$instanceValues$.get(l) && (f.$lazyInstance$[l] = d);
431
- });
432
- return;
433
- }
434
- const u = () => {
435
- const p = f.$lazyInstance$[l];
436
- !f.$instanceValues$.get(l) && p && f.$instanceValues$.set(l, p), f.$lazyInstance$[l] = R(d, c), H(this, l, f.$lazyInstance$[l], e);
437
- };
438
- f.$lazyInstance$ ? u() : f.$onReadyPromise$.then(() => u());
439
- }
440
- }
441
- });
442
- }
443
- }), n & 1) {
444
- const l = /* @__PURE__ */ new Map();
445
- $.attributeChangedCallback = function(c, o, a) {
446
- h.jmp(() => {
447
- var d;
448
- const f = l.get(c);
449
- if (this.hasOwnProperty(f) && C.lazyLoad)
450
- a = this[f], delete this[f];
451
- else {
452
- if ($.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
453
- this[f] == a)
454
- return;
455
- if (f == null) {
456
- const p = S(this), v = p?.$flags$;
457
- if (v && !(v & 8) && v & 128 && a !== o) {
458
- const y = p.$lazyInstance$, g = (d = e.$watchers$) == null ? void 0 : d[c];
459
- g?.forEach((T) => {
460
- y[T] != null && y[T].call(y, a, o, c);
461
- });
462
- }
463
- return;
464
- }
465
- }
466
- const u = Object.getOwnPropertyDescriptor($, f);
467
- a = a === null && typeof this[f] == "boolean" ? !1 : a, a !== this[f] && (!u.get || u.set) && (this[f] = a);
468
- });
469
- }, t.observedAttributes = Array.from(
470
- /* @__PURE__ */ new Set([
471
- ...Object.keys((r = e.$watchers$) != null ? r : {}),
472
- ...i.filter(
473
- ([c, o]) => o[0] & 15
474
- /* HasAttribute */
475
- ).map(([c, o]) => {
476
- var a;
477
- const d = o[1] || c;
478
- return l.set(d, c), o[0] & 512 && ((a = e.$attrsToReflect$) == null || a.push([c, d])), d;
479
- })
480
- ])
481
- );
482
- }
483
- }
484
- return t;
485
- }, Vt = async (t, e, n, s) => {
486
- let r;
487
- if (!(e.$flags$ & 32)) {
488
- if (e.$flags$ |= 32, n.$lazyBundleId$) {
489
- const c = xt(n, e);
490
- if (c && "then" in c) {
491
- const a = zt();
492
- r = await c, a();
493
- } else
494
- r = c;
495
- if (!r)
496
- throw new Error(`Constructor for "${n.$tagName$}#${e.$modeName$}" was not found`);
497
- r.isProxied || (n.$watchers$ = r.watchers, ht(
498
- r,
499
- n,
500
- 2
501
- /* proxyState */
502
- ), r.isProxied = !0);
503
- const o = x("createInstance", n.$tagName$);
504
- e.$flags$ |= 8;
505
- try {
506
- new r(e);
507
- } catch (a) {
508
- w(a, t);
509
- }
510
- e.$flags$ &= -9, e.$flags$ |= 128, o(), W(e.$lazyInstance$, t);
511
- } else {
512
- r = t.constructor;
513
- const c = t.localName;
514
- customElements.whenDefined(c).then(
515
- () => e.$flags$ |= 128
516
- /* isWatchReady */
517
- );
518
- }
519
- if (r && r.style) {
520
- let c;
521
- typeof r.style == "string" && (c = r.style);
522
- const o = $t(n);
523
- if (!j.has(o)) {
524
- const a = x("registerStyles", n.$tagName$);
525
- Bt(o, c, !!(n.$flags$ & 1)), a();
526
- }
527
- }
528
- }
529
- const $ = e.$ancestorComponent$, i = () => J(e, !0);
530
- $ && $["s-rc"] ? $["s-rc"].push(i) : i();
531
- }, W = (t, e) => {
532
- K(t, "connectedCallback", void 0, e);
533
- }, Nt = (t) => {
534
- if (!(h.$flags$ & 1)) {
535
- const e = S(t), n = e.$cmpMeta$, s = x("connectedCallback", n.$tagName$);
536
- if (e.$flags$ & 1)
537
- e?.$lazyInstance$ ? W(e.$lazyInstance$, t) : e?.$onReadyPromise$ && e.$onReadyPromise$.then(() => W(e.$lazyInstance$, t));
538
- else {
539
- e.$flags$ |= 1;
540
- {
541
- let r = t;
542
- for (; r = r.parentNode || r.host; )
543
- if (r["s-p"]) {
544
- ut(e, e.$ancestorComponent$ = r);
545
- break;
546
- }
547
- }
548
- n.$members$ && Object.entries(n.$members$).map(([r, [$]]) => {
549
- if ($ & 31 && t.hasOwnProperty(r)) {
550
- const i = t[r];
551
- delete t[r], t[r] = i;
552
- }
553
- }), Vt(t, e, n);
554
- }
555
- s();
556
- }
557
- }, te = (t, e) => {
558
- }, ee = async (t) => {
559
- if (!(h.$flags$ & 1)) {
560
- const e = S(t);
561
- e?.$lazyInstance$ || e?.$onReadyPromise$ && e.$onReadyPromise$.then(() => te());
562
- }
563
- _.has(t) && _.delete(t), t.shadowRoot && _.has(t.shadowRoot) && _.delete(t.shadowRoot);
564
- }, re = (t, e = {}) => {
565
- var n;
566
- const s = x(), r = [], $ = e.exclude || [], i = z.customElements, l = k.head, c = /* @__PURE__ */ l.querySelector("meta[charset]"), o = /* @__PURE__ */ k.createElement("style"), a = [];
567
- let d, f = !0;
568
- Object.assign(h, e), h.$resourcesUrl$ = new URL(e.resourcesUrl || "./", k.baseURI).href;
569
- let u = !1;
570
- if (t.map((p) => {
571
- p[1].map((v) => {
572
- var y;
573
- const g = {
574
- $flags$: v[0],
575
- $tagName$: v[1],
576
- $members$: v[2],
577
- $listeners$: v[3]
578
- };
579
- g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = v[4]) != null ? y : {};
580
- const T = g.$tagName$, vt = class extends HTMLElement {
581
- // StencilLazyHost
582
- constructor(E) {
583
- if (super(E), this.hasRegisteredEventListeners = !1, E = this, kt(E, g), g.$flags$ & 1) {
584
- if (!E.shadowRoot)
585
- E.attachShadow({ mode: "open" });
586
- else if (E.shadowRoot.mode !== "open")
587
- throw new Error(
588
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
589
- );
590
- }
591
- }
592
- connectedCallback() {
593
- S(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), d && (clearTimeout(d), d = null), f ? a.push(this) : h.jmp(() => Nt(this));
594
- }
595
- disconnectedCallback() {
596
- h.jmp(() => ee(this)), h.raf(() => {
597
- var E;
598
- const A = S(this), Q = a.findIndex((gt) => gt === this);
599
- Q > -1 && a.splice(Q, 1), ((E = A?.$vnode$) == null ? void 0 : E.$elm$) instanceof Node && !A.$vnode$.$elm$.isConnected && delete A.$vnode$.$elm$;
600
- });
601
- }
602
- componentOnReady() {
603
- return S(this).$onReadyPromise$;
604
- }
605
- };
606
- g.$lazyBundleId$ = p[0], !$.includes(T) && !i.get(T) && (r.push(T), i.define(
607
- T,
608
- ht(
609
- vt,
610
- g,
611
- 1
612
- /* isElementConstructor */
613
- )
614
- ));
615
- });
616
- }), r.length > 0 && (u && (o.textContent += et), o.textContent += r.sort() + wt, o.innerHTML.length)) {
617
- o.setAttribute("data-styles", "");
618
- const p = (n = h.$nonce$) != null ? n : rt(k);
619
- p != null && o.setAttribute("nonce", p), l.insertBefore(o, c ? c.nextSibling : l.firstChild);
620
- }
621
- f = !1, a.length ? a.map((p) => p.connectedCallback()) : h.jmp(() => d = setTimeout(pt, 30)), s();
622
- };
623
- export {
624
- re as b,
625
- ne as g,
626
- bt as h,
627
- Pt as p,
628
- se as r
629
- };