@everymatrix/casino-lobby 1.55.0 → 1.56.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 (110) hide show
  1. package/components/CasinoCalendar-CFPK0TM5.cjs +9 -0
  2. package/components/{CasinoCalendar-CRnGs6mI.js → CasinoCalendar-CSMUhfCr.js} +989 -989
  3. package/components/{CasinoCalendar-BKvw2GLN.js → CasinoCalendar-_T8fa3tA.js} +975 -975
  4. package/components/CasinoCalendarDailyDetails-CGRqVKFV.js +693 -0
  5. package/components/CasinoCalendarDailyDetails-DspcjY5l.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-DueCbaZn.js +693 -0
  7. package/components/CasinoCalendarDailyItem-DaSrAYwS.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DpLOlYVI.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DxYbPmky.js +306 -0
  10. package/components/{CasinoCategoriesSlider-C7hbpydX.js → CasinoCategoriesSlider-B7jmX0uM.js} +77 -77
  11. package/components/{CasinoCategoriesSlider-hJChLXnm.js → CasinoCategoriesSlider-DkmZ6uE9.js} +79 -79
  12. package/components/CasinoCategoriesSlider-Tm48k88y.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-CTvTqZY1.js → CasinoCollectionsProviders-CFJKyip5.js} +56 -56
  14. package/components/{CasinoCollectionsProviders-Cyc5HYpW.js → CasinoCollectionsProviders-XHUKRCjH.js} +54 -54
  15. package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-D4v8HNn9.js → CasinoFavoritesSection-BJKuORXc.js} +37 -36
  17. package/components/CasinoFavoritesSection-DAfQZFKH.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-B4JlTRNa.js → CasinoFavoritesSection-ui8ebJSk.js} +37 -36
  19. package/components/CasinoFilter-BZrHKXm3.cjs +1 -0
  20. package/components/{CasinoFilter-CgPbbuBc.js → CasinoFilter-Cj6Ya1tA.js} +244 -245
  21. package/components/{CasinoFilter-ZQCeB5st.js → CasinoFilter-t6_A4K9e.js} +234 -233
  22. package/components/CasinoGamePage-BCpBojD8.cjs +18 -0
  23. package/components/{CasinoGamePage-DnFlR6PD.js → CasinoGamePage-DH-mxVYx.js} +750 -750
  24. package/components/{CasinoGamePage-lOejw_q6.js → CasinoGamePage-DQ1Yd_-1.js} +787 -787
  25. package/components/{CasinoGameThumbnail-h69vAUbV.js → CasinoGameThumbnail-B15M2LaO.js} +354 -370
  26. package/components/CasinoGameThumbnail-CHGG4fWS.cjs +38 -0
  27. package/components/{CasinoGameThumbnail-Aj4sPAss.js → CasinoGameThumbnail-CmtUwom1.js} +282 -266
  28. package/components/{CasinoGamesCategorySection-PiRBRWmh.js → CasinoGamesCategorySection-D9nxbG-c.js} +1084 -1120
  29. package/components/CasinoGamesCategorySection-Dw87pk8g.cjs +1 -0
  30. package/components/{CasinoGamesCategorySection-C9FCv7PW.js → CasinoGamesCategorySection-lpoHUMLN.js} +659 -695
  31. package/components/{CasinoJackpotBanner-BdzgC-lW.js → CasinoJackpotBanner-COZRcenh.js} +149 -147
  32. package/components/{CasinoJackpotBanner-Dx_3WwEw.js → CasinoJackpotBanner-DcwCa-Hp.js} +146 -144
  33. package/components/CasinoJackpotBanner-vFHgMV4j.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-DUCFQv-7.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-r73sTCi9.js → CasinoLastPlayedSection-IZ9mars2.js} +56 -56
  36. package/components/{CasinoLastPlayedSection-BXGcYUad.js → CasinoLastPlayedSection-yetII3tl.js} +56 -56
  37. package/components/CasinoLobby-CZ0buhgH.cjs +1 -0
  38. package/components/{CasinoLobby-60oTKJCK.js → CasinoLobby-CoCRB4M8.js} +324 -305
  39. package/components/{CasinoLobby-DHl1_-VE.js → CasinoLobby-DOvk4Q1L.js} +320 -301
  40. package/components/CasinoModal-6keCUEEx.cjs +1 -0
  41. package/components/{CasinoModal-B7R5L0mw.js → CasinoModal-DDDhdR0c.js} +55 -55
  42. package/components/{CasinoModal-wz-kI5U1.js → CasinoModal-Dzu3FQyi.js} +55 -55
  43. package/components/CasinoMostPlayedSection-BNDdZOM6.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-CpO0b2PN.js → CasinoMostPlayedSection-CGqU9ZQv.js} +168 -159
  45. package/components/{CasinoMostPlayedSection-CxQrM8-U.js → CasinoMostPlayedSection-D0w6a_z2.js} +168 -159
  46. package/components/{CasinoMyGames-B0AvdkLy.js → CasinoMyGames-BKqlNnO1.js} +329 -296
  47. package/components/CasinoMyGames-CX5HKRLY.cjs +1 -0
  48. package/components/{CasinoMyGames-ieyBjArx.js → CasinoMyGames-Dy3IMfzN.js} +329 -296
  49. package/components/CasinoPage--1tMufa9.cjs +1 -0
  50. package/components/{CasinoPage-CcV-qeX_.js → CasinoPage-BnrghJel.js} +709 -646
  51. package/components/{CasinoPage-E4Nn1l0F.js → CasinoPage-DYcUhqdZ.js} +592 -529
  52. package/components/{CasinoRandomGame-D1gqYJkg.cjs → CasinoRandomGame-B1qCGSlR.cjs} +2 -2
  53. package/components/{CasinoRandomGame-BEOONr7N.js → CasinoRandomGame-Cup5oHY3.js} +67 -67
  54. package/components/{CasinoRandomGame-DoSJSKrA.js → CasinoRandomGame-Dq7oLh0O.js} +66 -66
  55. package/components/{CasinoSearch-3nC8pR7D.cjs → CasinoSearch-B1D8nnr0.cjs} +1 -1
  56. package/components/{CasinoSearch-BOSoxjjv.js → CasinoSearch-DlUwO5L4.js} +63 -63
  57. package/components/{CasinoSearch-DqfKG5Mj.js → CasinoSearch-jV0H_1Yg.js} +63 -63
  58. package/components/CasinoSlider-4pDZHG6x.cjs +1 -0
  59. package/components/{CasinoSlider-ylo7nRmY.js → CasinoSlider-ChnKJ8kH.js} +120 -120
  60. package/components/{CasinoSlider-DlBcdeDm.js → CasinoSlider-Ot2uFDD8.js} +103 -103
  61. package/components/CasinoSort-BnarJSWg.js +428 -0
  62. package/components/CasinoSort-DltZUpda.js +427 -0
  63. package/components/CasinoSort-jqMnIqLs.cjs +1 -0
  64. package/components/{CasinoWinners-CSDCICsh.js → CasinoWinners-BkJBCXPe.js} +157 -157
  65. package/components/{CasinoWinners-Br_rOUdI.cjs → CasinoWinners-Bs7Oh-m-.cjs} +1 -1
  66. package/components/{CasinoWinners-CeLmSRE4.js → CasinoWinners-CBgbYBfP.js} +159 -159
  67. package/components/GeneralAnimationLoading-BLss2VP4.cjs +1 -0
  68. package/components/GeneralAnimationLoading-BUY2TGQr.js +84 -0
  69. package/components/GeneralAnimationLoading-CRju5T01.js +84 -0
  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-B5g4-G4Z.js → casino-play-random-game-CBXhEsCq.js} +55 -30
  75. package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-PZXnDzfs.js} +74 -49
  76. package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  77. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  78. package/stencil/index-29915e18-CQ_kWzEh.js +630 -0
  79. package/stencil/index-29915e18-MPiqo7vY.js +646 -0
  80. package/components/CasinoCalendar-P6bQ-mxN.cjs +0 -9
  81. package/components/CasinoCalendarDailyDetails-B-FOmYEZ.js +0 -701
  82. package/components/CasinoCalendarDailyDetails-DYTiZ7iE.js +0 -701
  83. package/components/CasinoCalendarDailyDetails-DicGOCGy.cjs +0 -1
  84. package/components/CasinoCalendarDailyItem-BsUUCx7a.js +0 -315
  85. package/components/CasinoCalendarDailyItem-DDm6oH8O.cjs +0 -1
  86. package/components/CasinoCalendarDailyItem-DIhsLlMC.js +0 -315
  87. package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +0 -1
  88. package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +0 -1
  89. package/components/CasinoFavoritesSection-CcyN5mtI.cjs +0 -1
  90. package/components/CasinoFilter-EA285UxQ.cjs +0 -1
  91. package/components/CasinoGamePage-D2VGIU0X.cjs +0 -18
  92. package/components/CasinoGameThumbnail-ClSBiG0I.cjs +0 -38
  93. package/components/CasinoGamesCategorySection-X0aDh13K.cjs +0 -1
  94. package/components/CasinoJackpotBanner-rV5P1O6d.cjs +0 -1
  95. package/components/CasinoLastPlayedSection-BP9oa18h.cjs +0 -1
  96. package/components/CasinoLobby-CB5KGhNa.cjs +0 -1
  97. package/components/CasinoModal-B7pt3Gcb.cjs +0 -1
  98. package/components/CasinoMostPlayedSection-CaHWOtw_.cjs +0 -1
  99. package/components/CasinoMyGames-R7NrCxgd.cjs +0 -1
  100. package/components/CasinoPage-azRHPGyF.cjs +0 -1
  101. package/components/CasinoSlider-Zgasc58K.cjs +0 -1
  102. package/components/CasinoSort-CVwRicsk.js +0 -427
  103. package/components/CasinoSort-D3rxrF3Z.cjs +0 -1
  104. package/components/CasinoSort-D9KTb90Q.js +0 -428
  105. package/components/GeneralAnimationLoading-BRBLoSEB.js +0 -75
  106. package/components/GeneralAnimationLoading-Bu4_iets.cjs +0 -1
  107. package/components/GeneralAnimationLoading-DoN4gYz0.js +0 -75
  108. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  109. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
  110. package/stencil/index-eac6b960-Dvyvd5zP.js +0 -563
