@everymatrix/casino-lobby 1.76.12 → 1.76.14

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 (114) hide show
  1. package/components/{CasinoCalendar-Dxl0GZ3V.js → CasinoCalendar-BZlbzIin.js} +1014 -1035
  2. package/components/{CasinoCalendar-uF_NF6m7.js → CasinoCalendar-CZ62CEJ3.js} +839 -860
  3. package/components/CasinoCalendar-Ckv0A9rH.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-CkFGHBr1.js → CasinoCalendarDailyDetails-BRGaLc7D.js} +38 -38
  5. package/components/{CasinoCalendarDailyDetails-5fca8ybY.cjs → CasinoCalendarDailyDetails-DJyHVqld.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-D2EcpVsk.js → CasinoCalendarDailyDetails-DOG0EpeI.js} +38 -38
  7. package/components/{CasinoCalendarDailyItem-BjMHq8z0.js → CasinoCalendarDailyItem-BEPClsAB.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem-CtrwuSMm.cjs → CasinoCalendarDailyItem-BMfgPOSR.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-CJ4Y1TDs.js → CasinoCalendarDailyItem-CJYNZGM1.js} +34 -34
  10. package/components/{CasinoCategoriesSlider-D4K2b7AX.js → CasinoCategoriesSlider-Bhi0fD1k.js} +72 -72
  11. package/components/CasinoCategoriesSlider-C96NA08s.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-Dw9WFkz4.js → CasinoCategoriesSlider-DmZ4rtlg.js} +73 -73
  13. package/components/{CasinoCollectionsProviders-DjFfFkmU.js → CasinoCollectionsProviders-CjD1H3N4.js} +77 -77
  14. package/components/{CasinoCollectionsProviders-BN0zNeS7.js → CasinoCollectionsProviders-DV_3RnLx.js} +64 -64
  15. package/components/{CasinoCollectionsProviders-C3QOX3KF.cjs → CasinoCollectionsProviders-GzxnaRrd.cjs} +1 -1
  16. package/components/{CasinoFavoritesSection-DjSYlAHs.js → CasinoFavoritesSection-4mBWb0-n.js} +18 -18
  17. package/components/{CasinoFavoritesSection-C_SVbyBn.cjs → CasinoFavoritesSection-BElzuDwz.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-DFYpAORF.js → CasinoFavoritesSection-DDJYibde.js} +18 -18
  19. package/components/{CasinoFilter-D0wftMel.js → CasinoFilter-C2w5IDsC.js} +224 -225
  20. package/components/{CasinoFilter-Bgc2OX7A.js → CasinoFilter-CQFSugx3.js} +245 -244
  21. package/components/CasinoFilter-Di50Udn3.cjs +1 -0
  22. package/components/{CasinoGameThumbnail-DDj9LrBn.js → CasinoGameThumbnail-BPsK9FK6.js} +762 -778
  23. package/components/{CasinoGameThumbnail-DAeRoqVl.js → CasinoGameThumbnail-BkCWJCGK.js} +1269 -1253
  24. package/components/CasinoGameThumbnail-CjDBp8Vy.cjs +47 -0
  25. package/components/{CasinoGamesCategorySection-CxjrZ9Mg.js → CasinoGamesCategorySection-COgOuQ6S.js} +300 -300
  26. package/components/{CasinoGamesCategorySection-BZ4VTmC0.js → CasinoGamesCategorySection-D7gSnBvl.js} +301 -301
  27. package/components/{CasinoGamesCategorySection-D9w4jWch.cjs → CasinoGamesCategorySection-uIPANdh1.cjs} +1 -1
  28. package/components/{CasinoJackpotBanner-yvjEOEuA.cjs → CasinoJackpotBanner-BaH4sE4J.cjs} +1 -1
  29. package/components/{CasinoJackpotBanner-VCXNOk6T.js → CasinoJackpotBanner-C7zgGg5_.js} +88 -88
  30. package/components/{CasinoJackpotBanner-TsNpk7MF.js → CasinoJackpotBanner-Cge3PP3w.js} +83 -83
  31. package/components/{CasinoLastPlayedSection-BlnAstfd.js → CasinoLastPlayedSection--ZH8kFO7.js} +33 -33
  32. package/components/{CasinoLastPlayedSection-CqanYCAJ.cjs → CasinoLastPlayedSection-D1i9Uh1L.cjs} +1 -1
  33. package/components/{CasinoLastPlayedSection-CReBS3dw.js → CasinoLastPlayedSection-DPZgK1Rw.js} +33 -33
  34. package/components/{CasinoLobby-BszY9gce.cjs → CasinoLobby-Cld3efkW.cjs} +1 -1
  35. package/components/{CasinoLobby-BdqnR3Yy.js → CasinoLobby-DAIJPyhU.js} +59 -59
  36. package/components/{CasinoLobby-BqU0yhJX.js → CasinoLobby-FylWUKW8.js} +59 -59
  37. package/components/{CasinoMostPlayedSection-gUjt91qe.cjs → CasinoMostPlayedSection-BlFmw7ae.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSection-B07bcZSb.js → CasinoMostPlayedSection-D3gP_VmS.js} +46 -46
  39. package/components/{CasinoMostPlayedSection-C__zgZB_.js → CasinoMostPlayedSection-DwsGi9fQ.js} +46 -46
  40. package/components/{CasinoMyGames-jJWJoluY.js → CasinoMyGames--eHlRDLw.js} +28 -28
  41. package/components/{CasinoMyGames-BjpVKSGM.js → CasinoMyGames-BQRS1iPf.js} +28 -28
  42. package/components/{CasinoMyGames-BrR9nn1l.cjs → CasinoMyGames-Ct_tK7Dl.cjs} +1 -1
  43. package/components/{CasinoPage-C_zD5R2t.js → CasinoPage-Cimk4LJj.js} +124 -124
  44. package/components/{CasinoPage-CXwLK2oL.js → CasinoPage-DzY_luPG.js} +110 -110
  45. package/components/{CasinoPage-Bda9NKde.cjs → CasinoPage-y4mwVBLI.cjs} +1 -1
  46. package/components/{CasinoRandomGame-DJnB5Fhm.cjs → CasinoRandomGame-48hm2zQ7.cjs} +1 -1
  47. package/components/{CasinoRandomGame-CSrB_Zq2.js → CasinoRandomGame-BqJ8e7yR.js} +57 -57
  48. package/components/{CasinoRandomGame-BWebIH8V.js → CasinoRandomGame-DGh3E5ZN.js} +56 -56
  49. package/components/{CasinoSearch-CcHIKzRN.js → CasinoSearch-Bjt2LYdz.js} +98 -98
  50. package/components/{CasinoSearch-CwADZYFB.js → CasinoSearch-CyA3ODoz.js} +95 -95
  51. package/components/{CasinoSearch-DcUqk5L0.cjs → CasinoSearch-Dztg2BnM.cjs} +1 -1
  52. package/components/{CasinoSlider-Ctpht2Hg.cjs → CasinoSlider-BlA6YGt9.cjs} +1 -1
  53. package/components/{CasinoSlider-D40zgViI.js → CasinoSlider-DVgo3Nc7.js} +86 -86
  54. package/components/{CasinoSlider-CJpeC5z_.js → CasinoSlider-DwtTNiYj.js} +87 -87
  55. package/components/{CasinoSort-CydlqJP8.js → CasinoSort-8a3TBNjG.js} +112 -111
  56. package/components/{CasinoSort-CMZayycI.js → CasinoSort-BR8fSbAb.js} +102 -103
  57. package/components/{CasinoSort-DjCxKlZJ.cjs → CasinoSort-BctECC7t.cjs} +1 -1
  58. package/components/{CasinoWinners-Cqmnci0O.cjs → CasinoWinners-B7DAQBQw.cjs} +1 -1
  59. package/components/{CasinoWinners-B-qcd_Bf.js → CasinoWinners-CGG37Toh.js} +152 -152
  60. package/components/{CasinoWinners-DcqEgS6B.js → CasinoWinners-Z2hNzLpn.js} +145 -145
  61. package/components/{GeneralAnimationLoading-C8aWcUd_.js → GeneralAnimationLoading-C96Qoq2Z.js} +16 -16
  62. package/components/{GeneralAnimationLoading-Cjhmg9V_.cjs → GeneralAnimationLoading-C_p3gPuh.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-Oqx65Onk.js → GeneralAnimationLoading-DKWROEgu.js} +16 -16
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/casino-play-random-game-BBAN6qZv.cjs +1 -0
  69. package/stencil/casino-play-random-game-CYUXdZj7.js +25 -0
  70. package/stencil/casino-play-random-game-ywb1c71b.js +7 -0
  71. package/stencil/casino-play-random-game_3-BAcddQtP.cjs +432 -0
  72. package/stencil/{casino-play-random-game_2-EAIMj5kG.js → casino-play-random-game_3-DPJnqamY.js} +155 -66
  73. package/stencil/{casino-play-random-game_2-BGE-oMV1.js → casino-play-random-game_3-wK2KnqF2.js} +155 -66
  74. package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
  75. package/stencil/index-242ac81a-Czg480dJ.js +554 -0
  76. package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
  77. package/stencil/index-27b314b8-B9Z1iOB7.cjs +1 -0
  78. package/stencil/index-27b314b8-CXVYGv5J.js +581 -0
  79. package/stencil/index-27b314b8-VBAz23AH.js +565 -0
  80. package/stencil/index-b2193545-3zPNeE9v.cjs +1 -0
  81. package/stencil/index-b2193545-D_cUvAA-.js +519 -0
  82. package/stencil/index-b2193545-kN0z2MLt.js +503 -0
  83. package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
  84. package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
  85. package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
  86. package/stencil/{ui-image-Cd2KxMB7.cjs → ui-image-BW6fTlRA.cjs} +1 -1
  87. package/stencil/{ui-image-adPxpjgH.js → ui-image-CkpZfL9y.js} +1 -1
  88. package/stencil/{ui-image-CVrTqLhl.js → ui-image-f_pO_wKA.js} +1 -1
  89. package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
  90. package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
  91. package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
  92. package/stencil/{ui-skeleton-DcmFcn7k.cjs → ui-skeleton-5mt1L8pA.cjs} +1 -1
  93. package/stencil/{ui-skeleton-CSMUbPcJ.js → ui-skeleton-C0GZ2ncD.js} +2 -2
  94. package/stencil/{ui-skeleton-CiszU04_.js → ui-skeleton-CYeeBz0Q.js} +2 -2
  95. package/stencil/{ui-skeleton-ae35c6f2-DDHvWmVB.js → ui-skeleton-ae35c6f2-BSwiS43c.js} +1 -1
  96. package/stencil/{ui-skeleton-ae35c6f2-9hZ7WFQc.js → ui-skeleton-ae35c6f2-BmKf7IvD.js} +1 -1
  97. package/stencil/{ui-skeleton-ae35c6f2-D1Tb0H8D.cjs → ui-skeleton-ae35c6f2-CQ3pH6qH.cjs} +1 -1
  98. package/components/CasinoCalendar-l9GnvvJt.cjs +0 -19
  99. package/components/CasinoCategoriesSlider-CsJ_SF6Z.cjs +0 -1
  100. package/components/CasinoFilter-B7H2bJ-G.cjs +0 -1
  101. package/components/CasinoGameThumbnail-BCV2_lP-.cjs +0 -47
  102. package/stencil/casino-play-random-game-Bcp8xLrL.js +0 -7
  103. package/stencil/casino-play-random-game-Cbqs6gZA.cjs +0 -1
  104. package/stencil/casino-play-random-game-W_JDRP5P.js +0 -25
  105. package/stencil/casino-play-random-game_2-CsaKuS_m.cjs +0 -432
  106. package/stencil/index-242ac81a-BqeIndhr.js +0 -554
  107. package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
  108. package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
  109. package/stencil/index-328e660d-CV2Ft9VG.js +0 -560
  110. package/stencil/index-328e660d-CX4nYxdf.js +0 -576
  111. package/stencil/index-328e660d-rQhlf25X.cjs +0 -1
  112. package/stencil/index-b2193545-DVT8jgVo.cjs +0 -1
  113. package/stencil/index-b2193545-Dxw-xjac.js +0 -503
  114. package/stencil/index-b2193545-TbRClz6K.js +0 -519
