@everymatrix/casino-lobby 1.56.3 → 1.58.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 (85) hide show
  1. package/components/{CasinoCalendar-BU2gZgoA.js → CasinoCalendar-BWZKTjt3.js} +931 -953
  2. package/components/{CasinoCalendar-BYhP1252.js → CasinoCalendar-CEPKCmvL.js} +903 -925
  3. package/components/CasinoCalendar-YzaZrGBf.cjs +22 -0
  4. package/components/{CasinoCalendarDailyDetails-zomrPGwC.js → CasinoCalendarDailyDetails-BZxw5rrd.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-BvbgM2tY.js → CasinoCalendarDailyDetails-C4rdfT96.js} +48 -48
  6. package/components/{CasinoCalendarDailyDetails-DkbuLEg5.cjs → CasinoCalendarDailyDetails-CneP-8H4.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-BCuBW8Ar.js → CasinoCalendarDailyItem-B3mEEjHA.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-DO4dUNpH.js → CasinoCalendarDailyItem-DAH0pKrw.js} +41 -41
  9. package/components/{CasinoCalendarDailyItem-DX_5vyqn.cjs → CasinoCalendarDailyItem-yxm1jout.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-BOJ1THEs.js → CasinoCategoriesSlider-Dd33-jys.js} +65 -65
  11. package/components/CasinoCategoriesSlider-DozoHOzF.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-BXOmh9s8.js → CasinoCategoriesSlider-t9Ea10Xr.js} +66 -66
  13. package/components/{CasinoCollectionsProviders-BFNXK0mZ.cjs → CasinoCollectionsProviders-CBiEhbus.cjs} +1 -1
  14. package/components/{CasinoCollectionsProviders-CRAmbMuu.js → CasinoCollectionsProviders-DAgGlzwM.js} +77 -77
  15. package/components/{CasinoCollectionsProviders-BX_dEzdy.js → CasinoCollectionsProviders-bmfbt1iI.js} +75 -75
  16. package/components/{CasinoFavoritesSection-CUsEA5HO.js → CasinoFavoritesSection-B9pa_5wC.js} +26 -26
  17. package/components/{CasinoFavoritesSection-B74AEiJU.js → CasinoFavoritesSection-Dm0Ylorq.js} +26 -26
  18. package/components/{CasinoFavoritesSection-BSNrnBte.cjs → CasinoFavoritesSection-n_i25VDL.cjs} +1 -1
  19. package/components/CasinoFilter-B7H_n_MD.cjs +1 -0
  20. package/components/{CasinoFilter-BtQon8od.js → CasinoFilter-BTP1X8zp.js} +246 -247
  21. package/components/{CasinoFilter-Du7IqNdv.js → CasinoFilter-BaCM2CFg.js} +235 -234
  22. package/components/{CasinoGamePage-C8xrFvIL.cjs → CasinoGamePage-CIvFWln2.cjs} +6 -6
  23. package/components/{CasinoGamePage-Dn6JZ69a.js → CasinoGamePage-DSk7OmI2.js} +1218 -1229
  24. package/components/{CasinoGamePage-CHQ3jlqS.js → CasinoGamePage-jh3dkrf4.js} +858 -869
  25. package/components/{CasinoGameThumbnail-ConJfCt9.js → CasinoGameThumbnail-BXCu7VY7.js} +353 -369
  26. package/components/{CasinoGameThumbnail-CYrNJU7D.js → CasinoGameThumbnail-Mnpd_s_M.js} +281 -265
  27. package/components/{CasinoGameThumbnail-BrbFrK0r.cjs → CasinoGameThumbnail-uCJn0tBq.cjs} +7 -7
  28. package/components/{CasinoGamesCategorySection-Bt_a-XLq.cjs → CasinoGamesCategorySection-BBfNK7Mo.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-BZB6Hzxo.js → CasinoGamesCategorySection-BU3JMFcx.js} +245 -245
  30. package/components/{CasinoGamesCategorySection-C4dkhfxd.js → CasinoGamesCategorySection-dyyrntic.js} +245 -245
  31. package/components/{CasinoJackpotBanner-B6za0Zjf.js → CasinoJackpotBanner-7unbFH4I.js} +72 -72
  32. package/components/{CasinoJackpotBanner-DVU6U9lr.js → CasinoJackpotBanner-BvW5shKI.js} +79 -79
  33. package/components/{CasinoJackpotBanner-CRGjJl2y.cjs → CasinoJackpotBanner-RjyciaDJ.cjs} +1 -1
  34. package/components/{CasinoLastPlayedSection-OIDJ7awN.js → CasinoLastPlayedSection--cJ8dS0F.js} +43 -43
  35. package/components/{CasinoLastPlayedSection-F-ue8Czk.js → CasinoLastPlayedSection-BtSsd68j.js} +43 -43
  36. package/components/{CasinoLastPlayedSection-3_wA_Avg.cjs → CasinoLastPlayedSection-YmqYIIYS.cjs} +1 -1
  37. package/components/{CasinoLobby-fcvl9kle.js → CasinoLobby--nSc5THC.js} +45 -45
  38. package/components/{CasinoLobby-BMoJpsqG.cjs → CasinoLobby-BUcjKu4u.cjs} +1 -1
  39. package/components/{CasinoLobby-BKNxdOkN.js → CasinoLobby-DngFRvmY.js} +47 -47
  40. package/components/{CasinoModal-BEa4Ij-6.js → CasinoModal-88yfZulM.js} +41 -41
  41. package/components/{CasinoModal-35QTkTq-.cjs → CasinoModal-Ce5Pthg0.cjs} +1 -1
  42. package/components/{CasinoModal-CFbQNGPR.js → CasinoModal-D9_hs2c9.js} +41 -41
  43. package/components/{CasinoMostPlayedSection--tFE0qmd.js → CasinoMostPlayedSection-BldCqqK1.js} +50 -50
  44. package/components/{CasinoMostPlayedSection-B-pH8QJC.js → CasinoMostPlayedSection-CvX-e31F.js} +50 -50
  45. package/components/{CasinoMostPlayedSection-CdXD9mvv.cjs → CasinoMostPlayedSection-DI5TANog.cjs} +1 -1
  46. package/components/{CasinoMyGames-ol3GWqow.js → CasinoMyGames-CJm9ApZ8.js} +50 -50
  47. package/components/{CasinoMyGames-C6SFrIqO.js → CasinoMyGames-CNSxKFTG.js} +53 -53
  48. package/components/{CasinoMyGames-5m477zEd.cjs → CasinoMyGames-DQEE59aC.cjs} +1 -1
  49. package/components/{CasinoPage-B_xsttc_.js → CasinoPage-DeZ_xrWS.js} +91 -91
  50. package/components/{CasinoPage-C-PL0HAg.js → CasinoPage-Renb8OYu.js} +91 -91
  51. package/components/{CasinoPage-BRTqbLqB.cjs → CasinoPage-_d_6nEdh.cjs} +1 -1
  52. package/components/{CasinoRandomGame-DcHbcmu8.js → CasinoRandomGame-8kMXdgrA.js} +64 -64
  53. package/components/{CasinoRandomGame-Njs6ODWp.js → CasinoRandomGame-CaLII6na.js} +63 -63
  54. package/components/{CasinoRandomGame-DnwNz2Jt.cjs → CasinoRandomGame-CjLDPmJh.cjs} +1 -1
  55. package/components/{CasinoSearch-CYInCP4K.cjs → CasinoSearch-Cf4ivtxM.cjs} +1 -1
  56. package/components/{CasinoSearch-DQDz7QLo.js → CasinoSearch-ISBqoS_l.js} +72 -72
  57. package/components/{CasinoSearch-H1BPrBzU.js → CasinoSearch-eN8ZAKdn.js} +72 -72
  58. package/components/{CasinoSlider-BiIS2-lS.cjs → CasinoSlider-BqOuFEE1.cjs} +1 -1
  59. package/components/{CasinoSlider-BbRVIW35.js → CasinoSlider-DLY4ZBJR.js} +65 -65
  60. package/components/{CasinoSlider-BpVYjfEZ.js → CasinoSlider-DTLHID6G.js} +74 -74
  61. package/components/{CasinoSort-BIiSCydQ.js → CasinoSort-BNFUwAYT.js} +110 -111
  62. package/components/{CasinoSort-ClDrkZcs.cjs → CasinoSort-BpUmCYRy.cjs} +1 -1
  63. package/components/{CasinoSort-BCZs_7vq.js → CasinoSort-DKL_qMEQ.js} +104 -103
  64. package/components/{CasinoWinners-D9QEbcwQ.js → CasinoWinners-BoSyqMDy.js} +157 -157
  65. package/components/{CasinoWinners-fcmQdKZx.js → CasinoWinners-Czg0Gq3N.js} +148 -148
  66. package/components/{CasinoWinners-CNAN8Ko7.cjs → CasinoWinners-DRdsN9K_.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-dlh-TGCV.cjs → GeneralAnimationLoading-CVr2zyUi.cjs} +1 -1
  68. package/components/{GeneralAnimationLoading-BEyM9jr_.js → GeneralAnimationLoading-DL8bFxE7.js} +16 -16
  69. package/components/{GeneralAnimationLoading-uTgCxIjZ.js → GeneralAnimationLoading-swHQRr7H.js} +16 -16
  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-B9yaAMOE.js → casino-play-random-game-BOnTgUqC.js} +1 -1
  75. package/stencil/{casino-play-random-game-a53bUW_d.cjs → casino-play-random-game-DjdZ0XM0.cjs} +1 -1
  76. package/stencil/{casino-play-random-game-BTXyM5es.js → casino-play-random-game-NcJEjFWA.js} +1 -1
  77. package/stencil/index-510a6ba4-1RrL4Z6e.js +564 -0
  78. package/stencil/index-510a6ba4-CNr-xCZE.js +548 -0
  79. package/stencil/index-510a6ba4-eEczisTR.cjs +1 -0
  80. package/components/CasinoCalendar-pDYRKcjG.cjs +0 -22
  81. package/components/CasinoCategoriesSlider-3PL0POlf.cjs +0 -1
  82. package/components/CasinoFilter-D06f7IqM.cjs +0 -1
  83. package/stencil/index-510a6ba4-B9_VY7vu.cjs +0 -1
  84. package/stencil/index-510a6ba4-CYFuKFRQ.js +0 -564
  85. package/stencil/index-510a6ba4-CzpWs0jf.js +0 -548
