@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
@@ -1,563 +0,0 @@
1
- const ge = "casino-play-random-game", P = (
2
- /* casino-play-random-game */
3
- { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !1, propMutable: !1, propNumber: !1, propString: !0, reflect: !0, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !1, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !1, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
4
- );
5
- var ye = Object.defineProperty, me = (e, t) => {
6
- for (var r in t)
7
- ye(e, r, { get: t[r], enumerable: !0 });
8
- }, B = /* @__PURE__ */ new WeakMap(), E = (e) => B.get(e), st = (e, t) => B.set(t.$lazyInstance$ = e, t), Se = (e, t) => {
9
- const r = {
10
- $flags$: 0,
11
- $hostElement$: e,
12
- $cmpMeta$: t,
13
- $instanceValues$: /* @__PURE__ */ new Map()
14
- };
15
- return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], B.set(e, r);
16
- }, X = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), U = /* @__PURE__ */ new Map(), Ee = (e, t, r) => {
17
- const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
18
- if (!n)
19
- return;
20
- const a = U.get(n);
21
- if (a)
22
- return a[s];
23
- {
24
- const l = (o) => (U.set(n, o), o[s]);
25
- switch (n) {
26
- case "casino-play-random-game":
27
- return import(
28
- /* webpackMode: "lazy" */
29
- "./casino-play-random-game-Cphp76Jq.js"
30
- ).then(l, k);
31
- }
32
- }
33
- return import(
34
- /* @vite-ignore */
35
- /* webpackInclude: /\.entry\.js$/ */
36
- /* webpackExclude: /\.system\.entry\.js$/ */
37
- /* webpackMode: "lazy" */
38
- `./${n}.entry.js`
39
- ).then((l) => (U.set(n, l), l[s]), k);
40
- }, _ = /* @__PURE__ */ new Map(), be = "{visibility:hidden}.hydrated{visibility:inherit}", V = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window < "u" ? window : {}, m = j.document || { head: {} }, v = {
41
- $flags$: 0,
42
- $resourcesUrl$: "",
43
- jmp: (e) => e(),
44
- raf: (e) => requestAnimationFrame(e),
45
- ael: (e, t, r, s) => e.addEventListener(t, r, s),
46
- rel: (e, t, r, s) => e.removeEventListener(t, r, s),
47
- ce: (e, t) => new CustomEvent(e, t)
48
- }, ke = (e) => Promise.resolve(e), ee = /* @__PURE__ */ (() => {
49
- try {
50
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
- } catch {
52
- }
53
- return !1;
54
- })(), I = !1, G = [], te = [], we = (e, t) => (r) => {
55
- e.push(r), I || (I = !0, v.$flags$ & 4 ? C(D) : v.raf(D));
56
- }, Q = (e) => {
57
- for (let t = 0; t < e.length; t++)
58
- try {
59
- e[t](performance.now());
60
- } catch (r) {
61
- k(r);
62
- }
63
- e.length = 0;
64
- }, D = () => {
65
- Q(G), Q(te), (I = G.length > 0) && v.raf(D);
66
- }, C = (e) => ke().then(e), Te = /* @__PURE__ */ we(te), Y = {}, xe = (e) => e != null, F = (e) => (e = typeof e, e === "object" || e === "function");
67
- function se(e) {
68
- var t, r, s;
69
- 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;
70
- }
71
- var Le = {};
72
- me(Le, {
73
- err: () => ne,
74
- map: () => Ae,
75
- ok: () => H,
76
- unwrap: () => Pe,
77
- unwrapErr: () => _e
78
- });
79
- var H = (e) => ({
80
- isOk: !0,
81
- isErr: !1,
82
- value: e
83
- }), ne = (e) => ({
84
- isOk: !1,
85
- isErr: !0,
86
- value: e
87
- });
88
- function Ae(e, t) {
89
- if (e.isOk) {
90
- const r = t(e.value);
91
- return r instanceof Promise ? r.then((s) => H(s)) : H(r);
92
- }
93
- if (e.isErr) {
94
- const r = e.value;
95
- return ne(r);
96
- }
97
- throw "should never get here";
98
- }
99
- var Pe = (e) => {
100
- if (e.isOk)
101
- return e.value;
102
- throw e.value;
103
- }, _e = (e) => {
104
- if (e.isErr)
105
- return e.value;
106
- throw e.value;
107
- }, S = (e, t = "") => () => {
108
- }, Oe = (e, t) => () => {
109
- }, je = (e, t, ...r) => {
110
- let s = null, n = null, a = !1, l = !1;
111
- const o = [], c = ($) => {
112
- for (let f = 0; f < $.length; f++)
113
- s = $[f], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !F(s)) && (s = String(s)), a && l ? o[o.length - 1].$text$ += s : o.push(a ? R(null, s) : s), l = a);
114
- };
115
- if (c(r), t) {
116
- t.key && (n = t.key);
117
- {
118
- const $ = t.className || t.class;
119
- $ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((f) => $[f]).join(" "));
120
- }
121
- }
122
- const i = R(e, null);
123
- return i.$attrs$ = t, o.length > 0 && (i.$children$ = o), i.$key$ = n, i;
124
- }, R = (e, t) => {
125
- const r = {
126
- $flags$: 0,
127
- $tag$: e,
128
- $text$: t,
129
- $elm$: null,
130
- $children$: null
131
- };
132
- return r.$attrs$ = null, r.$key$ = null, r;
133
- }, Ue = {}, Ie = (e) => e && e.$tag$ === Ue, De = (e, t) => e != null && !F(e) && t & 1 ? String(e) : e, nt = (e) => E(e).$hostElement$, He = (e, t, r) => {
134
- const s = v.ce(t, r);
135
- return e.dispatchEvent(s), s;
136
- }, J = /* @__PURE__ */ new WeakMap(), Re = (e, t, r) => {
137
- let s = _.get(e);
138
- ee && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
139
- }, ze = (e, t, r) => {
140
- var s;
141
- const n = re(t), a = _.get(n);
142
- if (e = e.nodeType === 11 ? e : m, a)
143
- if (typeof a == "string") {
144
- e = e.head || e;
145
- let l = J.get(e), o;
146
- if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
147
- {
148
- o = m.createElement("style"), o.innerHTML = a;
149
- const c = (s = v.$nonce$) != null ? s : se(m);
150
- if (c != null && o.setAttribute("nonce", c), !(t.$flags$ & 1))
151
- if (e.nodeName === "HEAD") {
152
- const i = e.querySelectorAll("link[rel=preconnect]"), $ = i.length > 0 ? i[i.length - 1].nextSibling : e.querySelector("style");
153
- e.insertBefore(o, $);
154
- } else if ("host" in e)
155
- if (ee) {
156
- const i = new CSSStyleSheet();
157
- i.replaceSync(a), e.adoptedStyleSheets = [i, ...e.adoptedStyleSheets];
158
- } else {
159
- const i = e.querySelector("style");
160
- i ? i.innerHTML = a + i.innerHTML : e.prepend(o);
161
- }
162
- else
163
- e.append(o);
164
- t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(o, null);
165
- }
166
- t.$flags$ & 4 && (o.innerHTML += V), l && l.add(n);
167
- }
168
- } else e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
169
- return n;
170
- }, Be = (e) => {
171
- const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = S("attachStyles", t.$tagName$), a = ze(
172
- r.shadowRoot ? r.shadowRoot : r.getRootNode(),
173
- t
174
- );
175
- s & 10 && s & 2 && (r["s-sc"] = a, r.classList.add(a + "-h")), n();
176
- }, re = (e, t) => "sc-" + e.$tagName$, K = (e, t, r, s, n, a) => {
177
- if (r !== s) {
178
- let l = X(e, t), o = t.toLowerCase();
179
- if (t === "class") {
180
- const c = e.classList, i = Z(r), $ = Z(s);
181
- c.remove(...i.filter((f) => f && !$.includes(f))), c.add(...$.filter((f) => f && !i.includes(f)));
182
- } else if (t !== "key") if (t === "ref")
183
- s && s(e);
184
- else if (!l && t[0] === "o" && t[1] === "n") {
185
- if (t[2] === "-" ? t = t.slice(3) : X(j, o) ? t = o.slice(2) : t = o[2] + t.slice(3), r || s) {
186
- const c = t.endsWith(le);
187
- t = t.replace(Fe, ""), r && v.rel(e, t, r, c), s && v.ael(e, t, s, c);
188
- }
189
- } else {
190
- const c = F(s);
191
- if ((l || c && s !== null) && !n)
192
- try {
193
- if (e.tagName.includes("-"))
194
- e[t] = s;
195
- else {
196
- const i = s ?? "";
197
- t === "list" ? l = !1 : (r == null || e[t] != i) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = i : e.setAttribute(t, i));
198
- }
199
- } catch {
200
- }
201
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || n) && !c && (s = s === !0 ? "" : s, e.setAttribute(t, s));
202
- }
203
- }
204
- }, Ce = /\s/, Z = (e) => e ? e.split(Ce) : [], le = "Capture", Fe = new RegExp(le + "$"), ae = (e, t, r) => {
205
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || Y, a = t.$attrs$ || Y;
206
- for (const l of N(Object.keys(n)))
207
- l in a || K(s, l, n[l], void 0, r, t.$flags$);
208
- for (const l of N(Object.keys(a)))
209
- K(s, l, n[l], a[l], r, t.$flags$);
210
- };
211
- function N(e) {
212
- return e.includes("ref") ? (
213
- // we need to sort these to ensure that `'ref'` is the last attr
214
- [...e.filter((t) => t !== "ref"), "ref"]
215
- ) : (
216
- // no need to sort, return the original array
217
- e
218
- );
219
- }
220
- var L, q, oe = !1, ie = !1, O = (e, t, r, s) => {
221
- const n = t.$children$[r];
222
- let a = 0, l, o;
223
- if (n.$text$ !== null)
224
- l = n.$elm$ = m.createTextNode(n.$text$);
225
- else if (l = n.$elm$ = m.createElement(
226
- !oe && P.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
227
- ), ae(null, n, ie), !!l.getRootNode().querySelector("body") && P.scoped && xe(L) && l["s-si"] !== L && l.classList.add(l["s-si"] = L), n.$children$)
228
- for (a = 0; a < n.$children$.length; ++a)
229
- o = O(e, n, a), o && l.appendChild(o);
230
- return l["s-hn"] = q, l;
231
- }, ce = (e, t, r, s, n, a) => {
232
- let l = e, o;
233
- for (l.shadowRoot && l.tagName === q && (l = l.shadowRoot); n <= a; ++n)
234
- s[n] && (o = O(null, r, n), o && (s[n].$elm$ = o, A(l, o, t)));
235
- }, $e = (e, t, r) => {
236
- for (let s = t; s <= r; ++s) {
237
- const n = e[s];
238
- if (n) {
239
- const a = n.$elm$;
240
- fe(n), a && a.remove();
241
- }
242
- }
243
- }, qe = (e, t, r, s, n = !1) => {
244
- let a = 0, l = 0, o = 0, c = 0, i = t.length - 1, $ = t[0], f = t[i], d = s.length - 1, u = s[0], p = s[d], h, y;
245
- for (; a <= i && l <= d; )
246
- if ($ == null)
247
- $ = t[++a];
248
- else if (f == null)
249
- f = t[--i];
250
- else if (u == null)
251
- u = s[++l];
252
- else if (p == null)
253
- p = s[--d];
254
- else if (x($, u, n))
255
- w($, u, n), $ = t[++a], u = s[++l];
256
- else if (x(f, p, n))
257
- w(f, p, n), f = t[--i], p = s[--d];
258
- else if (x($, p, n))
259
- w($, p, n), A(e, $.$elm$, f.$elm$.nextSibling), $ = t[++a], p = s[--d];
260
- else if (x(f, u, n))
261
- w(f, u, n), A(e, f.$elm$, $.$elm$), f = t[--i], u = s[++l];
262
- else {
263
- for (o = -1, c = a; c <= i; ++c)
264
- if (t[c] && t[c].$key$ !== null && t[c].$key$ === u.$key$) {
265
- o = c;
266
- break;
267
- }
268
- o >= 0 ? (y = t[o], y.$tag$ !== u.$tag$ ? h = O(t && t[l], r, o) : (w(y, u, n), t[o] = void 0, h = y.$elm$), u = s[++l]) : (h = O(t && t[l], r, l), u = s[++l]), h && A($.$elm$.parentNode, h, $.$elm$);
269
- }
270
- a > i ? ce(
271
- e,
272
- s[d + 1] == null ? null : s[d + 1].$elm$,
273
- r,
274
- s,
275
- l,
276
- d
277
- ) : l > d && $e(t, a, i);
278
- }, x = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, r = !1) => {
279
- const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
280
- l === null ? (ae(e, t, ie), n !== null && a !== null ? qe(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ce(s, null, t, a, 0, a.length - 1)) : (
281
- // don't do this on initial render as it can cause non-hydrated content to be removed
282
- !r && P.updatable && n !== null && $e(n, 0, n.length - 1)
283
- )) : e.$text$ !== l && (s.data = l);
284
- }, fe = (e) => {
285
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);
286
- }, A = (e, t, r) => e?.insertBefore(t, r), We = (e, t, r = !1) => {
287
- const s = e.$hostElement$, n = e.$cmpMeta$, a = e.$vnode$ || R(null, null), l = Ie(t) ? t : je(null, null, t);
288
- if (q = s.tagName, n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map(
289
- ([o, c]) => l.$attrs$[c] = s[o]
290
- )), r && l.$attrs$)
291
- for (const o of Object.keys(l.$attrs$))
292
- s.hasAttribute(o) && !["key", "ref", "style", "class"].includes(o) && (l.$attrs$[o] = s[o]);
293
- l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = a.$elm$ = s.shadowRoot || s, L = s["s-sc"], oe = (n.$flags$ & 1) !== 0, w(a, l, r);
294
- }, de = (e, t) => {
295
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
296
- }, W = (e, t) => {
297
- if (e.$flags$ |= 16, e.$flags$ & 4) {
298
- e.$flags$ |= 512;
299
- return;
300
- }
301
- return de(e, e.$ancestorComponent$), Te(() => Me(e, t));
302
- }, Me = (e, t) => {
303
- const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
304
- if (!n)
305
- throw new Error(
306
- `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`
307
- );
308
- let a;
309
- return t && (a = M(n, "componentWillLoad")), s(), Xe(a, () => Qe(e, n, t));
310
- }, Xe = (e, t) => Ge(e) ? e.then(t).catch((r) => {
311
- console.error(r), t();
312
- }) : t(), Ge = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Qe = async (e, t, r) => {
313
- var s;
314
- const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
315
- r && Be(e);
316
- const o = S("render", e.$cmpMeta$.$tagName$);
317
- Ye(e, t, n, r), l && (l.map((c) => c()), n["s-rc"] = void 0), o(), a();
318
- {
319
- const c = (s = n["s-p"]) != null ? s : [], i = () => Je(e);
320
- c.length === 0 ? i() : (Promise.all(c).then(i), e.$flags$ |= 4, c.length = 0);
321
- }
322
- }, Ye = (e, t, r, s) => {
323
- try {
324
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, We(e, t, s);
325
- } catch (n) {
326
- k(n, e.$hostElement$);
327
- }
328
- return null;
329
- }, Je = (e) => {
330
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, a = e.$ancestorComponent$;
331
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, pe(r), M(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), a || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && C(() => W(e, !1)), e.$flags$ &= -517;
332
- }, ue = (e) => {
333
- pe(m.documentElement), C(() => He(j, "appload", { detail: { namespace: ge } }));
334
- }, M = (e, t, r) => {
335
- if (e && e[t])
336
- try {
337
- return e[t](r);
338
- } catch (s) {
339
- k(s);
340
- }
341
- }, pe = (e) => {
342
- var t;
343
- return e.classList.add((t = P.hydratedSelectorName) != null ? t : "hydrated");
344
- }, Ke = (e, t) => E(e).$instanceValues$.get(t), Ze = (e, t, r, s) => {
345
- const n = E(e);
346
- if (!n)
347
- throw new Error(
348
- `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).`
349
- );
350
- const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, c = n.$lazyInstance$;
351
- r = De(r, s.$members$[t][0]);
352
- const i = Number.isNaN(l) && Number.isNaN(r), $ = r !== l && !i;
353
- if ((!(o & 8) || l === void 0) && $ && (n.$instanceValues$.set(t, r), c)) {
354
- if (s.$watchers$ && o & 128) {
355
- const f = s.$watchers$[t];
356
- f && f.map((d) => {
357
- try {
358
- c[d](r, l, t);
359
- } catch (u) {
360
- k(u, a);
361
- }
362
- });
363
- }
364
- (o & 18) === 2 && W(n, !1);
365
- }
366
- }, he = (e, t, r) => {
367
- var s, n;
368
- const a = e.prototype;
369
- if (t.$members$ || t.$watchers$ || e.watchers) {
370
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
371
- const l = Object.entries((s = t.$members$) != null ? s : {});
372
- if (l.map(([o, [c]]) => {
373
- (c & 31 || r & 2 && c & 32) && Object.defineProperty(a, o, {
374
- get() {
375
- return Ke(this, o);
376
- },
377
- set(i) {
378
- Ze(this, o, i, t);
379
- },
380
- configurable: !0,
381
- enumerable: !0
382
- });
383
- }), r & 1) {
384
- const o = /* @__PURE__ */ new Map();
385
- a.attributeChangedCallback = function(c, i, $) {
386
- v.jmp(() => {
387
- var f;
388
- const d = o.get(c);
389
- if (this.hasOwnProperty(d))
390
- $ = this[d], delete this[d];
391
- else {
392
- if (a.hasOwnProperty(d) && typeof this[d] == "number" && // cast type to number to avoid TS compiler issues
393
- this[d] == $)
394
- return;
395
- if (d == null) {
396
- const u = E(this), p = u?.$flags$;
397
- if (p && !(p & 8) && p & 128 && $ !== i) {
398
- const h = u.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[c];
399
- y?.forEach((g) => {
400
- h[g] != null && h[g].call(h, $, i, c);
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
- ([c, i]) => i[0] & 15
413
- /* HasAttribute */
414
- ).map(([c, i]) => {
415
- var $;
416
- const f = i[1] || c;
417
- return o.set(f, c), i[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([c, f])), f;
418
- })
419
- ])
420
- );
421
- }
422
- }
423
- return e;
424
- }, Ne = async (e, t, r, s) => {
425
- let n;
426
- if (!(t.$flags$ & 32)) {
427
- if (t.$flags$ |= 32, r.$lazyBundleId$) {
428
- const c = Ee(r);
429
- if (c && "then" in c) {
430
- const $ = Oe();
431
- n = await c, $();
432
- } else
433
- n = c;
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 i = 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, i(), z(t.$lazyInstance$);
450
- } else {
451
- n = e.constructor;
452
- const c = e.localName;
453
- customElements.whenDefined(c).then(
454
- () => t.$flags$ |= 128
455
- /* isWatchReady */
456
- );
457
- }
458
- if (n && n.style) {
459
- let c;
460
- typeof n.style == "string" && (c = n.style);
461
- const i = re(r);
462
- if (!_.has(i)) {
463
- const $ = S("registerStyles", r.$tagName$);
464
- Re(i, c, !!(r.$flags$ & 1)), $();
465
- }
466
- }
467
- }
468
- const a = t.$ancestorComponent$, l = () => W(t, !0);
469
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
470
- }, z = (e) => {
471
- M(e, "connectedCallback");
472
- }, Ve = (e) => {
473
- if (!(v.$flags$ & 1)) {
474
- const t = E(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
475
- if (t.$flags$ & 1)
476
- t?.$lazyInstance$ ? z(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => z(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
- de(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
- }), Ne(e, t, r);
493
- }
494
- s();
495
- }
496
- }, et = (e) => {
497
- }, tt = async (e) => {
498
- if (!(v.$flags$ & 1)) {
499
- const t = E(e);
500
- t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => et());
501
- }
502
- }, rt = (e, t = {}) => {
503
- var r;
504
- const s = S(), n = [], a = t.exclude || [], l = j.customElements, o = m.head, c = /* @__PURE__ */ o.querySelector("meta[charset]"), i = /* @__PURE__ */ m.createElement("style"), $ = [];
505
- let f, d = !0;
506
- Object.assign(v, t), v.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
507
- let u = !1;
508
- if (e.map((p) => {
509
- p[1].map((h) => {
510
- var y;
511
- const g = {
512
- $flags$: h[0],
513
- $tagName$: h[1],
514
- $members$: h[2],
515
- $listeners$: h[3]
516
- };
517
- g.$flags$ & 4 && (u = !0), g.$members$ = h[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = h[4]) != null ? y : {};
518
- const T = g.$tagName$, ve = class extends HTMLElement {
519
- // StencilLazyHost
520
- constructor(b) {
521
- if (super(b), this.hasRegisteredEventListeners = !1, b = this, Se(b, g), g.$flags$ & 1) {
522
- if (!b.shadowRoot)
523
- b.attachShadow({ mode: "open" });
524
- else if (b.shadowRoot.mode !== "open")
525
- throw new Error(
526
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`
527
- );
528
- }
529
- }
530
- connectedCallback() {
531
- E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? $.push(this) : v.jmp(() => Ve(this));
532
- }
533
- disconnectedCallback() {
534
- v.jmp(() => tt(this));
535
- }
536
- componentOnReady() {
537
- return E(this).$onReadyPromise$;
538
- }
539
- };
540
- g.$lazyBundleId$ = p[0], !a.includes(T) && !l.get(T) && (n.push(T), l.define(
541
- T,
542
- he(
543
- ve,
544
- g,
545
- 1
546
- /* isElementConstructor */
547
- )
548
- ));
549
- });
550
- }), n.length > 0 && (u && (i.textContent += V), i.textContent += n.sort() + be, i.innerHTML.length)) {
551
- i.setAttribute("data-styles", "");
552
- const p = (r = v.$nonce$) != null ? r : se(m);
553
- p != null && i.setAttribute("nonce", p), o.insertBefore(i, c ? c.nextSibling : o.firstChild);
554
- }
555
- d = !1, $.length ? $.map((p) => p.connectedCallback()) : v.jmp(() => f = setTimeout(ue, 30)), s();
556
- };
557
- export {
558
- rt as b,
559
- nt as g,
560
- je as h,
561
- ke as p,
562
- st as r
563
- };