@@ -0,0 +1,630 @@
1
+ const St = "casino-play-random-game", G = (
2
+ /* casino-play-random-game */
3
+ { hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
4
+ );
5
+ var Et = Object.defineProperty, kt = (t, e) => {
6
+ for (var n in e)
7
+ Et(t, n, { get: e[n], enumerable: !0 });
8
+ }, Y = /* @__PURE__ */ new WeakMap(), S = (t) => Y.get(t), se = (t, e) => {
9
+ Y.set(e.$lazyInstance$ = t, e);
10
+ }, xt = (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"] = [], Y.set(t, n);
18
+ }, Z = (t, e) => e in t, w = (t, e) => (0, console.error)(t, e), H = /* @__PURE__ */ new Map(), Tt = (t, e, n) => {
19
+ const s = t.$tagName$.replace(/-/g, "_"), r = t.$lazyBundleId$;
20
+ if (!r)
21
+ return;
22
+ const $ = H.get(r);
23
+ if ($)
24
+ return $[s];
25
+ {
26
+ const i = (l) => (H.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-PZXnDzfs.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) => (H.set(r, i), i[s]),
43
+ (i) => {
44
+ w(i, e.$hostElement$);
45
+ }
46
+ );
47
+ }, z = /* @__PURE__ */ new Map(), wt = "sty-id", Pt = "{visibility:hidden}.hydrated{visibility:inherit}", st = "slot-fb{display:contents}slot-fb[hidden]{display:none}", O = typeof window < "u" ? window : {}, k = O.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
+ }, _t = (t) => Promise.resolve(t), nt = /* @__PURE__ */ (() => {
56
+ try {
57
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
58
+ } catch {
59
+ }
60
+ return !1;
61
+ })(), q = !1, M = [], rt = [], It = (t, e) => (n) => {
62
+ t.push(n), q || (q = !0, h.$flags$ & 4 ? X(B) : h.raf(B));
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
+ }, B = () => {
72
+ m(M), m(rt), (q = M.length > 0) && h.raf(B);
73
+ }, X = (t) => _t().then(t), At = /* @__PURE__ */ It(rt), F = (t) => (t = typeof t, t === "object" || t === "function");
74
+ function lt(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 Lt = {};
79
+ kt(Lt, {
80
+ err: () => $t,
81
+ map: () => zt,
82
+ ok: () => D,
83
+ unwrap: () => jt,
84
+ unwrapErr: () => Ot
85
+ });
86
+ var D = (t) => ({
87
+ isOk: !0,
88
+ isErr: !1,
89
+ value: t
90
+ }), $t = (t) => ({
91
+ isOk: !1,
92
+ isErr: !0,
93
+ value: t
94
+ });
95
+ function zt(t, e) {
96
+ if (t.isOk) {
97
+ const n = e(t.value);
98
+ return n instanceof Promise ? n.then((s) => D(s)) : D(n);
99
+ }
100
+ if (t.isErr) {
101
+ const n = t.value;
102
+ return $t(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
+ }, bt = (t, e) => () => {
116
+ }, Ht = (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" && !F(s)) && (s = String(s)), $ && i ? l[l.length - 1].$text$ += s : l.push($ ? R(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 = R(t, null);
130
+ return o.$attrs$ = e, l.length > 0 && (o.$children$ = l), o.$key$ = r, o;
131
+ }, R = (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
+ }, Ut = {}, qt = (t) => t && t.$tag$ === Ut, C = (t, e) => t != null && !F(t) && e & 1 ? String(t) : t, ne = (t) => S(t).$hostElement$, Bt = (t, e, n) => {
141
+ const s = h.ce(e, n);
142
+ return t.dispatchEvent(s), s;
143
+ }, _ = /* @__PURE__ */ new WeakMap(), Dt = (t, e, n) => {
144
+ let s = z.get(t);
145
+ nt && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = e : s.replaceSync(e)) : s = e, z.set(t, s);
146
+ }, Rt = (t, e, n) => {
147
+ var s;
148
+ const r = it(e), $ = z.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(`[${wt}="${r}"]`) || k.createElement("style"), l.innerHTML = $;
156
+ const c = (s = h.$nonce$) != null ? s : lt(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 (nt) {
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 += st), i && i.add(r);
177
+ }
178
+ } else t.adoptedStyleSheets.includes($) || (t.adoptedStyleSheets = [...t.adoptedStyleSheets, $]);
179
+ return r;
180
+ }, Ct = (t) => {
181
+ const e = t.$cmpMeta$, n = t.$hostElement$, s = e.$flags$, r = x("attachStyles", e.$tagName$), $ = Rt(
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
+ }, it = (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(O, c) ? e = c.slice(2) : e = c[2] + e.slice(3), n || s) {
197
+ const o = e.endsWith(at);
198
+ e = e.replace(Gt, ""), n && h.rel(t, e, n, o), s && h.ael(t, e, s, o);
199
+ }
200
+ } else {
201
+ const o = F(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)), at = "Capture", Gt = new RegExp(at + "$"), ot = (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 J, ct = !1, j = (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
+ ), ot(null, s, ct), s.$children$)
253
+ for (r = 0; r < s.$children$.length; ++r)
254
+ i = j(t, s, r), i && $.appendChild(i);
255
+ return $["s-hn"] = J, $;
256
+ }, ft = (t, e, n, s, r, $) => {
257
+ let i = t, l;
258
+ for (i.shadowRoot && i.tagName === J && (i = i.shadowRoot); r <= $; ++r)
259
+ s[r] && (l = j(null, n, r), l && (s[r].$elm$ = l, L(i, l, e)));
260
+ }, dt = (t, e, n) => {
261
+ for (let s = e; s <= n; ++s) {
262
+ const r = t[s];
263
+ if (r) {
264
+ const $ = r.$elm$;
265
+ ut(r), $ && $.remove();
266
+ }
267
+ }
268
+ }, Yt = (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 (A(a, u, r))
280
+ P(a, u, r), a = e[++$], u = s[++i];
281
+ else if (A(d, p, r))
282
+ P(d, p, r), d = e[--o], p = s[--f];
283
+ else if (A(a, p, r))
284
+ P(a, p, r), L(t, a.$elm$, d.$elm$.nextSibling), a = e[++$], p = s[--f];
285
+ else if (A(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 = j(e && e[i], n, l) : (P(y, u, r), e[l] = void 0, v = y.$elm$), u = s[++i]) : (v = j(e && e[i], n, i), u = s[++i]), v && L(a.$elm$.parentNode, v, a.$elm$);
294
+ }
295
+ $ > o ? ft(
296
+ t,
297
+ s[f + 1] == null ? null : s[f + 1].$elm$,
298
+ n,
299
+ s,
300
+ i,
301
+ f
302
+ ) : i > f && dt(e, $, o);
303
+ }, A = (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 ? (ot(t, e, ct), r !== null && $ !== null ? Yt(s, r, e, $, n) : $ !== null ? (t.$text$ !== null && (s.textContent = ""), ft(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 && G.updatable && r !== null && dt(r, 0, r.length - 1)
308
+ )) : t.$text$ !== i && (s.data = i);
309
+ }, ut = (t) => {
310
+ t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(ut);
311
+ }, L = (t, e, n) => t?.insertBefore(e, n), Xt = (t, e, n = !1) => {
312
+ const s = t.$hostElement$, r = t.$cmpMeta$, $ = t.$vnode$ || R(null, null), i = qt(e) ? e : Ht(null, null, e);
313
+ if (J = 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
+ }, pt = (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
+ }, K = (t, e) => {
330
+ if (t.$flags$ |= 16, t.$flags$ & 4) {
331
+ t.$flags$ |= 512;
332
+ return;
333
+ }
334
+ return pt(t, t.$ancestorComponent$), At(() => Ft(t, e));
335
+ }, Ft = (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 && ($ = b(r, "componentWillLoad", void 0, n)), s(), Jt($, () => Qt(t, r, e));
343
+ }, Jt = (t, e) => Kt(t) ? t.then(e).catch((n) => {
344
+ console.error(n), e();
345
+ }) : e(), Kt = (t) => t instanceof Promise || t && t.then && typeof t.then == "function", Qt = async (t, e, n) => {
346
+ var s;
347
+ const r = t.$hostElement$, $ = x("update", t.$cmpMeta$.$tagName$), i = r["s-rc"];
348
+ n && Ct(t);
349
+ const l = x("render", t.$cmpMeta$.$tagName$);
350
+ Zt(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 = () => Mt(t);
353
+ c.length === 0 ? o() : (Promise.all(c).then(o), t.$flags$ |= 4, c.length = 0);
354
+ }
355
+ }, Zt = (t, e, n, s) => {
356
+ try {
357
+ e = e.render(), t.$flags$ &= -17, t.$flags$ |= 2, Xt(t, e, s);
358
+ } catch (r) {
359
+ w(r, t.$hostElement$);
360
+ }
361
+ return null;
362
+ }, Mt = (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), b(r, "componentDidLoad", void 0, n), s(), t.$onReadyResolve$(n), $ || ht()), t.$onRenderResolve$ && (t.$onRenderResolve$(), t.$onRenderResolve$ = void 0), t.$flags$ & 512 && X(() => K(t, !1)), t.$flags$ &= -517;
365
+ }, ht = (t) => {
366
+ X(() => Bt(O, "appload", { detail: { namespace: St } }));
367
+ }, b = (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 = G.hydratedSelectorName) != null ? e : "hydrated");
377
+ }, Vt = (t, e) => S(t).$instanceValues$.get(e), U = (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 = C(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 && K(r, !1);
398
+ }
399
+ }, vt = (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 Vt(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, [C(d, c)]), d = c & 32 ? this[l] : f.$hostElement$[l], U(this, l, d, e);
425
+ return;
426
+ }
427
+ {
428
+ if (!(n & 1) || !(e.$members$[l][0] & 4096)) {
429
+ U(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] = C(d, c), U(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) && G.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
+ }, Nt = async (t, e, n, s) => {
486
+ let r;
487
+ if (!(e.$flags$ & 32)) {
488
+ if (e.$flags$ |= 32, n.$lazyBundleId$) {
489
+ const c = Tt(n, e);
490
+ if (c && "then" in c) {
491
+ const a = bt();
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, vt(
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 = it(n);
523
+ if (!z.has(o)) {
524
+ const a = x("registerStyles", n.$tagName$);
525
+ Dt(o, c, !!(n.$flags$ & 1)), a();
526
+ }
527
+ }
528
+ }
529
+ const $ = e.$ancestorComponent$, i = () => K(e, !0);
530
+ $ && $["s-rc"] ? $["s-rc"].push(i) : i();
531
+ }, W = (t, e) => {
532
+ b(t, "connectedCallback", void 0, e);
533
+ }, te = (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
+ pt(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
+ }), Nt(t, e, n);
554
+ }
555
+ s();
556
+ }
557
+ }, et = (t, e) => {
558
+ b(t, "disconnectedCallback", void 0, e || t);
559
+ }, ee = async (t) => {
560
+ if (!(h.$flags$ & 1)) {
561
+ const e = S(t);
562
+ e?.$lazyInstance$ ? et(e.$lazyInstance$, t) : e?.$onReadyPromise$ && e.$onReadyPromise$.then(() => et(e.$lazyInstance$, t));
563
+ }
564
+ _.has(t) && _.delete(t), t.shadowRoot && _.has(t.shadowRoot) && _.delete(t.shadowRoot);
565
+ }, re = (t, e = {}) => {
566
+ var n;
567
+ const s = x(), r = [], $ = e.exclude || [], i = O.customElements, l = k.head, c = /* @__PURE__ */ l.querySelector("meta[charset]"), o = /* @__PURE__ */ k.createElement("style"), a = [];
568
+ let d, f = !0;
569
+ Object.assign(h, e), h.$resourcesUrl$ = new URL(e.resourcesUrl || "./", k.baseURI).href;
570
+ let u = !1;
571
+ if (t.map((p) => {
572
+ p[1].map((v) => {
573
+ var y;
574
+ const g = {
575
+ $flags$: v[0],
576
+ $tagName$: v[1],
577
+ $members$: v[2],
578
+ $listeners$: v[3]
579
+ };
580
+ g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = v[4]) != null ? y : {};
581
+ const T = g.$tagName$, gt = class extends HTMLElement {
582
+ // StencilLazyHost
583
+ constructor(E) {
584
+ if (super(E), this.hasRegisteredEventListeners = !1, E = this, xt(E, g), g.$flags$ & 1) {
585
+ if (!E.shadowRoot)
586
+ E.attachShadow({ mode: "open" });
587
+ else if (E.shadowRoot.mode !== "open")
588
+ throw new Error(
589
+ `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
590
+ );
591
+ }
592
+ }
593
+ connectedCallback() {
594
+ S(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), d && (clearTimeout(d), d = null), f ? a.push(this) : h.jmp(() => te(this));
595
+ }
596
+ disconnectedCallback() {
597
+ h.jmp(() => ee(this)), h.raf(() => {
598
+ var E;
599
+ const I = S(this), Q = a.findIndex((yt) => yt === this);
600
+ Q > -1 && a.splice(Q, 1), ((E = I?.$vnode$) == null ? void 0 : E.$elm$) instanceof Node && !I.$vnode$.$elm$.isConnected && delete I.$vnode$.$elm$;
601
+ });
602
+ }
603
+ componentOnReady() {
604
+ return S(this).$onReadyPromise$;
605
+ }
606
+ };
607
+ g.$lazyBundleId$ = p[0], !$.includes(T) && !i.get(T) && (r.push(T), i.define(
608
+ T,
609
+ vt(
610
+ gt,
611
+ g,
612
+ 1
613
+ /* isElementConstructor */
614
+ )
615
+ ));
616
+ });
617
+ }), r.length > 0 && (u && (o.textContent += st), o.textContent += r.sort() + Pt, o.innerHTML.length)) {
618
+ o.setAttribute("data-styles", "");
619
+ const p = (n = h.$nonce$) != null ? n : lt(k);
620
+ p != null && o.setAttribute("nonce", p), l.insertBefore(o, c ? c.nextSibling : l.firstChild);
621
+ }
622
+ f = !1, a.length ? a.map((p) => p.connectedCallback()) : h.jmp(() => d = setTimeout(ht, 30)), s();
623
+ };
624
+ export {
625
+ re as b,
626
+ ne as g,
627
+ Ht as h,
628
+ _t as p,
629
+ se as r
630
+ };