@everymatrix/casino-lobby 1.59.0 → 1.59.2

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 (104) hide show
  1. package/components/{CasinoCalendar-CEPKCmvL.js → CasinoCalendar-6ncpIgng.js} +937 -912
  2. package/components/CasinoCalendar-CkNAiTx8.cjs +22 -0
  3. package/components/{CasinoCalendar-BWZKTjt3.js → CasinoCalendar-Km8tdNHN.js} +930 -905
  4. package/components/{CasinoCalendarDailyDetails-C4rdfT96.js → CasinoCalendarDailyDetails-CAbwFBvZ.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-BZxw5rrd.js → CasinoCalendarDailyDetails-CGaAU2gc.js} +48 -48
  6. package/components/{CasinoCalendarDailyDetails-CneP-8H4.cjs → CasinoCalendarDailyDetails-CsEZhtVE.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-B3mEEjHA.js → CasinoCalendarDailyItem-5aqnKIMr.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-yxm1jout.cjs → CasinoCalendarDailyItem-DSlC0F3s.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DAH0pKrw.js → CasinoCalendarDailyItem-D_MTrKed.js} +41 -41
  10. package/components/{CasinoCategoriesSlider-t9Ea10Xr.js → CasinoCategoriesSlider-CZHyRC-C.js} +67 -67
  11. package/components/CasinoCategoriesSlider-DMR3iCVW.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-Dd33-jys.js → CasinoCategoriesSlider-Dm2i_QTf.js} +66 -66
  13. package/components/{CasinoCollectionsProviders-CBiEhbus.cjs → CasinoCollectionsProviders-B6occ8TF.cjs} +1 -1
  14. package/components/{CasinoCollectionsProviders-bmfbt1iI.js → CasinoCollectionsProviders-B7d5LuGP.js} +145 -142
  15. package/components/{CasinoCollectionsProviders-DAgGlzwM.js → CasinoCollectionsProviders-pk8jpLQt.js} +142 -139
  16. package/components/{CasinoFavoritesSection-B9pa_5wC.js → CasinoFavoritesSection-C949lfcK.js} +26 -26
  17. package/components/{CasinoFavoritesSection-Dm0Ylorq.js → CasinoFavoritesSection-V5ybOUJC.js} +26 -26
  18. package/components/{CasinoFavoritesSection-n_i25VDL.cjs → CasinoFavoritesSection-hHKNAcoS.cjs} +1 -1
  19. package/components/{CasinoFilter-BTP1X8zp.js → CasinoFilter-BTof425X.js} +247 -246
  20. package/components/{CasinoFilter-BaCM2CFg.js → CasinoFilter-BWjq7W1e.js} +234 -235
  21. package/components/CasinoFilter-C2Q93qQz.cjs +1 -0
  22. package/components/{CasinoGamePage-DSk7OmI2.js → CasinoGamePage-Cp2CKRka.js} +742 -742
  23. package/components/{CasinoGamePage-CIvFWln2.cjs → CasinoGamePage-D2huRBJX.cjs} +6 -6
  24. package/components/{CasinoGamePage-jh3dkrf4.js → CasinoGamePage-ssKF-ZD1.js} +741 -741
  25. package/components/CasinoGameThumbnail-CVz7FpsB.js +1866 -0
  26. package/components/CasinoGameThumbnail-DK9cpR-G.cjs +38 -0
  27. package/components/CasinoGameThumbnail-NLieCJGe.js +1850 -0
  28. package/components/{CasinoGamesCategorySection-BBfNK7Mo.cjs → CasinoGamesCategorySection-BAcJus2G.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-dyyrntic.js → CasinoGamesCategorySection-BP3bZsZg.js} +433 -428
  30. package/components/{CasinoGamesCategorySection-BU3JMFcx.js → CasinoGamesCategorySection-Bpy9vh6D.js} +520 -515
  31. package/components/{CasinoJackpotBanner-BvW5shKI.js → CasinoJackpotBanner-CuP8WP5Q.js} +219 -214
  32. package/components/{CasinoJackpotBanner-7unbFH4I.js → CasinoJackpotBanner-Dl2rX6vI.js} +191 -186
  33. package/components/CasinoJackpotBanner-DredUN6K.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-BtSsd68j.js → CasinoLastPlayedSection-B9I2fZm5.js} +43 -43
  35. package/components/{CasinoLastPlayedSection-YmqYIIYS.cjs → CasinoLastPlayedSection-COAM1aoc.cjs} +1 -1
  36. package/components/{CasinoLastPlayedSection--cJ8dS0F.js → CasinoLastPlayedSection-CVEuFsbi.js} +43 -43
  37. package/components/{CasinoLobby--nSc5THC.js → CasinoLobby-AoZlXLOV.js} +45 -45
  38. package/components/{CasinoLobby-DngFRvmY.js → CasinoLobby-BRiasSXJ.js} +47 -47
  39. package/components/{CasinoLobby-BUcjKu4u.cjs → CasinoLobby-CYqI5Bvp.cjs} +1 -1
  40. package/components/{CasinoModal-88yfZulM.js → CasinoModal-B9Gmdwc0.js} +41 -41
  41. package/components/{CasinoModal-D9_hs2c9.js → CasinoModal-DLgyWFbs.js} +41 -41
  42. package/components/{CasinoModal-Ce5Pthg0.cjs → CasinoModal-d1VUXUWj.cjs} +1 -1
  43. package/components/{CasinoMostPlayedSection-BldCqqK1.js → CasinoMostPlayedSection-9B6X9czZ.js} +50 -50
  44. package/components/{CasinoMostPlayedSection-DI5TANog.cjs → CasinoMostPlayedSection-BUwIld9p.cjs} +1 -1
  45. package/components/{CasinoMostPlayedSection-CvX-e31F.js → CasinoMostPlayedSection-DwZh0uxo.js} +50 -50
  46. package/components/{CasinoMyGames-CJm9ApZ8.js → CasinoMyGames-76IMIo9z.js} +50 -50
  47. package/components/{CasinoMyGames-CNSxKFTG.js → CasinoMyGames-DRCxYUHg.js} +53 -53
  48. package/components/{CasinoMyGames-DQEE59aC.cjs → CasinoMyGames-DTGaTHyO.cjs} +1 -1
  49. package/components/{CasinoPage-Renb8OYu.js → CasinoPage-BPxxsTeq.js} +1502 -1456
  50. package/components/CasinoPage-CikRIum6.js +3755 -0
  51. package/components/CasinoPage-DZ6Yhwli.cjs +1 -0
  52. package/components/{CasinoRandomGame-CjLDPmJh.cjs → CasinoRandomGame-CBcSHzZL.cjs} +1 -1
  53. package/components/{CasinoRandomGame-CaLII6na.js → CasinoRandomGame-CfOiAKHl.js} +63 -63
  54. package/components/{CasinoRandomGame-8kMXdgrA.js → CasinoRandomGame-CqripZYr.js} +64 -64
  55. package/components/{CasinoSearch-eN8ZAKdn.js → CasinoSearch-CCcjmB9U.js} +72 -72
  56. package/components/{CasinoSearch-Cf4ivtxM.cjs → CasinoSearch-CZSrkWFZ.cjs} +1 -1
  57. package/components/{CasinoSearch-ISBqoS_l.js → CasinoSearch-Cs8FRwGb.js} +72 -72
  58. package/components/{CasinoSlider-DLY4ZBJR.js → CasinoSlider-0rdHVHjG.js} +65 -65
  59. package/components/{CasinoSlider-BqOuFEE1.cjs → CasinoSlider-CMKmgXUK.cjs} +1 -1
  60. package/components/{CasinoSlider-DTLHID6G.js → CasinoSlider-CleETLFf.js} +74 -74
  61. package/components/{CasinoSort-DKL_qMEQ.js → CasinoSort-BRC8Jmi_.js} +103 -104
  62. package/components/{CasinoSort-BpUmCYRy.cjs → CasinoSort-C78a6veQ.cjs} +1 -1
  63. package/components/{CasinoSort-BNFUwAYT.js → CasinoSort-xZsxfLYC.js} +111 -110
  64. package/components/{CasinoWinners-Czg0Gq3N.js → CasinoWinners-BEOhs5WG.js} +181 -178
  65. package/components/{CasinoWinners-DRdsN9K_.cjs → CasinoWinners-Cp1yMlzb.cjs} +1 -1
  66. package/components/{CasinoWinners-BoSyqMDy.js → CasinoWinners-DD8ZyQkV.js} +187 -184
  67. package/components/{GeneralAnimationLoading-CVr2zyUi.cjs → GeneralAnimationLoading-Bl6_sP-d.cjs} +1 -1
  68. package/components/{GeneralAnimationLoading-DL8bFxE7.js → GeneralAnimationLoading-CURVDkRT.js} +16 -16
  69. package/components/{GeneralAnimationLoading-swHQRr7H.js → GeneralAnimationLoading-uswxvfCW.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 +3 -2
  74. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  75. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  76. package/stencil/{casino-play-random-game-BOnTgUqC.js → casino-play-random-game-BW66Civ1.js} +20 -18
  77. package/stencil/{casino-play-random-game-NcJEjFWA.js → casino-play-random-game-Bk7toWLj.js} +19 -17
  78. package/stencil/{casino-play-random-game-DjdZ0XM0.cjs → casino-play-random-game-CKM_xKne.cjs} +2 -2
  79. package/stencil/index-ab3202d6-BW1TSmQg.js +575 -0
  80. package/stencil/index-ab3202d6-C6VFhXtX.cjs +1 -0
  81. package/stencil/index-ab3202d6-CkTejM5U.js +559 -0
  82. package/stencil/index-ae04a8b1-BvZmaj3p.js +532 -0
  83. package/stencil/index-ae04a8b1-DoeYpoC5.js +516 -0
  84. package/stencil/index-ae04a8b1-OBbo8Dzb.cjs +1 -0
  85. package/stencil/ui-skeleton-C02hm1pt.js +29 -0
  86. package/stencil/ui-skeleton-DET4YE0J.js +11 -0
  87. package/stencil/ui-skeleton-DlNNnOZy.cjs +1 -0
  88. package/stencil/ui-skeleton-a642cced-7C4Fyb2d.js +122 -0
  89. package/stencil/ui-skeleton-a642cced-BhVS1i2r.cjs +1 -0
  90. package/stencil/ui-skeleton-a642cced-Dn9GOtgo.js +122 -0
  91. package/components/CasinoCalendar-YzaZrGBf.cjs +0 -22
  92. package/components/CasinoCategoriesSlider-DozoHOzF.cjs +0 -1
  93. package/components/CasinoFilter-B7H_n_MD.cjs +0 -1
  94. package/components/CasinoGameThumbnail-BXCu7VY7.js +0 -1834
  95. package/components/CasinoGameThumbnail-Mnpd_s_M.js +0 -1850
  96. package/components/CasinoGameThumbnail-uCJn0tBq.cjs +0 -38
  97. package/components/CasinoJackpotBanner-RjyciaDJ.cjs +0 -1
  98. package/components/CasinoPage-DeZ_xrWS.js +0 -3709
  99. package/components/CasinoPage-_d_6nEdh.cjs +0 -1
  100. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  101. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  102. package/stencil/index-510a6ba4-1RrL4Z6e.js +0 -564
  103. package/stencil/index-510a6ba4-CNr-xCZE.js +0 -548
  104. package/stencil/index-510a6ba4-eEczisTR.cjs +0 -1
@@ -1,564 +0,0 @@
1
- var T = (e, t, n) => new Promise((s, r) => {
2
- var a = (o) => {
3
- try {
4
- i(n.next(o));
5
- } catch ($) {
6
- r($);
7
- }
8
- }, l = (o) => {
9
- try {
10
- i(n.throw(o));
11
- } catch ($) {
12
- r($);
13
- }
14
- }, i = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(a, l);
15
- i((n = n.apply(e, t)).next());
16
- });
17
- const he = "casino-play-random-game", ge = (
18
- /* casino-play-random-game */
19
- { hydratedSelectorName: "hydrated" }
20
- );
21
- var ye = Object.defineProperty, me = (e, t) => {
22
- for (var n in t)
23
- ye(e, n, { get: t[n], enumerable: !0 });
24
- }, R = /* @__PURE__ */ new WeakMap(), E = (e) => R.get(e), nt = (e, t) => R.set(t.$lazyInstance$ = e, t), Se = (e, t) => {
25
- const n = {
26
- $flags$: 0,
27
- $hostElement$: e,
28
- $cmpMeta$: t,
29
- $instanceValues$: /* @__PURE__ */ new Map()
30
- };
31
- return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], R.set(e, n);
32
- }, G = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), U = /* @__PURE__ */ new Map(), Ee = (e, t, n) => {
33
- const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
34
- if (!r)
35
- return;
36
- const a = U.get(r);
37
- if (a)
38
- return a[s];
39
- {
40
- const l = (i) => (U.set(r, i), i[s]);
41
- switch (r) {
42
- case "casino-play-random-game":
43
- return import(
44
- /* webpackMode: "lazy" */
45
- "./casino-play-random-game-BOnTgUqC.js"
46
- ).then(l, b);
47
- }
48
- }
49
- return import(
50
- /* @vite-ignore */
51
- /* webpackInclude: /\.entry\.js$/ */
52
- /* webpackExclude: /\.system\.entry\.js$/ */
53
- /* webpackMode: "lazy" */
54
- `./${r}.entry.js`
55
- ).then((l) => (U.set(r, l), l[s]), b);
56
- }, L = /* @__PURE__ */ new Map(), ke = "{visibility:hidden}.hydrated{visibility:inherit}", ee = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window != "undefined" ? window : {}, m = j.document || { head: {} }, h = {
57
- $flags$: 0,
58
- $resourcesUrl$: "",
59
- jmp: (e) => e(),
60
- raf: (e) => requestAnimationFrame(e),
61
- ael: (e, t, n, s) => e.addEventListener(t, n, s),
62
- rel: (e, t, n, s) => e.removeEventListener(t, n, s),
63
- ce: (e, t) => new CustomEvent(e, t)
64
- }, be = (e) => Promise.resolve(e), we = /* @__PURE__ */ (() => {
65
- try {
66
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
67
- } catch (e) {
68
- }
69
- return !1;
70
- })(), z = !1, X = [], te = [], xe = (e, t) => (n) => {
71
- e.push(n), z || (z = !0, h.$flags$ & 4 ? D(C) : h.raf(C));
72
- }, Y = (e) => {
73
- for (let t = 0; t < e.length; t++)
74
- try {
75
- e[t](performance.now());
76
- } catch (n) {
77
- b(n);
78
- }
79
- e.length = 0;
80
- }, C = () => {
81
- Y(X), Y(te), (z = X.length > 0) && h.raf(C);
82
- }, D = (e) => be().then(e), Te = /* @__PURE__ */ xe(te), J = {}, Pe = (e) => e != null, M = (e) => (e = typeof e, e === "object" || e === "function");
83
- function se(e) {
84
- var t, n, s;
85
- return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
86
- }
87
- var _e = {};
88
- me(_e, {
89
- err: () => ne,
90
- map: () => Ae,
91
- ok: () => H,
92
- unwrap: () => Le,
93
- unwrapErr: () => Ie
94
- });
95
- var H = (e) => ({
96
- isOk: !0,
97
- isErr: !1,
98
- value: e
99
- }), ne = (e) => ({
100
- isOk: !1,
101
- isErr: !0,
102
- value: e
103
- });
104
- function Ae(e, t) {
105
- if (e.isOk) {
106
- const n = t(e.value);
107
- return n instanceof Promise ? n.then((s) => H(s)) : H(n);
108
- }
109
- if (e.isErr) {
110
- const n = e.value;
111
- return ne(n);
112
- }
113
- throw "should never get here";
114
- }
115
- var Le = (e) => {
116
- if (e.isOk)
117
- return e.value;
118
- throw e.value;
119
- }, Ie = (e) => {
120
- if (e.isErr)
121
- return e.value;
122
- throw e.value;
123
- }, S = (e, t = "") => () => {
124
- }, je = (e, t) => () => {
125
- }, Oe = (e, t, ...n) => {
126
- let s = null, r = null, a = !1, l = !1;
127
- const i = [], o = (c) => {
128
- for (let f = 0; f < c.length; f++)
129
- s = c[f], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !M(s)) && (s = String(s)), a && l ? i[i.length - 1].$text$ += s : i.push(a ? B(null, s) : s), l = a);
130
- };
131
- if (o(n), t) {
132
- t.key && (r = t.key);
133
- {
134
- const c = t.className || t.class;
135
- c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
136
- }
137
- }
138
- const $ = B(e, null);
139
- return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = r, $;
140
- }, B = (e, t) => {
141
- const n = {
142
- $flags$: 0,
143
- $tag$: e,
144
- $text$: t,
145
- $elm$: null,
146
- $children$: null
147
- };
148
- return n.$attrs$ = null, n.$key$ = null, n;
149
- }, Ue = {}, ze = (e) => e && e.$tag$ === Ue, Ce = (e, t) => e != null && !M(e) && t & 1 ? String(e) : e, rt = (e) => E(e).$hostElement$, He = (e, t, n) => {
150
- const s = h.ce(t, n);
151
- return e.dispatchEvent(s), s;
152
- }, K = /* @__PURE__ */ new WeakMap(), Be = (e, t, n) => {
153
- let s = L.get(e);
154
- we && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, L.set(e, s);
155
- }, qe = (e, t, n) => {
156
- var s;
157
- const r = re(t), a = L.get(r);
158
- if (e = e.nodeType === 11 ? e : m, a)
159
- if (typeof a == "string") {
160
- e = e.head || e;
161
- let l = K.get(e), i;
162
- if (l || K.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
163
- {
164
- i = m.createElement("style"), i.innerHTML = a;
165
- const o = (s = h.$nonce$) != null ? s : se(m);
166
- o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
167
- }
168
- t.$flags$ & 4 && (i.innerHTML += ee), l && l.add(r);
169
- }
170
- } else
171
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
172
- return r;
173
- }, Re = (e) => {
174
- const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = S("attachStyles", t.$tagName$), a = qe(
175
- n.shadowRoot ? n.shadowRoot : n.getRootNode(),
176
- t
177
- );
178
- s & 10 && (n["s-sc"] = a, n.classList.add(a + "-h")), r();
179
- }, re = (e, t) => "sc-" + e.$tagName$, Q = (e, t, n, s, r, a) => {
180
- if (n !== s) {
181
- let l = G(e, t), i = t.toLowerCase();
182
- if (t === "class") {
183
- const o = e.classList, $ = Z(n), c = Z(s);
184
- o.remove(...$.filter((f) => f && !c.includes(f))), o.add(...c.filter((f) => f && !$.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) : G(j, i) ? t = i.slice(2) : t = i[2] + t.slice(3), n || s) {
190
- const o = t.endsWith(le);
191
- t = t.replace(Me, ""), n && h.rel(e, t, n, o), s && h.ael(e, t, s, o);
192
- }
193
- } else {
194
- const o = M(s);
195
- if (l || o && s !== null)
196
- try {
197
- if (e.tagName.includes("-"))
198
- e[t] = s;
199
- else {
200
- const $ = s == null ? "" : s;
201
- t === "list" ? l = !1 : (n == null || e[t] != $) && (e[t] = $);
202
- }
203
- } catch ($) {
204
- }
205
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !o && (s = s === !0 ? "" : s, e.setAttribute(t, s));
206
- }
207
- }
208
- }, De = /\s/, Z = (e) => e ? e.split(De) : [], le = "Capture", Me = new RegExp(le + "$"), ae = (e, t, n) => {
209
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || J, a = t.$attrs$ || J;
210
- for (const l of N(Object.keys(r)))
211
- l in a || Q(s, l, r[l], void 0, n, t.$flags$);
212
- for (const l of N(Object.keys(a)))
213
- Q(s, l, r[l], a[l], n, 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 _, W, oe = !1, I = (e, t, n, s) => {
225
- const r = t.$children$[n];
226
- let a = 0, l, i;
227
- if (r.$text$ !== null)
228
- l = r.$elm$ = m.createTextNode(r.$text$);
229
- else if (l = r.$elm$ = m.createElement(
230
- r.$tag$
231
- ), ae(null, r, oe), Pe(_) && l["s-si"] !== _ && l.classList.add(l["s-si"] = _), r.$children$)
232
- for (a = 0; a < r.$children$.length; ++a)
233
- i = I(e, r, a), i && l.appendChild(i);
234
- return l["s-hn"] = W, l;
235
- }, ie = (e, t, n, s, r, a) => {
236
- let l = e, i;
237
- for (l.shadowRoot && l.tagName === W && (l = l.shadowRoot); r <= a; ++r)
238
- s[r] && (i = I(null, n, r), i && (s[r].$elm$ = i, A(l, i, t)));
239
- }, $e = (e, t, n) => {
240
- for (let s = t; s <= n; ++s) {
241
- const r = e[s];
242
- if (r) {
243
- const a = r.$elm$;
244
- ce(r), a && a.remove();
245
- }
246
- }
247
- }, We = (e, t, n, s, r = !1) => {
248
- let a = 0, l = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], u = s.length - 1, d = s[0], p = s[u], v, y;
249
- for (; a <= $ && l <= u; )
250
- if (c == null)
251
- c = t[++a];
252
- else if (f == null)
253
- f = t[--$];
254
- else if (d == null)
255
- d = s[++l];
256
- else if (p == null)
257
- p = s[--u];
258
- else if (P(c, d, r))
259
- w(c, d, r), c = t[++a], d = s[++l];
260
- else if (P(f, p, r))
261
- w(f, p, r), f = t[--$], p = s[--u];
262
- else if (P(c, p, r))
263
- w(c, p, r), A(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], p = s[--u];
264
- else if (P(f, d, r))
265
- w(f, d, r), A(e, f.$elm$, c.$elm$), f = t[--$], d = s[++l];
266
- else {
267
- for (i = -1, o = a; o <= $; ++o)
268
- if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
269
- i = o;
270
- break;
271
- }
272
- i >= 0 ? (y = t[i], y.$tag$ !== d.$tag$ ? v = I(t && t[l], n, i) : (w(y, d, r), t[i] = void 0, v = y.$elm$), d = s[++l]) : (v = I(t && t[l], n, l), d = s[++l]), v && A(c.$elm$.parentNode, v, c.$elm$);
273
- }
274
- a > $ ? ie(
275
- e,
276
- s[u + 1] == null ? null : s[u + 1].$elm$,
277
- n,
278
- s,
279
- l,
280
- u
281
- ) : l > u && $e(t, a, $);
282
- }, P = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, n = !1) => {
283
- const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, l = t.$text$;
284
- l === null ? (ae(e, t, oe), r !== null && a !== null ? We(s, r, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ie(s, null, t, a, 0, a.length - 1)) : r !== null && $e(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
285
- }, ce = (e) => {
286
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ce);
287
- }, A = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), Fe = (e, t, n = !1) => {
288
- const s = e.$hostElement$, r = e.$cmpMeta$, a = e.$vnode$ || B(null, null), l = ze(t) ? t : Oe(null, null, t);
289
- if (W = s.tagName, r.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, r.$attrsToReflect$.map(
290
- ([i, o]) => l.$attrs$[o] = s[i]
291
- )), n && 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, _ = s["s-sc"], r.$flags$ & 1, w(a, l, n);
295
- }, fe = (e, t) => {
296
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
297
- }, F = (e, t) => {
298
- if (e.$flags$ |= 16, e.$flags$ & 4) {
299
- e.$flags$ |= 512;
300
- return;
301
- }
302
- return fe(e, e.$ancestorComponent$), Te(() => Ge(e, t));
303
- }, Ge = (e, t) => {
304
- const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
305
- if (!r)
306
- throw new Error(
307
- `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`
308
- );
309
- let a;
310
- return t && (a = O(r, "componentWillLoad")), s(), Xe(a, () => Je(e, r, t));
311
- }, Xe = (e, t) => Ye(e) ? e.then(t).catch((n) => {
312
- console.error(n), t();
313
- }) : t(), Ye = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Je = (e, t, n) => T(void 0, null, function* () {
314
- var s;
315
- const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
316
- n && Re(e);
317
- const i = S("render", e.$cmpMeta$.$tagName$);
318
- Ke(e, t, r, n), l && (l.map((o) => o()), r["s-rc"] = void 0), i(), a();
319
- {
320
- const o = (s = r["s-p"]) != null ? s : [], $ = () => Qe(e);
321
- o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
322
- }
323
- }), Ke = (e, t, n, s) => {
324
- try {
325
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Fe(e, t, s);
326
- } catch (r) {
327
- b(r, e.$hostElement$);
328
- }
329
- return null;
330
- }, Qe = (e) => {
331
- const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
332
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, de(n), O(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), a || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && D(() => F(e, !1)), e.$flags$ &= -517;
333
- }, ue = (e) => {
334
- de(m.documentElement), D(() => He(j, "appload", { detail: { namespace: he } }));
335
- }, O = (e, t, n) => {
336
- if (e && e[t])
337
- try {
338
- return e[t](n);
339
- } catch (s) {
340
- b(s);
341
- }
342
- }, de = (e) => {
343
- var t;
344
- return e.classList.add((t = ge.hydratedSelectorName) != null ? t : "hydrated");
345
- }, Ze = (e, t) => E(e).$instanceValues$.get(t), Ne = (e, t, n, s) => {
346
- const r = E(e);
347
- if (!r)
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 = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, o = r.$lazyInstance$;
352
- n = Ce(n, s.$members$[t][0]);
353
- const $ = Number.isNaN(l) && Number.isNaN(n), c = n !== l && !$;
354
- if ((!(i & 8) || l === void 0) && c && (r.$instanceValues$.set(t, n), o)) {
355
- if (s.$watchers$ && i & 128) {
356
- const f = s.$watchers$[t];
357
- f && f.map((u) => {
358
- try {
359
- o[u](n, l, t);
360
- } catch (d) {
361
- b(d, a);
362
- }
363
- });
364
- }
365
- (i & 18) === 2 && F(r, !1);
366
- }
367
- }, pe = (e, t, n) => {
368
- var s, r;
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 || n & 2 && o & 32) && Object.defineProperty(a, i, {
375
- get() {
376
- return Ze(this, i);
377
- },
378
- set($) {
379
- Ne(this, i, $, t);
380
- },
381
- configurable: !0,
382
- enumerable: !0
383
- });
384
- }), n & 1) {
385
- const i = /* @__PURE__ */ new Map();
386
- a.attributeChangedCallback = function(o, $, c) {
387
- h.jmp(() => {
388
- var f;
389
- const u = i.get(o);
390
- if (this.hasOwnProperty(u))
391
- c = this[u], delete this[u];
392
- else {
393
- if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
394
- return;
395
- if (u == null) {
396
- const d = E(this), p = d == null ? void 0 : d.$flags$;
397
- if (p && !(p & 8) && p & 128 && c !== $) {
398
- const v = d.$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[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
407
- });
408
- }, e.observedAttributes = Array.from(
409
- /* @__PURE__ */ new Set([
410
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
411
- ...l.filter(
412
- ([o, $]) => $[0] & 15
413
- /* HasAttribute */
414
- ).map(([o, $]) => {
415
- var c;
416
- const f = $[1] || o;
417
- return i.set(f, o), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([o, f])), f;
418
- })
419
- ])
420
- );
421
- }
422
- }
423
- return e;
424
- }, Ve = (e, t, n, s) => T(void 0, null, function* () {
425
- let r;
426
- if (!(t.$flags$ & 32)) {
427
- if (t.$flags$ |= 32, n.$lazyBundleId$) {
428
- const o = Ee(n);
429
- if (o && "then" in o) {
430
- const c = je();
431
- r = yield o, c();
432
- } else
433
- r = o;
434
- if (!r)
435
- throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
436
- r.isProxied || (n.$watchers$ = r.watchers, pe(
437
- r,
438
- n,
439
- 2
440
- /* proxyState */
441
- ), r.isProxied = !0);
442
- const $ = S("createInstance", n.$tagName$);
443
- t.$flags$ |= 8;
444
- try {
445
- new r(t);
446
- } catch (c) {
447
- b(c);
448
- }
449
- t.$flags$ &= -9, t.$flags$ |= 128, $(), q(t.$lazyInstance$);
450
- } else {
451
- r = e.constructor;
452
- const o = e.localName;
453
- customElements.whenDefined(o).then(
454
- () => t.$flags$ |= 128
455
- /* isWatchReady */
456
- );
457
- }
458
- if (r && r.style) {
459
- let o;
460
- typeof r.style == "string" && (o = r.style);
461
- const $ = re(n);
462
- if (!L.has($)) {
463
- const c = S("registerStyles", n.$tagName$);
464
- Be($, o, !!(n.$flags$ & 1)), c();
465
- }
466
- }
467
- }
468
- const a = t.$ancestorComponent$, l = () => F(t, !0);
469
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
470
- }), q = (e) => {
471
- O(e, "connectedCallback");
472
- }, et = (e) => {
473
- if (!(h.$flags$ & 1)) {
474
- const t = E(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
475
- if (t.$flags$ & 1)
476
- t != null && t.$lazyInstance$ ? q(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => q(t.$lazyInstance$));
477
- else {
478
- t.$flags$ |= 1;
479
- {
480
- let r = e;
481
- for (; r = r.parentNode || r.host; )
482
- if (r["s-p"]) {
483
- fe(t, t.$ancestorComponent$ = r);
484
- break;
485
- }
486
- }
487
- n.$members$ && Object.entries(n.$members$).map(([r, [a]]) => {
488
- if (a & 31 && e.hasOwnProperty(r)) {
489
- const l = e[r];
490
- delete e[r], e[r] = l;
491
- }
492
- }), Ve(e, t, n);
493
- }
494
- s();
495
- }
496
- }, V = (e) => {
497
- O(e, "disconnectedCallback");
498
- }, tt = (e) => T(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
- }), lt = (e, t = {}) => {
504
- var n;
505
- const s = S(), r = [], a = t.exclude || [], l = j.customElements, i = m.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ m.createElement("style"), c = [];
506
- let f, u = !0;
507
- Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
508
- let d = !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 && (d = !0), g.$members$ = v[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = v[4]) != null ? y : {};
519
- const x = g.$tagName$, ve = class extends HTMLElement {
520
- // StencilLazyHost
521
- constructor(k) {
522
- if (super(k), this.hasRegisteredEventListeners = !1, k = this, Se(k, g), g.$flags$ & 1) {
523
- if (!k.shadowRoot)
524
- k.attachShadow({ mode: "open" });
525
- else if (k.shadowRoot.mode !== "open")
526
- throw new Error(
527
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${k.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), u ? c.push(this) : h.jmp(() => et(this));
533
- }
534
- disconnectedCallback() {
535
- h.jmp(() => tt(this));
536
- }
537
- componentOnReady() {
538
- return E(this).$onReadyPromise$;
539
- }
540
- };
541
- g.$lazyBundleId$ = p[0], !a.includes(x) && !l.get(x) && (r.push(x), l.define(
542
- x,
543
- pe(
544
- ve,
545
- g,
546
- 1
547
- /* isElementConstructor */
548
- )
549
- ));
550
- });
551
- }), r.length > 0 && (d && ($.textContent += ee), $.textContent += r.sort() + ke, $.innerHTML.length)) {
552
- $.setAttribute("data-styles", "");
553
- const p = (n = h.$nonce$) != null ? n : se(m);
554
- p != null && $.setAttribute("nonce", p), i.insertBefore($, o ? o.nextSibling : i.firstChild);
555
- }
556
- u = !1, c.length ? c.map((p) => p.connectedCallback()) : h.jmp(() => f = setTimeout(ue, 30)), s();
557
- };
558
- export {
559
- lt as b,
560
- rt as g,
561
- Oe as h,
562
- be as p,
563
- nt as r
564
- };