@@ -1,560 +0,0 @@
1
- const ge = "casino-play-random-game", pe = (
2
- /* casino-play-random-game */
3
- { hydratedSelectorName: "hydrated" }
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
- }, q = /* @__PURE__ */ new WeakMap(), E = (e) => q.get(e), st = (e, t) => q.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"] = [], q.set(e, r);
16
- }, W = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), O = /* @__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 = O.get(n);
21
- if (a)
22
- return a[s];
23
- {
24
- const l = (i) => (O.set(n, i), i[s]);
25
- switch (n) {
26
- case "casino-play-random-game_2":
27
- return import(
28
- /* webpackMode: "lazy" */
29
- "./casino-play-random-game_2-BGE-oMV1.js"
30
- ).then(l, b);
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) => (O.set(n, l), l[s]), b);
40
- }, A = /* @__PURE__ */ new Map(), ke = "{visibility:hidden}.hydrated{visibility:inherit}", V = "slot-fb{display:contents}slot-fb[hidden]{display:none}", I = typeof window < "u" ? window : {}, m = I.document || { head: {} }, g = {
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
- }, be = (e) => Promise.resolve(e), we = /* @__PURE__ */ (() => {
49
- try {
50
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
51
- } catch {
52
- }
53
- return !1;
54
- })(), U = !1, G = [], ee = [], xe = (e, t) => (r) => {
55
- e.push(r), U || (U = !0, g.$flags$ & 4 ? R(z) : g.raf(z));
56
- }, X = (e) => {
57
- for (let t = 0; t < e.length; t++)
58
- try {
59
- e[t](performance.now());
60
- } catch (r) {
61
- b(r);
62
- }
63
- e.length = 0;
64
- }, z = () => {
65
- X(G), X(ee), (U = G.length > 0) && g.raf(z);
66
- }, R = (e) => be().then(e), Te = /* @__PURE__ */ xe(ee), Y = {}, Pe = (e) => e != null, D = (e) => (e = typeof e, e === "object" || e === "function");
67
- function te(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 _e = {};
72
- me(_e, {
73
- err: () => se,
74
- map: () => Ae,
75
- ok: () => H,
76
- unwrap: () => Le,
77
- unwrapErr: () => Ie
78
- });
79
- var H = (e) => ({
80
- isOk: !0,
81
- isErr: !1,
82
- value: e
83
- }), se = (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 se(r);
96
- }
97
- throw "should never get here";
98
- }
99
- var Le = (e) => {
100
- if (e.isOk)
101
- return e.value;
102
- throw e.value;
103
- }, Ie = (e) => {
104
- if (e.isErr)
105
- return e.value;
106
- throw e.value;
107
- }, S = (e, t = "") => () => {
108
- }, je = (e, t) => () => {
109
- }, Oe = (e, t, ...r) => {
110
- let s = null, n = null, a = !1, l = !1;
111
- const i = [], o = (c) => {
112
- for (let f = 0; f < c.length; f++)
113
- s = c[f], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !D(s)) && (s = String(s)), a && l ? i[i.length - 1].$text$ += s : i.push(a ? C(null, s) : s), l = a);
114
- };
115
- if (o(r), t) {
116
- t.key && (n = t.key);
117
- {
118
- const c = t.className || t.class;
119
- c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
120
- }
121
- }
122
- const $ = C(e, null);
123
- return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = n, $;
124
- }, C = (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 = {}, ze = (e) => e && e.$tag$ === Ue, He = (e, t) => e != null && !D(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Ce = (e) => E(e).$hostElement$, nt = (e, t, r) => {
134
- const s = Ce(e);
135
- return {
136
- emit: (n) => ne(s, t, {
137
- bubbles: !0,
138
- composed: !0,
139
- cancelable: !0,
140
- detail: n
141
- })
142
- };
143
- }, ne = (e, t, r) => {
144
- const s = g.ce(t, r);
145
- return e.dispatchEvent(s), s;
146
- }, J = /* @__PURE__ */ new WeakMap(), Be = (e, t, r) => {
147
- let s = A.get(e);
148
- we && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, A.set(e, s);
149
- }, qe = (e, t, r) => {
150
- var s;
151
- const n = re(t), a = A.get(n);
152
- if (e = e.nodeType === 11 ? e : m, a)
153
- if (typeof a == "string") {
154
- e = e.head || e;
155
- let l = J.get(e), i;
156
- if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
157
- {
158
- i = m.createElement("style"), i.innerHTML = a;
159
- const o = (s = g.$nonce$) != null ? s : te(m);
160
- o != null && i.setAttribute("nonce", o), e.insertBefore(i, e.querySelector("link"));
161
- }
162
- t.$flags$ & 4 && (i.innerHTML += V), l && l.add(n);
163
- }
164
- } else
165
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
166
- return n;
167
- }, Re = (e) => {
168
- const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = S("attachStyles", t.$tagName$), a = qe(
169
- r.shadowRoot ? r.shadowRoot : r.getRootNode(),
170
- t
171
- );
172
- s & 10 && (r["s-sc"] = a, r.classList.add(a + "-h")), n();
173
- }, re = (e, t) => "sc-" + e.$tagName$, K = (e, t, r, s, n, a) => {
174
- if (r !== s) {
175
- let l = W(e, t), i = t.toLowerCase();
176
- if (t === "class") {
177
- const o = e.classList, $ = Q(r), c = Q(s);
178
- o.remove(...$.filter((f) => f && !c.includes(f))), o.add(...c.filter((f) => f && !$.includes(f)));
179
- } else if (t !== "key")
180
- if (t === "ref")
181
- s && s(e);
182
- else if (!l && t[0] === "o" && t[1] === "n") {
183
- if (t[2] === "-" ? t = t.slice(3) : W(I, i) ? t = i.slice(2) : t = i[2] + t.slice(3), r || s) {
184
- const o = t.endsWith(le);
185
- t = t.replace(Fe, ""), r && g.rel(e, t, r, o), s && g.ael(e, t, s, o);
186
- }
187
- } else {
188
- const o = D(s);
189
- if ((l || o && s !== null) && !n)
190
- try {
191
- if (e.tagName.includes("-"))
192
- e[t] = s;
193
- else {
194
- const $ = s ?? "";
195
- t === "list" ? l = !1 : (r == null || e[t] != $) && (e[t] = $);
196
- }
197
- } catch {
198
- }
199
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || n) && !o && (s = s === !0 ? "" : s, e.setAttribute(t, s));
200
- }
201
- }
202
- }, De = /\s/, Q = (e) => e ? e.split(De) : [], le = "Capture", Fe = new RegExp(le + "$"), ae = (e, t, r) => {
203
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || Y, a = t.$attrs$ || Y;
204
- for (const l of Z(Object.keys(n)))
205
- l in a || K(s, l, n[l], void 0, r, t.$flags$);
206
- for (const l of Z(Object.keys(a)))
207
- K(s, l, n[l], a[l], r, t.$flags$);
208
- };
209
- function Z(e) {
210
- return e.includes("ref") ? (
211
- // we need to sort these to ensure that `'ref'` is the last attr
212
- [...e.filter((t) => t !== "ref"), "ref"]
213
- ) : (
214
- // no need to sort, return the original array
215
- e
216
- );
217
- }
218
- var P, F, ie = !1, L = (e, t, r, s) => {
219
- const n = t.$children$[r];
220
- let a = 0, l, i;
221
- if (n.$text$ !== null)
222
- l = n.$elm$ = m.createTextNode(n.$text$);
223
- else if (l = n.$elm$ = m.createElement(
224
- n.$tag$
225
- ), ae(null, n, ie), Pe(P) && l["s-si"] !== P && l.classList.add(l["s-si"] = P), n.$children$)
226
- for (a = 0; a < n.$children$.length; ++a)
227
- i = L(e, n, a), i && l.appendChild(i);
228
- return l["s-hn"] = F, l;
229
- }, oe = (e, t, r, s, n, a) => {
230
- let l = e, i;
231
- for (l.shadowRoot && l.tagName === F && (l = l.shadowRoot); n <= a; ++n)
232
- s[n] && (i = L(null, r, n), i && (s[n].$elm$ = i, _(l, i, t)));
233
- }, $e = (e, t, r) => {
234
- for (let s = t; s <= r; ++s) {
235
- const n = e[s];
236
- if (n) {
237
- const a = n.$elm$;
238
- ce(n), a && a.remove();
239
- }
240
- }
241
- }, Me = (e, t, r, s, n = !1) => {
242
- let a = 0, l = 0, i = 0, o = 0, $ = t.length - 1, c = t[0], f = t[$], u = s.length - 1, d = s[0], v = s[u], h, y;
243
- for (; a <= $ && l <= u; )
244
- if (c == null)
245
- c = t[++a];
246
- else if (f == null)
247
- f = t[--$];
248
- else if (d == null)
249
- d = s[++l];
250
- else if (v == null)
251
- v = s[--u];
252
- else if (T(c, d, n))
253
- w(c, d, n), c = t[++a], d = s[++l];
254
- else if (T(f, v, n))
255
- w(f, v, n), f = t[--$], v = s[--u];
256
- else if (T(c, v, n))
257
- w(c, v, n), _(e, c.$elm$, f.$elm$.nextSibling), c = t[++a], v = s[--u];
258
- else if (T(f, d, n))
259
- w(f, d, n), _(e, f.$elm$, c.$elm$), f = t[--$], d = s[++l];
260
- else {
261
- for (i = -1, o = a; o <= $; ++o)
262
- if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
263
- i = o;
264
- break;
265
- }
266
- i >= 0 ? (y = t[i], y.$tag$ !== d.$tag$ ? h = L(t && t[l], r, i) : (w(y, d, n), t[i] = void 0, h = y.$elm$), d = s[++l]) : (h = L(t && t[l], r, l), d = s[++l]), h && _(c.$elm$.parentNode, h, c.$elm$);
267
- }
268
- a > $ ? oe(
269
- e,
270
- s[u + 1] == null ? null : s[u + 1].$elm$,
271
- r,
272
- s,
273
- l,
274
- u
275
- ) : l > u && $e(t, a, $);
276
- }, T = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, r = !1) => {
277
- const s = t.$elm$ = e.$elm$, n = e.$children$, a = t.$children$, l = t.$text$;
278
- l === null ? (ae(e, t, ie), n !== null && a !== null ? Me(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), oe(s, null, t, a, 0, a.length - 1)) : n !== null && $e(n, 0, n.length - 1)) : e.$text$ !== l && (s.data = l);
279
- }, ce = (e) => {
280
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(ce);
281
- }, _ = (e, t, r) => e?.insertBefore(t, r), We = (e, t, r = !1) => {
282
- const s = e.$hostElement$, n = e.$cmpMeta$, a = e.$vnode$ || C(null, null), l = ze(t) ? t : Oe(null, null, t);
283
- if (F = s.tagName, n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map(
284
- ([i, o]) => l.$attrs$[o] = s[i]
285
- )), r && l.$attrs$)
286
- for (const i of Object.keys(l.$attrs$))
287
- s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
288
- l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = a.$elm$ = s.shadowRoot || s, P = s["s-sc"], n.$flags$ & 1, w(a, l, r);
289
- }, fe = (e, t) => {
290
- t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
291
- }, M = (e, t) => {
292
- if (e.$flags$ |= 16, e.$flags$ & 4) {
293
- e.$flags$ |= 512;
294
- return;
295
- }
296
- return fe(e, e.$ancestorComponent$), Te(() => Ge(e, t));
297
- }, Ge = (e, t) => {
298
- const r = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
299
- if (!n)
300
- throw new Error(
301
- `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`
302
- );
303
- let a;
304
- return t && (a = j(n, "componentWillLoad")), s(), Xe(a, () => Je(e, n, t));
305
- }, Xe = (e, t) => Ye(e) ? e.then(t).catch((r) => {
306
- console.error(r), t();
307
- }) : t(), Ye = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Je = async (e, t, r) => {
308
- var s;
309
- const n = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
310
- r && Re(e);
311
- const i = S("render", e.$cmpMeta$.$tagName$);
312
- Ke(e, t, n, r), l && (l.map((o) => o()), n["s-rc"] = void 0), i(), a();
313
- {
314
- const o = (s = n["s-p"]) != null ? s : [], $ = () => Qe(e);
315
- o.length === 0 ? $() : (Promise.all(o).then($), e.$flags$ |= 4, o.length = 0);
316
- }
317
- }, Ke = (e, t, r, s) => {
318
- try {
319
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, We(e, t, s);
320
- } catch (n) {
321
- b(n, e.$hostElement$);
322
- }
323
- return null;
324
- }, Qe = (e) => {
325
- const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = S("postUpdate", t), n = e.$lazyInstance$, a = e.$ancestorComponent$;
326
- e.$flags$ & 64 ? s() : (e.$flags$ |= 64, de(r), j(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), a || ue()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && R(() => M(e, !1)), e.$flags$ &= -517;
327
- }, ue = (e) => {
328
- de(m.documentElement), R(() => ne(I, "appload", { detail: { namespace: ge } }));
329
- }, j = (e, t, r) => {
330
- if (e && e[t])
331
- try {
332
- return e[t](r);
333
- } catch (s) {
334
- b(s);
335
- }
336
- }, de = (e) => {
337
- var t;
338
- return e.classList.add((t = pe.hydratedSelectorName) != null ? t : "hydrated");
339
- }, Ze = (e, t) => E(e).$instanceValues$.get(t), Ne = (e, t, r, s) => {
340
- const n = E(e);
341
- if (!n)
342
- throw new Error(
343
- `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).`
344
- );
345
- const a = n.$hostElement$, l = n.$instanceValues$.get(t), i = n.$flags$, o = n.$lazyInstance$;
346
- r = He(r, s.$members$[t][0]);
347
- const $ = Number.isNaN(l) && Number.isNaN(r), c = r !== l && !$;
348
- if ((!(i & 8) || l === void 0) && c && (n.$instanceValues$.set(t, r), o)) {
349
- if (s.$watchers$ && i & 128) {
350
- const f = s.$watchers$[t];
351
- f && f.map((u) => {
352
- try {
353
- o[u](r, l, t);
354
- } catch (d) {
355
- b(d, a);
356
- }
357
- });
358
- }
359
- (i & 18) === 2 && M(n, !1);
360
- }
361
- }, ve = (e, t, r) => {
362
- var s, n;
363
- const a = e.prototype;
364
- if (t.$members$ || t.$watchers$ || e.watchers) {
365
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
366
- const l = Object.entries((s = t.$members$) != null ? s : {});
367
- if (l.map(([i, [o]]) => {
368
- (o & 31 || r & 2 && o & 32) && Object.defineProperty(a, i, {
369
- get() {
370
- return Ze(this, i);
371
- },
372
- set($) {
373
- Ne(this, i, $, t);
374
- },
375
- configurable: !0,
376
- enumerable: !0
377
- });
378
- }), r & 1) {
379
- const i = /* @__PURE__ */ new Map();
380
- a.attributeChangedCallback = function(o, $, c) {
381
- g.jmp(() => {
382
- var f;
383
- const u = i.get(o);
384
- if (this.hasOwnProperty(u))
385
- c = this[u], delete this[u];
386
- else {
387
- if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == c)
388
- return;
389
- if (u == null) {
390
- const d = E(this), v = d?.$flags$;
391
- if (v && !(v & 8) && v & 128 && c !== $) {
392
- const h = d.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[o];
393
- y?.forEach((p) => {
394
- h[p] != null && h[p].call(h, c, $, o);
395
- });
396
- }
397
- return;
398
- }
399
- }
400
- this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
401
- });
402
- }, e.observedAttributes = Array.from(
403
- /* @__PURE__ */ new Set([
404
- ...Object.keys((n = t.$watchers$) != null ? n : {}),
405
- ...l.filter(
406
- ([o, $]) => $[0] & 15
407
- /* HasAttribute */
408
- ).map(([o, $]) => {
409
- var c;
410
- const f = $[1] || o;
411
- return i.set(f, o), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([o, f])), f;
412
- })
413
- ])
414
- );
415
- }
416
- }
417
- return e;
418
- }, Ve = async (e, t, r, s) => {
419
- let n;
420
- if (!(t.$flags$ & 32)) {
421
- if (t.$flags$ |= 32, r.$lazyBundleId$) {
422
- const o = Ee(r);
423
- if (o && "then" in o) {
424
- const c = je();
425
- n = await o, c();
426
- } else
427
- n = o;
428
- if (!n)
429
- throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
430
- n.isProxied || (r.$watchers$ = n.watchers, ve(
431
- n,
432
- r,
433
- 2
434
- /* proxyState */
435
- ), n.isProxied = !0);
436
- const $ = S("createInstance", r.$tagName$);
437
- t.$flags$ |= 8;
438
- try {
439
- new n(t);
440
- } catch (c) {
441
- b(c);
442
- }
443
- t.$flags$ &= -9, t.$flags$ |= 128, $(), B(t.$lazyInstance$);
444
- } else {
445
- n = e.constructor;
446
- const o = e.localName;
447
- customElements.whenDefined(o).then(
448
- () => t.$flags$ |= 128
449
- /* isWatchReady */
450
- );
451
- }
452
- if (n && n.style) {
453
- let o;
454
- typeof n.style == "string" && (o = n.style);
455
- const $ = re(r);
456
- if (!A.has($)) {
457
- const c = S("registerStyles", r.$tagName$);
458
- Be($, o, !!(r.$flags$ & 1)), c();
459
- }
460
- }
461
- }
462
- const a = t.$ancestorComponent$, l = () => M(t, !0);
463
- a && a["s-rc"] ? a["s-rc"].push(l) : l();
464
- }, B = (e) => {
465
- j(e, "connectedCallback");
466
- }, et = (e) => {
467
- if (!(g.$flags$ & 1)) {
468
- const t = E(e), r = t.$cmpMeta$, s = S("connectedCallback", r.$tagName$);
469
- if (t.$flags$ & 1)
470
- t?.$lazyInstance$ ? B(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => B(t.$lazyInstance$));
471
- else {
472
- t.$flags$ |= 1;
473
- {
474
- let n = e;
475
- for (; n = n.parentNode || n.host; )
476
- if (n["s-p"]) {
477
- fe(t, t.$ancestorComponent$ = n);
478
- break;
479
- }
480
- }
481
- r.$members$ && Object.entries(r.$members$).map(([n, [a]]) => {
482
- if (a & 31 && e.hasOwnProperty(n)) {
483
- const l = e[n];
484
- delete e[n], e[n] = l;
485
- }
486
- }), Ve(e, t, r);
487
- }
488
- s();
489
- }
490
- }, N = (e) => {
491
- j(e, "disconnectedCallback");
492
- }, tt = async (e) => {
493
- if (!(g.$flags$ & 1)) {
494
- const t = E(e);
495
- t?.$lazyInstance$ ? N(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => N(t.$lazyInstance$));
496
- }
497
- }, rt = (e, t = {}) => {
498
- var r;
499
- const s = S(), n = [], a = t.exclude || [], l = I.customElements, i = m.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ m.createElement("style"), c = [];
500
- let f, u = !0;
501
- Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
502
- let d = !1;
503
- if (e.map((v) => {
504
- v[1].map((h) => {
505
- var y;
506
- const p = {
507
- $flags$: h[0],
508
- $tagName$: h[1],
509
- $members$: h[2],
510
- $listeners$: h[3]
511
- };
512
- p.$flags$ & 4 && (d = !0), p.$members$ = h[2], p.$attrsToReflect$ = [], p.$watchers$ = (y = h[4]) != null ? y : {};
513
- const x = p.$tagName$, he = class extends HTMLElement {
514
- // StencilLazyHost
515
- constructor(k) {
516
- if (super(k), this.hasRegisteredEventListeners = !1, k = this, Se(k, p), p.$flags$ & 1) {
517
- if (!k.shadowRoot)
518
- k.attachShadow({ mode: "open" });
519
- else if (k.shadowRoot.mode !== "open")
520
- throw new Error(
521
- `Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`
522
- );
523
- }
524
- }
525
- connectedCallback() {
526
- E(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? c.push(this) : g.jmp(() => et(this));
527
- }
528
- disconnectedCallback() {
529
- g.jmp(() => tt(this));
530
- }
531
- componentOnReady() {
532
- return E(this).$onReadyPromise$;
533
- }
534
- };
535
- p.$lazyBundleId$ = v[0], !a.includes(x) && !l.get(x) && (n.push(x), l.define(
536
- x,
537
- ve(
538
- he,
539
- p,
540
- 1
541
- /* isElementConstructor */
542
- )
543
- ));
544
- });
545
- }), n.length > 0 && (d && ($.textContent += V), $.textContent += n.sort() + ke, $.innerHTML.length)) {
546
- $.setAttribute("data-styles", "");
547
- const v = (r = g.$nonce$) != null ? r : te(m);
548
- v != null && $.setAttribute("nonce", v), i.insertBefore($, o ? o.nextSibling : i.firstChild);
549
- }
550
- u = !1, c.length ? c.map((v) => v.connectedCallback()) : g.jmp(() => f = setTimeout(ue, 30)), s();
551
- };
552
- export {
553
- Ue as H,
554
- rt as b,
555
- nt as c,
556
- Ce as g,
557
- Oe as h,
558
- be as p,
559
- st as r
560
- };