@@ -1,564 +0,0 @@
1
- var x = (e, t, r) => new Promise((s, n) => {
2
- var a = (o) => {
3
- try {
4
- i(r.next(o));
5
- } catch (c) {
6
- n(c);
7
- }
8
- }, l = (o) => {
9
- try {
10
- i(r.throw(o));
11
- } catch (c) {
12
- n(c);
13
- }
14
- }, i = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(a, l);
15
- i((r = r.apply(e, t)).next());
16
- });
17
- const ye = "casino-play-random-game", ee = (
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: !0, 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 r in t)
23
- me(e, r, { get: t[r], enumerable: !0 });
24
- }, F = /* @__PURE__ */ new WeakMap(), E = (e) => F.get(e), rt = (e, t) => F.set(t.$lazyInstance$ = e, t), Ee = (e, t) => {
25
- const r = {
26
- $flags$: 0,
27
- $hostElement$: e,
28
- $cmpMeta$: t,
29
- $instanceValues$: /* @__PURE__ */ new Map()
30
- };
31
- return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], F.set(e, r);
32
- }, X = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), j = /* @__PURE__ */ new Map(), be = (e, t, r) => {
33
- const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
34
- if (!n)
35
- return;
36
- const a = j.get(n);
37
- if (a)
38
- return a[s];
39
- {
40
- const l = (i) => (j.set(n, i), i[s]);
41
- switch (n) {
42
- case "casino-play-random-game":
43
- return import(
44
- /* webpackMode: "lazy" */
45
- "./casino-play-random-game-B9yaAMOE.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
- `./${n}.entry.js`
55
- ).then((l) => (j.set(n, l), l[s]), k);
56
- }, _ = /* @__PURE__ */ new Map(), ke = "{visibility:hidden}.hydrated{visibility:inherit}", te = "slot-fb{display:contents}slot-fb[hidden]{display:none}", O = typeof window != "undefined" ? window : {}, m = O.document || { head: {} }, h = {
57
- $flags$: 0,
58
- $resourcesUrl$: "",
59
- jmp: (e) => e(),
60
- raf: (e) => requestAnimationFrame(e),
61
- ael: (e, t, r, s) => e.addEventListener(t, r, s),
62
- rel: (e, t, r, s) => e.removeEventListener(t, r, 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
- })(), U = !1, G = [], se = [], xe = (e, t) => (r) => {
71
- e.push(r), U || (U = !0, h.$flags$ & 4 ? H(z) : h.raf(z));
72
- }, Q = (e) => {
73
- for (let t = 0; t < e.length; t++)
74
- try {
75
- e[t](performance.now());
76
- } catch (r) {
77
- k(r);
78
- }
79
- e.length = 0;
80
- }, z = () => {
81
- Q(G), Q(se), (U = G.length > 0) && h.raf(z);
82
- }, H = (e) => we().then(e), Le = /* @__PURE__ */ xe(se), Y = {}, Pe = (e) => e != null, q = (e) => (e = typeof e, e === "object" || e === "function");
83
- function ne(e) {
84
- var t, r, s;
85
- return (s = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? s : void 0;
86
- }
87
- var Ae = {};
88
- Se(Ae, {
89
- err: () => re,
90
- map: () => _e,
91
- ok: () => D,
92
- unwrap: () => Ce,
93
- unwrapErr: () => Oe
94
- });
95
- var D = (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 _e(e, t) {
105
- if (e.isOk) {
106
- const r = t(e.value);
107
- return r instanceof Promise ? r.then((s) => D(s)) : D(r);
108
- }
109
- if (e.isErr) {
110
- const r = e.value;
111
- return re(r);
112
- }
113
- throw "should never get here";
114
- }
115
- var Ce = (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
- }, Ie = (e, t) => () => {
125
- }, je = (e, t, ...r) => {
126
- let s = null, n = 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 ? R(null, s) : s), l = a);
130
- };
131
- if (o(r), t) {
132
- t.key && (n = 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 = R(e, null);
139
- return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = n, c;
140
- }, R = (e, t) => {
141
- const r = {
142
- $flags$: 0,
143
- $tag$: e,
144
- $text$: t,
145
- $elm$: null,
146
- $children$: null
147
- };
148
- return r.$attrs$ = null, r.$key$ = null, r;
149
- }, Ue = {}, ze = (e) => e && e.$tag$ === Ue, De = (e, t) => e != null && !q(e) && t & 1 ? String(e) : e, lt = (e) => E(e).$hostElement$, Re = (e, t, r) => {
150
- const s = h.ce(t, r);
151
- return e.dispatchEvent(s), s;
152
- }, J = /* @__PURE__ */ new WeakMap(), Be = (e, t, r) => {
153
- let s = _.get(e);
154
- Te && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
155
- }, Fe = (e, t, r) => {
156
- var s;
157
- const n = le(t), a = _.get(n);
158
- if (e = e.nodeType === 11 ? e : m, a)
159
- if (typeof a == "string") {
160
- e = e.head || e;
161
- let l = J.get(e), i;
162
- if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
163
- {
164
- i = m.createElement("style"), i.innerHTML = a;
165
- const o = (s = h.$nonce$) != null ? s : ne(m);
166
- o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
167
- }
168
- t.$flags$ & 4 && (i.innerHTML += te), l && l.add(n);
169
- }
170
- } else
171
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
172
- return n;
173
- }, He = (e) => {
174
- const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = S("attachStyles", t.$tagName$), a = Fe(
175
- r.shadowRoot ? r.shadowRoot : r.getRootNode(),
176
- t
177
- );
178
- s & 10 && (r["s-sc"] = a, r.classList.add(a + "-h")), n();
179
- }, le = (e, t) => "sc-" + e.$tagName$, K = (e, t, r, s, n, a) => {
180
- if (r !== s) {
181
- let l = X(e, t), i = t.toLowerCase();
182
- if (t === "class") {
183
- const o = e.classList, c = Z(r), $ = Z(s);
184
- o.remove(...c.filter((f) => f && !$.includes(f))), o.add(...$.filter((f) => f && !c.includes(f)));
185
- } else if (t !== "key")
186
- if (t === "ref")
187
- s && s(e);
188
- else if (!l && t[0] === "o" && t[1] === "n") {
189
- if (t[2] === "-" ? t = t.slice(3) : X(O, i) ? t = i.slice(2) : t = i[2] + t.slice(3), r || s) {
190
- const o = t.endsWith(ae);
191
- t = t.replace(We, ""), r && h.rel(e, t, r, o), s && h.ael(e, t, s, o);
192
- }
193
- } else {
194
- const o = q(s);
195
- if ((l || o && s !== null) && !n)
196
- try {
197
- if (e.tagName.includes("-"))
198
- e[t] = s;
199
- else {
200
- const c = s == null ? "" : s;
201
- t === "list" ? l = !1 : (r == null || e[t] != c) && (e[t] = c);
202
- }
203
- } catch (c) {
204
- }
205
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || n) && !o && (s = s === !0 ? "" : s, e.setAttribute(t, s));
206
- }
207
- }
208
- }, qe = /\s/, Z = (e) => e ? e.split(qe) : [], ae = "Capture", We = new RegExp(ae + "$"), oe = (e, t, r) => {
209
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || Y, a = t.$attrs$ || Y;
210
- for (const l of N(Object.keys(n)))
211
- l in a || K(s, l, n[l], void 0, r, t.$flags$);
212
- for (const l of N(Object.keys(a)))
213
- K(s, l, n[l], a[l], r, t.$flags$);
214
- };
215
- function N(e) {
216
- return e.includes("ref") ? (
217
- // we need to sort these to ensure that `'ref'` is the last attr
218
- [...e.filter((t) => t !== "ref"), "ref"]
219
- ) : (
220
- // no need to sort, return the original array
221
- e
222
- );
223
- }
224
- var P, W, ie = !1, ce = !1, C = (e, t, r, s) => {
225
- const n = t.$children$[r];
226
- let a = 0, l, i;
227
- if (n.$text$ !== null)
228
- l = n.$elm$ = m.createTextNode(n.$text$);
229
- else if (l = n.$elm$ = m.createElement(
230
- !ie && ee.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
231
- ), oe(null, n, ce), Pe(P) && l["s-si"] !== P && l.classList.add(l["s-si"] = P), n.$children$)
232
- for (a = 0; a < n.$children$.length; ++a)
233
- i = C(e, n, a), i && l.appendChild(i);
234
- return l["s-hn"] = W, l;
235
- }, $e = (e, t, r, s, n, a) => {
236
- let l = e, i;
237
- for (l.shadowRoot && l.tagName === W && (l = l.shadowRoot); n <= a; ++n)
238
- s[n] && (i = C(null, r, n), i && (s[n].$elm$ = i, A(l, i, t)));
239
- }, fe = (e, t, r) => {
240
- for (let s = t; s <= r; ++s) {
241
- const n = e[s];
242
- if (n) {
243
- const a = n.$elm$;
244
- de(n), a && a.remove();
245
- }
246
- }
247
- }, Me = (e, t, r, s, n = !1) => {
248
- 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], v, y;
249
- for (; a <= c && l <= d; )
250
- if ($ == null)
251
- $ = t[++a];
252
- else if (f == null)
253
- f = t[--c];
254
- else if (u == null)
255
- u = s[++l];
256
- else if (p == null)
257
- p = s[--d];
258
- else if (L($, u, n))
259
- w($, u, n), $ = t[++a], u = s[++l];
260
- else if (L(f, p, n))
261
- w(f, p, n), f = t[--c], p = s[--d];
262
- else if (L($, p, n))
263
- w($, p, n), A(e, $.$elm$, f.$elm$.nextSibling), $ = t[++a], p = s[--d];
264
- else if (L(f, u, n))
265
- w(f, u, n), A(e, f.$elm$, $.$elm$), f = t[--c], u = s[++l];
266
- else {
267
- for (i = -1, o = a; o <= c; ++o)
268
- if (t[o] && t[o].$key$ !== null && t[o].$key$ === u.$key$) {
269
- i = o;
270
- break;
271
- }
272
- i >= 0 ? (y = t[i], y.$tag$ !== u.$tag$ ? v = C(t && t[l], r, i) : (w(y, u, n), t[i] = void 0, v = y.$elm$), u = s[++l]) : (v = C(t && t[l], r, l), u = s[++l]), v && A($.$elm$.parentNode, v, $.$elm$);
273
- }
274
- a > c ? $e(
275
- e,
276
- s[d + 1] == null ? null : s[d + 1].$elm$,
277
- r,
278
- s,
279
- l,
280
- d
281
- ) : l > d && fe(t, a, c);
282
- }, L = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, r = !1) => {
283
- const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
284
- l === null ? (oe(e, t, ce), n !== null && a !== null ? Me(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), $e(s, null, t, a, 0, a.length - 1)) : n !== null && fe(n, 0, n.length - 1)) : e.$text$ !== l && (s.data = l);
285
- }, de = (e) => {
286
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(de);
287
- }, A = (e, t, r) => e == null ? void 0 : e.insertBefore(t, r), Xe = (e, t, r = !1) => {
288
- const s = e.$hostElement$, n = e.$cmpMeta$, a = e.$vnode$ || R(null, null), l = ze(t) ? t : je(null, null, t);
289
- if (W = s.tagName, n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map(
290
- ([i, o]) => l.$attrs$[o] = s[i]
291
- )), r && l.$attrs$)
292
- for (const i of Object.keys(l.$attrs$))
293
- s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
294
- l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = a.$elm$ = s.shadowRoot || s, P = s["s-sc"], ie = (n.$flags$ & 1) !== 0, w(a, l, r);
295
- }, ue = (e, t) => {
296
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
297
- }, M = (e, t) => {
298
- if (e.$flags$ |= 16, e.$flags$ & 4) {
299
- e.$flags$ |= 512;
300
- return;
301
- }
302
- return ue(e, e.$ancestorComponent$), Le(() => Ge(e, t));
303
- }, Ge = (e, t) => {
304
- const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
305
- if (!n)
306
- throw new Error(
307
- `Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
308
- );
309
- let a;
310
- return t && (a = I(n, "componentWillLoad")), s(), Qe(a, () => Je(e, n, t));
311
- }, Qe = (e, t) => Ye(e) ? e.then(t).catch((r) => {
312
- console.error(r), t();
313
- }) : t(), Ye = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Je = (e, t, r) => x(void 0, null, function* () {
314
- var s;
315
- const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
316
- r && He(e);
317
- const i = S("render", e.$cmpMeta$.$tagName$);
318
- Ke(e, t, n, r), l && (l.map((o) => o()), n["s-rc"] = void 0), i(), a();
319
- {
320
- const o = (s = n["s-p"]) != null ? s : [], c = () => Ze(e);
321
- o.length === 0 ? c() : (Promise.all(o).then(c), e.$flags$ |= 4, o.length = 0);
322
- }
323
- }), Ke = (e, t, r, s) => {
324
- try {
325
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Xe(e, t, s);
326
- } catch (n) {
327
- k(n, e.$hostElement$);
328
- }
329
- return null;
330
- }, Ze = (e) => {
331
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, a = e.$ancestorComponent$;
332
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ve(r), I(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), a || pe()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && H(() => M(e, !1)), e.$flags$ &= -517;
333
- }, pe = (e) => {
334
- ve(m.documentElement), H(() => Re(O, "appload", { detail: { namespace: ye } }));
335
- }, I = (e, t, r) => {
336
- if (e && e[t])
337
- try {
338
- return e[t](r);
339
- } catch (s) {
340
- k(s);
341
- }
342
- }, ve = (e) => {
343
- var t;
344
- return e.classList.add((t = ee.hydratedSelectorName) != null ? t : "hydrated");
345
- }, Ne = (e, t) => E(e).$instanceValues$.get(t), Ve = (e, t, r, s) => {
346
- const n = E(e);
347
- if (!n)
348
- throw new Error(
349
- `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).`
350
- );
351
- const a = n.$hostElement$, l = n.$instanceValues$.get(t), i = n.$flags$, o = n.$lazyInstance$;
352
- r = De(r, s.$members$[t][0]);
353
- const c = Number.isNaN(l) && Number.isNaN(r), $ = r !== l && !c;
354
- if ((!(i & 8) || l === void 0) && $ && (n.$instanceValues$.set(t, r), o)) {
355
- if (s.$watchers$ && i & 128) {
356
- const f = s.$watchers$[t];
357
- f && f.map((d) => {
358
- try {
359
- o[d](r, l, t);
360
- } catch (u) {
361
- k(u, a);
362
- }
363
- });
364
- }
365
- (i & 18) === 2 && M(n, !1);
366
- }
367
- }, he = (e, t, r) => {
368
- var s, n;
369
- const a = e.prototype;
370
- if (t.$members$ || t.$watchers$ || e.watchers) {
371
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
372
- const l = Object.entries((s = t.$members$) != null ? s : {});
373
- if (l.map(([i, [o]]) => {
374
- (o & 31 || r & 2 && o & 32) && Object.defineProperty(a, i, {
375
- get() {
376
- return Ne(this, i);
377
- },
378
- set(c) {
379
- Ve(this, i, c, t);
380
- },
381
- configurable: !0,
382
- enumerable: !0
383
- });
384
- }), r & 1) {
385
- const i = /* @__PURE__ */ new Map();
386
- a.attributeChangedCallback = function(o, c, $) {
387
- h.jmp(() => {
388
- var f;
389
- const d = i.get(o);
390
- if (this.hasOwnProperty(d))
391
- $ = this[d], delete this[d];
392
- else {
393
- if (a.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == $)
394
- return;
395
- if (d == null) {
396
- const u = E(this), p = u == null ? void 0 : u.$flags$;
397
- if (p && !(p & 8) && p & 128 && $ !== c) {
398
- const v = u.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[o];
399
- y == null || y.forEach((g) => {
400
- v[g] != null && v[g].call(v, $, c, o);
401
- });
402
- }
403
- return;
404
- }
405
- }
406
- this[d] = $ === null && typeof this[d] == "boolean" ? !1 : $;
407
- });
408
- }, e.observedAttributes = Array.from(
409
- /* @__PURE__ */ new Set([
410
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
411
- ...l.filter(
412
- ([o, c]) => c[0] & 15
413
- /* HasAttribute */
414
- ).map(([o, c]) => {
415
- var $;
416
- const f = c[1] || o;
417
- return i.set(f, o), c[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([o, f])), f;
418
- })
419
- ])
420
- );
421
- }
422
- }
423
- return e;
424
- }, et = (e, t, r, s) => x(void 0, null, function* () {
425
- let n;
426
- if (!(t.$flags$ & 32)) {
427
- if (t.$flags$ |= 32, r.$lazyBundleId$) {
428
- const o = be(r);
429
- if (o && "then" in o) {
430
- const $ = Ie();
431
- n = yield o, $();
432
- } else
433
- n = o;
434
- if (!n)
435
- throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
436
- n.isProxied || (r.$watchers$ = n.watchers, he(
437
- n,
438
- r,
439
- 2
440
- /* proxyState */
441
- ), n.isProxied = !0);
442
- const c = S("createInstance", r.$tagName$);
443
- t.$flags$ |= 8;
444
- try {
445
- new n(t);
446
- } catch ($) {
447
- k($);
448
- }
449
- t.$flags$ &= -9, t.$flags$ |= 128, c(), B(t.$lazyInstance$);
450
- } else {
451
- n = e.constructor;
452
- const o = e.localName;
453
- customElements.whenDefined(o).then(
454
- () => t.$flags$ |= 128
455
- /* isWatchReady */
456
- );
457
- }
458
- if (n && n.style) {
459
- let o;
460
- typeof n.style == "string" && (o = n.style);
461
- const c = le(r);
462
- if (!_.has(c)) {
463
- const $ = S("registerStyles", r.$tagName$);
464
- Be(c, o, !!(r.$flags$ & 1)), $();
465
- }
466
- }
467
- }
468
- const a = t.$ancestorComponent$, l = () => M(t, !0);
469
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
470
- }), B = (e) => {
471
- I(e, "connectedCallback");
472
- }, tt = (e) => {
473
- if (!(h.$flags$ & 1)) {
474
- const t = E(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
475
- if (t.$flags$ & 1)
476
- t != null && t.$lazyInstance$ ? B(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => B(t.$lazyInstance$));
477
- else {
478
- t.$flags$ |= 1;
479
- {
480
- let n = e;
481
- for (; n = n.parentNode || n.host; )
482
- if (n["s-p"]) {
483
- ue(t, t.$ancestorComponent$ = n);
484
- break;
485
- }
486
- }
487
- r.$members$ && Object.entries(r.$members$).map(([n, [a]]) => {
488
- if (a & 31 && e.hasOwnProperty(n)) {
489
- const l = e[n];
490
- delete e[n], e[n] = l;
491
- }
492
- }), et(e, t, r);
493
- }
494
- s();
495
- }
496
- }, V = (e) => {
497
- I(e, "disconnectedCallback");
498
- }, st = (e) => x(void 0, null, function* () {
499
- if (!(h.$flags$ & 1)) {
500
- const t = E(e);
501
- t != null && t.$lazyInstance$ ? V(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => V(t.$lazyInstance$));
502
- }
503
- }), at = (e, t = {}) => {
504
- var r;
505
- const s = S(), n = [], a = t.exclude || [], l = O.customElements, i = m.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ m.createElement("style"), $ = [];
506
- let f, d = !0;
507
- Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
508
- let u = !1;
509
- if (e.map((p) => {
510
- p[1].map((v) => {
511
- var y;
512
- const g = {
513
- $flags$: v[0],
514
- $tagName$: v[1],
515
- $members$: v[2],
516
- $listeners$: v[3]
517
- };
518
- g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = v[4]) != null ? y : {};
519
- const T = g.$tagName$, ge = class extends HTMLElement {
520
- // StencilLazyHost
521
- constructor(b) {
522
- if (super(b), this.hasRegisteredEventListeners = !1, b = this, Ee(b, g), g.$flags$ & 1) {
523
- if (!b.shadowRoot)
524
- b.attachShadow({ mode: "open" });
525
- else if (b.shadowRoot.mode !== "open")
526
- throw new Error(
527
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`
528
- );
529
- }
530
- }
531
- connectedCallback() {
532
- E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? $.push(this) : h.jmp(() => tt(this));
533
- }
534
- disconnectedCallback() {
535
- h.jmp(() => st(this));
536
- }
537
- componentOnReady() {
538
- return E(this).$onReadyPromise$;
539
- }
540
- };
541
- g.$lazyBundleId$ = p[0], !a.includes(T) && !l.get(T) && (n.push(T), l.define(
542
- T,
543
- he(
544
- ge,
545
- g,
546
- 1
547
- /* isElementConstructor */
548
- )
549
- ));
550
- });
551
- }), n.length > 0 && (u && (c.textContent += te), c.textContent += n.sort() + ke, c.innerHTML.length)) {
552
- c.setAttribute("data-styles", "");
553
- const p = (r = h.$nonce$) != null ? r : ne(m);
554
- p != null && c.setAttribute("nonce", p), i.insertBefore(c, o ? o.nextSibling : i.firstChild);
555
- }
556
- d = !1, $.length ? $.map((p) => p.connectedCallback()) : h.jmp(() => f = setTimeout(pe, 30)), s();
557
- };
558
- export {
559
- at as b,
560
- lt as g,
561
- je as h,
562
- we as p,
563
- rt as r
564
- };