@everymatrix/casino-lobby 1.57.0 → 1.59.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-DkMuV4ev.js → CasinoFavoritesSection-B9pa_5wC.js} +26 -26
  17. package/components/{CasinoFavoritesSection-BpiA2iBc.js → CasinoFavoritesSection-Dm0Ylorq.js} +26 -26
  18. package/components/{CasinoFavoritesSection-21RKmDna.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-D6WlJtbq.cjs → CasinoGamePage-CIvFWln2.cjs} +6 -6
  23. package/components/{CasinoGamePage-CAR8Lbbu.js → CasinoGamePage-DSk7OmI2.js} +1271 -1282
  24. package/components/{CasinoGamePage-SkHZ0J32.js → CasinoGamePage-jh3dkrf4.js} +914 -925
  25. package/components/{CasinoGameThumbnail-C5zpCoxS.js → CasinoGameThumbnail-BXCu7VY7.js} +353 -369
  26. package/components/{CasinoGameThumbnail-C8-30qgE.js → CasinoGameThumbnail-Mnpd_s_M.js} +281 -265
  27. package/components/{CasinoGameThumbnail-CX3_s0pB.cjs → CasinoGameThumbnail-uCJn0tBq.cjs} +7 -7
  28. package/components/{CasinoGamesCategorySection-CXHto_G8.cjs → CasinoGamesCategorySection-BBfNK7Mo.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-tBfZtEqo.js → CasinoGamesCategorySection-BU3JMFcx.js} +245 -245
  30. package/components/{CasinoGamesCategorySection-DGep1gpT.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-w-DOhWFY.js → CasinoLastPlayedSection--cJ8dS0F.js} +43 -43
  35. package/components/{CasinoLastPlayedSection-grLc4PdV.js → CasinoLastPlayedSection-BtSsd68j.js} +43 -43
  36. package/components/{CasinoLastPlayedSection-DuDTrTEV.cjs → CasinoLastPlayedSection-YmqYIIYS.cjs} +1 -1
  37. package/components/{CasinoLobby-C_dHD756.js → CasinoLobby--nSc5THC.js} +45 -45
  38. package/components/{CasinoLobby-7M5tWyyJ.cjs → CasinoLobby-BUcjKu4u.cjs} +1 -1
  39. package/components/{CasinoLobby-CJaplwul.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-CSKQtJpR.js → CasinoMostPlayedSection-BldCqqK1.js} +50 -50
  44. package/components/{CasinoMostPlayedSection-CXjNel4O.js → CasinoMostPlayedSection-CvX-e31F.js} +50 -50
  45. package/components/{CasinoMostPlayedSection-BlcQlzEc.cjs → CasinoMostPlayedSection-DI5TANog.cjs} +1 -1
  46. package/components/{CasinoMyGames-5jrRlRZ3.js → CasinoMyGames-CJm9ApZ8.js} +50 -50
  47. package/components/{CasinoMyGames-28VFQfos.js → CasinoMyGames-CNSxKFTG.js} +53 -53
  48. package/components/{CasinoMyGames-CPwnBj_e.cjs → CasinoMyGames-DQEE59aC.cjs} +1 -1
  49. package/components/{CasinoPage-BelcpcFg.js → CasinoPage-DeZ_xrWS.js} +91 -91
  50. package/components/{CasinoPage-Dx4ipUxr.js → CasinoPage-Renb8OYu.js} +91 -91
  51. package/components/{CasinoPage-CpV6CfKv.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-Cv1lRhic.cjs → CasinoSearch-Cf4ivtxM.cjs} +1 -1
  56. package/components/{CasinoSearch-Biq528Xd.js → CasinoSearch-ISBqoS_l.js} +72 -72
  57. package/components/{CasinoSearch-BbORpTNK.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,548 +0,0 @@
1
- const ge = "casino-play-random-game", V = (
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: !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 }
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
- }, M = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), I = /* @__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 = I.get(n);
21
- if (a)
22
- return a[s];
23
- {
24
- const l = (o) => (I.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-BTXyM5es.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) => (I.set(n, l), l[s]), k);
40
- }, A = /* @__PURE__ */ new Map(), be = "{visibility:hidden}.hydrated{visibility:inherit}", ee = "slot-fb{display:contents}slot-fb[hidden]{display:none}", C = typeof window < "u" ? window : {}, m = C.document || { head: {} }, h = {
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), we = /* @__PURE__ */ (() => {
49
- try {
50
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
- } catch {
52
- }
53
- return !1;
54
- })(), j = !1, X = [], te = [], Te = (e, t) => (r) => {
55
- e.push(r), j || (j = !0, h.$flags$ & 4 ? F(U) : h.raf(U));
56
- }, G = (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
- }, U = () => {
65
- G(X), G(te), (j = X.length > 0) && h.raf(U);
66
- }, F = (e) => ke().then(e), xe = /* @__PURE__ */ Te(te), Q = {}, Le = (e) => e != null, H = (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 Pe = {};
72
- me(Pe, {
73
- err: () => ne,
74
- map: () => Ae,
75
- ok: () => z,
76
- unwrap: () => _e,
77
- unwrapErr: () => Ce
78
- });
79
- var z = (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) => z(s)) : z(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 _e = (e) => {
100
- if (e.isOk)
101
- return e.value;
102
- throw e.value;
103
- }, Ce = (e) => {
104
- if (e.isErr)
105
- return e.value;
106
- throw e.value;
107
- }, S = (e, t = "") => () => {
108
- }, Oe = (e, t) => () => {
109
- }, Ie = (e, t, ...r) => {
110
- let s = null, n = null, a = !1, l = !1;
111
- const o = [], i = ($) => {
112
- for (let f = 0; f < $.length; f++)
113
- s = $[f], Array.isArray(s) ? i(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !H(s)) && (s = String(s)), a && l ? o[o.length - 1].$text$ += s : o.push(a ? D(null, s) : s), l = a);
114
- };
115
- if (i(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 c = D(e, null);
123
- return c.$attrs$ = t, o.length > 0 && (c.$children$ = o), c.$key$ = n, c;
124
- }, D = (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
- }, je = {}, Ue = (e) => e && e.$tag$ === je, ze = (e, t) => e != null && !H(e) && t & 1 ? String(e) : e, nt = (e) => E(e).$hostElement$, De = (e, t, r) => {
134
- const s = h.ce(t, r);
135
- return e.dispatchEvent(s), s;
136
- }, Y = /* @__PURE__ */ new WeakMap(), Re = (e, t, r) => {
137
- let s = A.get(e);
138
- we && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
139
- }, Be = (e, t, r) => {
140
- var s;
141
- const n = re(t), a = 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 = Y.get(e), o;
146
- if (l || Y.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
147
- {
148
- o = m.createElement("style"), o.innerHTML = a;
149
- const i = (s = h.$nonce$) != null ? s : se(m);
150
- i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
151
- }
152
- t.$flags$ & 4 && (o.innerHTML += ee), l && l.add(n);
153
- }
154
- } else
155
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
156
- return n;
157
- }, Fe = (e) => {
158
- const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = S("attachStyles", t.$tagName$), a = Be(
159
- r.shadowRoot ? r.shadowRoot : r.getRootNode(),
160
- t
161
- );
162
- s & 10 && (r["s-sc"] = a, r.classList.add(a + "-h")), n();
163
- }, re = (e, t) => "sc-" + e.$tagName$, J = (e, t, r, s, n, a) => {
164
- if (r !== s) {
165
- let l = M(e, t), o = t.toLowerCase();
166
- if (t === "class") {
167
- const i = e.classList, c = K(r), $ = K(s);
168
- i.remove(...c.filter((f) => f && !$.includes(f))), i.add(...$.filter((f) => f && !c.includes(f)));
169
- } else if (t !== "key")
170
- if (t === "ref")
171
- s && s(e);
172
- else if (!l && t[0] === "o" && t[1] === "n") {
173
- if (t[2] === "-" ? t = t.slice(3) : M(C, o) ? t = o.slice(2) : t = o[2] + t.slice(3), r || s) {
174
- const i = t.endsWith(le);
175
- t = t.replace(qe, ""), r && h.rel(e, t, r, i), s && h.ael(e, t, s, i);
176
- }
177
- } else {
178
- const i = H(s);
179
- if ((l || i && s !== null) && !n)
180
- try {
181
- if (e.tagName.includes("-"))
182
- e[t] = s;
183
- else {
184
- const c = s ?? "";
185
- t === "list" ? l = !1 : (r == null || e[t] != c) && (e[t] = c);
186
- }
187
- } catch {
188
- }
189
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || n) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
190
- }
191
- }
192
- }, He = /\s/, K = (e) => e ? e.split(He) : [], le = "Capture", qe = new RegExp(le + "$"), ae = (e, t, r) => {
193
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || Q, a = t.$attrs$ || Q;
194
- for (const l of Z(Object.keys(n)))
195
- l in a || J(s, l, n[l], void 0, r, t.$flags$);
196
- for (const l of Z(Object.keys(a)))
197
- J(s, l, n[l], a[l], r, t.$flags$);
198
- };
199
- function Z(e) {
200
- return e.includes("ref") ? (
201
- // we need to sort these to ensure that `'ref'` is the last attr
202
- [...e.filter((t) => t !== "ref"), "ref"]
203
- ) : (
204
- // no need to sort, return the original array
205
- e
206
- );
207
- }
208
- var L, q, oe = !1, ie = !1, _ = (e, t, r, s) => {
209
- const n = t.$children$[r];
210
- let a = 0, l, o;
211
- if (n.$text$ !== null)
212
- l = n.$elm$ = m.createTextNode(n.$text$);
213
- else if (l = n.$elm$ = m.createElement(
214
- !oe && V.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
215
- ), ae(null, n, ie), Le(L) && l["s-si"] !== L && l.classList.add(l["s-si"] = L), n.$children$)
216
- for (a = 0; a < n.$children$.length; ++a)
217
- o = _(e, n, a), o && l.appendChild(o);
218
- return l["s-hn"] = q, l;
219
- }, ce = (e, t, r, s, n, a) => {
220
- let l = e, o;
221
- for (l.shadowRoot && l.tagName === q && (l = l.shadowRoot); n <= a; ++n)
222
- s[n] && (o = _(null, r, n), o && (s[n].$elm$ = o, P(l, o, t)));
223
- }, $e = (e, t, r) => {
224
- for (let s = t; s <= r; ++s) {
225
- const n = e[s];
226
- if (n) {
227
- const a = n.$elm$;
228
- fe(n), a && a.remove();
229
- }
230
- }
231
- }, We = (e, t, r, s, n = !1) => {
232
- let a = 0, l = 0, o = 0, i = 0, c = t.length - 1, $ = t[0], f = t[c], d = s.length - 1, u = s[0], p = s[d], v, y;
233
- for (; a <= c && l <= d; )
234
- if ($ == null)
235
- $ = t[++a];
236
- else if (f == null)
237
- f = t[--c];
238
- else if (u == null)
239
- u = s[++l];
240
- else if (p == null)
241
- p = s[--d];
242
- else if (x($, u, n))
243
- w($, u, n), $ = t[++a], u = s[++l];
244
- else if (x(f, p, n))
245
- w(f, p, n), f = t[--c], p = s[--d];
246
- else if (x($, p, n))
247
- w($, p, n), P(e, $.$elm$, f.$elm$.nextSibling), $ = t[++a], p = s[--d];
248
- else if (x(f, u, n))
249
- w(f, u, n), P(e, f.$elm$, $.$elm$), f = t[--c], u = s[++l];
250
- else {
251
- for (o = -1, i = a; i <= c; ++i)
252
- if (t[i] && t[i].$key$ !== null && t[i].$key$ === u.$key$) {
253
- o = i;
254
- break;
255
- }
256
- o >= 0 ? (y = t[o], y.$tag$ !== u.$tag$ ? v = _(t && t[l], r, o) : (w(y, u, n), t[o] = void 0, v = y.$elm$), u = s[++l]) : (v = _(t && t[l], r, l), u = s[++l]), v && P($.$elm$.parentNode, v, $.$elm$);
257
- }
258
- a > c ? ce(
259
- e,
260
- s[d + 1] == null ? null : s[d + 1].$elm$,
261
- r,
262
- s,
263
- l,
264
- d
265
- ) : l > d && $e(t, a, c);
266
- }, x = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, r = !1) => {
267
- const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
268
- l === null ? (ae(e, t, ie), n !== null && a !== null ? We(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ce(s, null, t, a, 0, a.length - 1)) : n !== null && $e(n, 0, n.length - 1)) : e.$text$ !== l && (s.data = l);
269
- }, fe = (e) => {
270
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);
271
- }, P = (e, t, r) => e?.insertBefore(t, r), Me = (e, t, r = !1) => {
272
- const s = e.$hostElement$, n = e.$cmpMeta$, a = e.$vnode$ || D(null, null), l = Ue(t) ? t : Ie(null, null, t);
273
- if (q = s.tagName, n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map(
274
- ([o, i]) => l.$attrs$[i] = s[o]
275
- )), r && l.$attrs$)
276
- for (const o of Object.keys(l.$attrs$))
277
- s.hasAttribute(o) && !["key", "ref", "style", "class"].includes(o) && (l.$attrs$[o] = s[o]);
278
- 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);
279
- }, de = (e, t) => {
280
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
281
- }, W = (e, t) => {
282
- if (e.$flags$ |= 16, e.$flags$ & 4) {
283
- e.$flags$ |= 512;
284
- return;
285
- }
286
- return de(e, e.$ancestorComponent$), xe(() => Xe(e, t));
287
- }, Xe = (e, t) => {
288
- const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
289
- if (!n)
290
- throw new Error(
291
- `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`
292
- );
293
- let a;
294
- return t && (a = O(n, "componentWillLoad")), s(), Ge(a, () => Ye(e, n, t));
295
- }, Ge = (e, t) => Qe(e) ? e.then(t).catch((r) => {
296
- console.error(r), t();
297
- }) : t(), Qe = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ye = async (e, t, r) => {
298
- var s;
299
- const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
300
- r && Fe(e);
301
- const o = S("render", e.$cmpMeta$.$tagName$);
302
- Je(e, t, n, r), l && (l.map((i) => i()), n["s-rc"] = void 0), o(), a();
303
- {
304
- const i = (s = n["s-p"]) != null ? s : [], c = () => Ke(e);
305
- i.length === 0 ? c() : (Promise.all(i).then(c), e.$flags$ |= 4, i.length = 0);
306
- }
307
- }, Je = (e, t, r, s) => {
308
- try {
309
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Me(e, t, s);
310
- } catch (n) {
311
- k(n, e.$hostElement$);
312
- }
313
- return null;
314
- }, Ke = (e) => {
315
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, a = e.$ancestorComponent$;
316
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, pe(r), O(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), a || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && F(() => W(e, !1)), e.$flags$ &= -517;
317
- }, ue = (e) => {
318
- pe(m.documentElement), F(() => De(C, "appload", { detail: { namespace: ge } }));
319
- }, O = (e, t, r) => {
320
- if (e && e[t])
321
- try {
322
- return e[t](r);
323
- } catch (s) {
324
- k(s);
325
- }
326
- }, pe = (e) => {
327
- var t;
328
- return e.classList.add((t = V.hydratedSelectorName) != null ? t : "hydrated");
329
- }, Ze = (e, t) => E(e).$instanceValues$.get(t), Ne = (e, t, r, s) => {
330
- const n = E(e);
331
- if (!n)
332
- throw new Error(
333
- `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).`
334
- );
335
- const a = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, i = n.$lazyInstance$;
336
- r = ze(r, s.$members$[t][0]);
337
- const c = Number.isNaN(l) && Number.isNaN(r), $ = r !== l && !c;
338
- if ((!(o & 8) || l === void 0) && $ && (n.$instanceValues$.set(t, r), i)) {
339
- if (s.$watchers$ && o & 128) {
340
- const f = s.$watchers$[t];
341
- f && f.map((d) => {
342
- try {
343
- i[d](r, l, t);
344
- } catch (u) {
345
- k(u, a);
346
- }
347
- });
348
- }
349
- (o & 18) === 2 && W(n, !1);
350
- }
351
- }, ve = (e, t, r) => {
352
- var s, n;
353
- const a = e.prototype;
354
- if (t.$members$ || t.$watchers$ || e.watchers) {
355
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
356
- const l = Object.entries((s = t.$members$) != null ? s : {});
357
- if (l.map(([o, [i]]) => {
358
- (i & 31 || r & 2 && i & 32) && Object.defineProperty(a, o, {
359
- get() {
360
- return Ze(this, o);
361
- },
362
- set(c) {
363
- Ne(this, o, c, t);
364
- },
365
- configurable: !0,
366
- enumerable: !0
367
- });
368
- }), r & 1) {
369
- const o = /* @__PURE__ */ new Map();
370
- a.attributeChangedCallback = function(i, c, $) {
371
- h.jmp(() => {
372
- var f;
373
- const d = o.get(i);
374
- if (this.hasOwnProperty(d))
375
- $ = this[d], delete this[d];
376
- else {
377
- if (a.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == $)
378
- return;
379
- if (d == null) {
380
- const u = E(this), p = u?.$flags$;
381
- if (p && !(p & 8) && p & 128 && $ !== c) {
382
- const v = u.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[i];
383
- y?.forEach((g) => {
384
- v[g] != null && v[g].call(v, $, c, i);
385
- });
386
- }
387
- return;
388
- }
389
- }
390
- this[d] = $ === null && typeof this[d] == "boolean" ? !1 : $;
391
- });
392
- }, e.observedAttributes = Array.from(
393
- /* @__PURE__ */ new Set([
394
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
395
- ...l.filter(
396
- ([i, c]) => c[0] & 15
397
- /* HasAttribute */
398
- ).map(([i, c]) => {
399
- var $;
400
- const f = c[1] || i;
401
- return o.set(f, i), c[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([i, f])), f;
402
- })
403
- ])
404
- );
405
- }
406
- }
407
- return e;
408
- }, Ve = async (e, t, r, s) => {
409
- let n;
410
- if (!(t.$flags$ & 32)) {
411
- if (t.$flags$ |= 32, r.$lazyBundleId$) {
412
- const i = Ee(r);
413
- if (i && "then" in i) {
414
- const $ = Oe();
415
- n = await i, $();
416
- } else
417
- n = i;
418
- if (!n)
419
- throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
420
- n.isProxied || (r.$watchers$ = n.watchers, ve(
421
- n,
422
- r,
423
- 2
424
- /* proxyState */
425
- ), n.isProxied = !0);
426
- const c = S("createInstance", r.$tagName$);
427
- t.$flags$ |= 8;
428
- try {
429
- new n(t);
430
- } catch ($) {
431
- k($);
432
- }
433
- t.$flags$ &= -9, t.$flags$ |= 128, c(), R(t.$lazyInstance$);
434
- } else {
435
- n = e.constructor;
436
- const i = e.localName;
437
- customElements.whenDefined(i).then(
438
- () => t.$flags$ |= 128
439
- /* isWatchReady */
440
- );
441
- }
442
- if (n && n.style) {
443
- let i;
444
- typeof n.style == "string" && (i = n.style);
445
- const c = re(r);
446
- if (!A.has(c)) {
447
- const $ = S("registerStyles", r.$tagName$);
448
- Re(c, i, !!(r.$flags$ & 1)), $();
449
- }
450
- }
451
- }
452
- const a = t.$ancestorComponent$, l = () => W(t, !0);
453
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
454
- }, R = (e) => {
455
- O(e, "connectedCallback");
456
- }, et = (e) => {
457
- if (!(h.$flags$ & 1)) {
458
- const t = E(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
459
- if (t.$flags$ & 1)
460
- t?.$lazyInstance$ ? R(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => R(t.$lazyInstance$));
461
- else {
462
- t.$flags$ |= 1;
463
- {
464
- let n = e;
465
- for (; n = n.parentNode || n.host; )
466
- if (n["s-p"]) {
467
- de(t, t.$ancestorComponent$ = n);
468
- break;
469
- }
470
- }
471
- r.$members$ && Object.entries(r.$members$).map(([n, [a]]) => {
472
- if (a & 31 && e.hasOwnProperty(n)) {
473
- const l = e[n];
474
- delete e[n], e[n] = l;
475
- }
476
- }), Ve(e, t, r);
477
- }
478
- s();
479
- }
480
- }, N = (e) => {
481
- O(e, "disconnectedCallback");
482
- }, tt = async (e) => {
483
- if (!(h.$flags$ & 1)) {
484
- const t = E(e);
485
- t?.$lazyInstance$ ? N(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => N(t.$lazyInstance$));
486
- }
487
- }, rt = (e, t = {}) => {
488
- var r;
489
- const s = S(), n = [], a = t.exclude || [], l = C.customElements, o = m.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), c = /* @__PURE__ */ m.createElement("style"), $ = [];
490
- let f, d = !0;
491
- Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
492
- let u = !1;
493
- if (e.map((p) => {
494
- p[1].map((v) => {
495
- var y;
496
- const g = {
497
- $flags$: v[0],
498
- $tagName$: v[1],
499
- $members$: v[2],
500
- $listeners$: v[3]
501
- };
502
- g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = v[4]) != null ? y : {};
503
- const T = g.$tagName$, he = class extends HTMLElement {
504
- // StencilLazyHost
505
- constructor(b) {
506
- if (super(b), this.hasRegisteredEventListeners = !1, b = this, Se(b, g), g.$flags$ & 1) {
507
- if (!b.shadowRoot)
508
- b.attachShadow({ mode: "open" });
509
- else if (b.shadowRoot.mode !== "open")
510
- throw new Error(
511
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`
512
- );
513
- }
514
- }
515
- connectedCallback() {
516
- E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? $.push(this) : h.jmp(() => et(this));
517
- }
518
- disconnectedCallback() {
519
- h.jmp(() => tt(this));
520
- }
521
- componentOnReady() {
522
- return E(this).$onReadyPromise$;
523
- }
524
- };
525
- g.$lazyBundleId$ = p[0], !a.includes(T) && !l.get(T) && (n.push(T), l.define(
526
- T,
527
- ve(
528
- he,
529
- g,
530
- 1
531
- /* isElementConstructor */
532
- )
533
- ));
534
- });
535
- }), n.length > 0 && (u && (c.textContent += ee), c.textContent += n.sort() + be, c.innerHTML.length)) {
536
- c.setAttribute("data-styles", "");
537
- const p = (r = h.$nonce$) != null ? r : se(m);
538
- p != null && c.setAttribute("nonce", p), o.insertBefore(c, i ? i.nextSibling : o.firstChild);
539
- }
540
- d = !1, $.length ? $.map((p) => p.connectedCallback()) : h.jmp(() => f = setTimeout(ue, 30)), s();
541
- };
542
- export {
543
- rt as b,
544
- nt as g,
545
- Ie as h,
546
- ke as p,
547
- st as r
548
- };