@everymatrix/casino-lobby 1.70.0 → 1.71.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 (107) hide show
  1. package/components/{CasinoCalendar-DvsJjQR1.js → CasinoCalendar-BsOWkLVp.js} +837 -858
  2. package/components/{CasinoCalendar-DhXVMCwY.js → CasinoCalendar-RmQ6YNrd.js} +1010 -1031
  3. package/components/CasinoCalendar-wYGJExu0.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-CwCMdOjj.cjs → CasinoCalendarDailyDetails-CIDfmzEU.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-vDlTL1Mz.js → CasinoCalendarDailyDetails-CZvv-VEw.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-3oURZ5eN.js → CasinoCalendarDailyDetails-CgySlNqk.js} +38 -38
  7. package/components/{CasinoCalendarDailyItem-C73xrNhc.js → CasinoCalendarDailyItem-6fstg8rl.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem-B_wuJUTQ.cjs → CasinoCalendarDailyItem-BofIs4hH.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-AfCjN4cZ.js → CasinoCalendarDailyItem-Bqhwdp9N.js} +34 -34
  10. package/components/{CasinoCategoriesSlider-wQphiOTZ.js → CasinoCategoriesSlider-BrMd9akG.js} +73 -73
  11. package/components/CasinoCategoriesSlider-DXG58TlK.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-CyDPRdsd.js → CasinoCategoriesSlider-rcQ6H4dN.js} +72 -72
  13. package/components/{CasinoCollectionsProviders-BeXo3fMU.cjs → CasinoCollectionsProviders-Iwvjux90.cjs} +1 -1
  14. package/components/{CasinoCollectionsProviders-y8DOcY5N.js → CasinoCollectionsProviders-RmY6DCmf.js} +77 -77
  15. package/components/{CasinoCollectionsProviders-DdKrem8d.js → CasinoCollectionsProviders-X_gMs4dQ.js} +64 -64
  16. package/components/{CasinoFavoritesSection-1S2Lz3SW.js → CasinoFavoritesSection-D1C6HI9v.js} +17 -17
  17. package/components/{CasinoFavoritesSection-DQujG-Lp.cjs → CasinoFavoritesSection-Db99Uv7P.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-CnbnFYOu.js → CasinoFavoritesSection-b-j22ATa.js} +17 -17
  19. package/components/{CasinoFilter-Cse_ikkf.js → CasinoFilter-BG-xQ7Z9.js} +244 -243
  20. package/components/{CasinoFilter-BpDGbk8K.js → CasinoFilter-Czto4aq6.js} +228 -229
  21. package/components/CasinoFilter-DSxqwRvu.cjs +1 -0
  22. package/components/CasinoGameThumbnail-0cRYBNZ8.cjs +47 -0
  23. package/components/{CasinoGameThumbnail-IDaFl1Xu.js → CasinoGameThumbnail-CeT997Kx.js} +762 -778
  24. package/components/{CasinoGameThumbnail-w3iktaO3.js → CasinoGameThumbnail-MrOCBFNA.js} +1269 -1253
  25. package/components/{CasinoGamesCategorySection-7SaTNcrq.cjs → CasinoGamesCategorySection-C8xeG4sY.cjs} +1 -1
  26. package/components/{CasinoGamesCategorySection-DBwkLn0s.js → CasinoGamesCategorySection-CxiyhVqf.js} +246 -246
  27. package/components/{CasinoGamesCategorySection-CXpdNAsb.js → CasinoGamesCategorySection-Dk6YpheO.js} +249 -249
  28. package/components/{CasinoJackpotBanner-BdsQyC0k.js → CasinoJackpotBanner-CUP2An9A.js} +113 -113
  29. package/components/{CasinoJackpotBanner-Drezj591.cjs → CasinoJackpotBanner-CpGio5N4.cjs} +1 -1
  30. package/components/{CasinoJackpotBanner-C-kNRiwQ.js → CasinoJackpotBanner-g0X8UAFW.js} +119 -119
  31. package/components/{CasinoLastPlayedSection-BTbqG2PY.js → CasinoLastPlayedSection-B668qxot.js} +37 -37
  32. package/components/{CasinoLastPlayedSection-B2mAuumq.js → CasinoLastPlayedSection-D_0OBhSj.js} +37 -37
  33. package/components/{CasinoLastPlayedSection-B1jO-mOv.cjs → CasinoLastPlayedSection-lO1pohBq.cjs} +1 -1
  34. package/components/{CasinoLobby-B9wH9ODi.js → CasinoLobby-BaQGWp9s.js} +56 -56
  35. package/components/{CasinoLobby-Pkj77WT7.js → CasinoLobby-DwdNm6xo.js} +57 -57
  36. package/components/{CasinoLobby-DZJ49SFm.cjs → CasinoLobby-lkQTAmN7.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-BxyvkBdO.cjs → CasinoMostPlayedSection-87nEdbm3.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSection-B6pGhulE.js → CasinoMostPlayedSection-C5gy3zyh.js} +46 -46
  39. package/components/{CasinoMostPlayedSection-BVOuvFg1.js → CasinoMostPlayedSection-CGXfghDB.js} +46 -46
  40. package/components/{CasinoMyGames-DgK12Kjb.cjs → CasinoMyGames-B4eUiwD2.cjs} +1 -1
  41. package/components/{CasinoMyGames-j_rSFYAE.js → CasinoMyGames-BC98Tqse.js} +39 -39
  42. package/components/{CasinoMyGames-CHFQjUsl.js → CasinoMyGames-BkWFi0SD.js} +42 -42
  43. package/components/{CasinoPage-DQ1ECUsI.cjs → CasinoPage-CJXFGWAG.cjs} +1 -1
  44. package/components/{CasinoPage-DGeCLgVG.js → CasinoPage-DCj9ufQS.js} +116 -116
  45. package/components/{CasinoPage-CRbyYPXJ.js → CasinoPage-mW7N_X4p.js} +103 -103
  46. package/components/{CasinoRandomGame-JXGClzjo.js → CasinoRandomGame-BOlMftfW.js} +56 -56
  47. package/components/{CasinoRandomGame-CVuu5ndq.js → CasinoRandomGame-BPoQwGvz.js} +57 -57
  48. package/components/{CasinoRandomGame-D5chJotN.cjs → CasinoRandomGame-CP2us9wQ.cjs} +1 -1
  49. package/components/{CasinoSearch-BI_uT3Jw.js → CasinoSearch-CxY1btEF.js} +95 -95
  50. package/components/{CasinoSearch-CjrWH3EK.js → CasinoSearch-DYeI3pnX.js} +98 -98
  51. package/components/{CasinoSearch-DZearjM7.cjs → CasinoSearch-_PkKs4Jp.cjs} +1 -1
  52. package/components/{CasinoSlider-DuMX9oX9.cjs → CasinoSlider-CKrkEFp2.cjs} +1 -1
  53. package/components/{CasinoSlider-CfPkPPxf.js → CasinoSlider-D5pUgU6y.js} +68 -68
  54. package/components/{CasinoSlider-CkpttSpp.js → CasinoSlider-mFk7hXGi.js} +95 -95
  55. package/components/{CasinoSort-CCMi6HF8.js → CasinoSort-Bu7GAVyk.js} +102 -103
  56. package/components/{CasinoSort-CqxfyCdK.js → CasinoSort-CR3_Z1HP.js} +112 -111
  57. package/components/{CasinoSort-CC01PnsE.cjs → CasinoSort-DnffDijG.cjs} +1 -1
  58. package/components/{CasinoWinners-Ds56SsB_.js → CasinoWinners-BHsWULT4.js} +152 -152
  59. package/components/{CasinoWinners-1QrrbKud.js → CasinoWinners-BTigQx6l.js} +145 -145
  60. package/components/{CasinoWinners-HiCSUdE4.cjs → CasinoWinners-CgGvis-Q.cjs} +1 -1
  61. package/components/{GeneralAnimationLoading-CqQ45vZj.js → GeneralAnimationLoading-BYX0Qvf2.js} +16 -16
  62. package/components/{GeneralAnimationLoading-TrHgy3kz.cjs → GeneralAnimationLoading-CB353I6v.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-OUo50Aas.js → GeneralAnimationLoading-DkDspmaZ.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-Dkk0BTsb.cjs → casino-play-random-game-C3hhQjhn.cjs} +2 -2
  69. package/stencil/{casino-play-random-game-C0BJMsSD.js → casino-play-random-game-qroM0e64.js} +2 -2
  70. package/stencil/{casino-play-random-game-BLl4u8GF.js → casino-play-random-game-uBjWXXLi.js} +2 -2
  71. package/stencil/index-97d17652-BD-QREJe.js +558 -0
  72. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  73. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  74. package/stencil/index-ab3202d6-CSUArOSv.js +559 -0
  75. package/stencil/index-ab3202d6-CoRS04SH.js +575 -0
  76. package/stencil/index-ab3202d6-DitihRZv.cjs +1 -0
  77. package/stencil/index-b2193545-3zPNeE9v.cjs +1 -0
  78. package/stencil/index-b2193545-D_cUvAA-.js +519 -0
  79. package/stencil/index-b2193545-kN0z2MLt.js +503 -0
  80. package/stencil/{ui-image-BGKMDvh6.js → ui-image-BAqS-hS6.js} +1 -1
  81. package/stencil/{ui-image-D8iqM9v9.cjs → ui-image-CH2Jdp7k.cjs} +1 -1
  82. package/stencil/{ui-image-2AZlMiHS.js → ui-image-I_uR7pAI.js} +1 -1
  83. package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  84. package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  85. package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  86. package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  87. package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  88. package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-_K8Pt3w9.js} +2 -2
  89. package/stencil/{ui-skeleton-DcmFcn7k.cjs → ui-skeleton-5mt1L8pA.cjs} +1 -1
  90. package/stencil/{ui-skeleton-CSMUbPcJ.js → ui-skeleton-C0GZ2ncD.js} +2 -2
  91. package/stencil/{ui-skeleton-CiszU04_.js → ui-skeleton-CYeeBz0Q.js} +2 -2
  92. package/stencil/{ui-skeleton-ae35c6f2-DDHvWmVB.js → ui-skeleton-ae35c6f2-BSwiS43c.js} +1 -1
  93. package/stencil/{ui-skeleton-ae35c6f2-9hZ7WFQc.js → ui-skeleton-ae35c6f2-BmKf7IvD.js} +1 -1
  94. package/stencil/{ui-skeleton-ae35c6f2-D1Tb0H8D.cjs → ui-skeleton-ae35c6f2-CQ3pH6qH.cjs} +1 -1
  95. package/components/CasinoCalendar-AXQVreyU.cjs +0 -19
  96. package/components/CasinoCategoriesSlider-DwkYkIgL.cjs +0 -1
  97. package/components/CasinoFilter-_UA3RCLF.cjs +0 -1
  98. package/components/CasinoGameThumbnail-BMHMTqRz.cjs +0 -47
  99. package/stencil/index-97d17652-B0NIExnR.js +0 -558
  100. package/stencil/index-97d17652-D6HPqRtr.js +0 -542
  101. package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
  102. package/stencil/index-ab3202d6-CZKlrnZf.js +0 -559
  103. package/stencil/index-ab3202d6-ClDKsCJv.js +0 -575
  104. package/stencil/index-ab3202d6-DFbwTHas.cjs +0 -1
  105. package/stencil/index-b2193545-DVT8jgVo.cjs +0 -1
  106. package/stencil/index-b2193545-Dxw-xjac.js +0 -503
  107. package/stencil/index-b2193545-TbRClz6K.js +0 -519
@@ -1,559 +0,0 @@
1
- const he = "casino-play-random-game", ge = (
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
- }, F = (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 = (o) => (O.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-BLl4u8GF.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: {} }, 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
- }, 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, h.$flags$ & 4 ? R(z) : h.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) && h.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: () => C,
76
- unwrap: () => Le,
77
- unwrapErr: () => Ie
78
- });
79
- var C = (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) => C(s)) : C(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 o = [], i = (c) => {
112
- for (let f = 0; f < c.length; f++)
113
- s = c[f], Array.isArray(s) ? i(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !D(s)) && (s = String(s)), a && l ? o[o.length - 1].$text$ += s : o.push(a ? H(null, s) : s), l = a);
114
- };
115
- if (i(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 $ = H(e, null);
123
- return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = n, $;
124
- }, H = (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, Ce = (e, t) => e != null && !D(e) && t & 1 ? String(e) : e, He = (e) => E(e).$hostElement$, nt = (e, t, r) => {
134
- const s = He(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 = h.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), o;
156
- if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
157
- {
158
- o = m.createElement("style"), o.innerHTML = a;
159
- const i = (s = h.$nonce$) != null ? s : te(m);
160
- i != null && o.setAttribute("nonce", i), e.insertBefore(o, e.querySelector("link"));
161
- }
162
- t.$flags$ & 4 && (o.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 = F(e, t), o = t.toLowerCase();
176
- if (t === "class") {
177
- const i = e.classList, $ = Q(r), c = Q(s);
178
- i.remove(...$.filter((f) => f && !c.includes(f))), i.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) : F(I, o) ? t = o.slice(2) : t = o[2] + t.slice(3), r || s) {
184
- const i = t.endsWith(le);
185
- t = t.replace(Me, ""), r && h.rel(e, t, r, i), s && h.ael(e, t, s, i);
186
- }
187
- } else {
188
- const i = D(s);
189
- if (l || i && s !== null)
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) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
200
- }
201
- }
202
- }, De = /\s/, Q = (e) => e ? e.split(De) : [], le = "Capture", Me = 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, M, oe = !1, L = (e, t, r, s) => {
219
- const n = t.$children$[r];
220
- let a = 0, l, o;
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, oe), 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
- o = L(e, n, a), o && l.appendChild(o);
228
- return l["s-hn"] = M, l;
229
- }, ie = (e, t, r, s, n, a) => {
230
- let l = e, o;
231
- for (l.shadowRoot && l.tagName === M && (l = l.shadowRoot); n <= a; ++n)
232
- s[n] && (o = L(null, r, n), o && (s[n].$elm$ = o, _(l, o, 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
- }, We = (e, t, r, s, n = !1) => {
242
- let a = 0, l = 0, o = 0, i = 0, $ = t.length - 1, c = t[0], f = t[$], u = s.length - 1, d = s[0], v = s[u], p, 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 (o = -1, i = a; i <= $; ++i)
262
- if (t[i] && t[i].$key$ !== null && t[i].$key$ === d.$key$) {
263
- o = i;
264
- break;
265
- }
266
- o >= 0 ? (y = t[o], y.$tag$ !== d.$tag$ ? p = L(t && t[l], r, o) : (w(y, d, n), t[o] = void 0, p = y.$elm$), d = s[++l]) : (p = L(t && t[l], r, l), d = s[++l]), p && _(c.$elm$.parentNode, p, c.$elm$);
267
- }
268
- a > $ ? ie(
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, oe), n !== null && a !== null ? We(s, n, t, a, r) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ie(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), Fe = (e, t, r = !1) => {
282
- const s = e.$hostElement$, n = e.$cmpMeta$, a = e.$vnode$ || H(null, null), l = ze(t) ? t : Oe(null, null, t);
283
- if (M = s.tagName, n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map(
284
- ([o, i]) => l.$attrs$[i] = s[o]
285
- )), r && l.$attrs$)
286
- for (const o of Object.keys(l.$attrs$))
287
- s.hasAttribute(o) && !["key", "ref", "style", "class"].includes(o) && (l.$attrs$[o] = s[o]);
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
- }, W = (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 o = S("render", e.$cmpMeta$.$tagName$);
312
- Ke(e, t, n, r), l && (l.map((i) => i()), n["s-rc"] = void 0), o(), a();
313
- {
314
- const i = (s = n["s-p"]) != null ? s : [], $ = () => Qe(e);
315
- i.length === 0 ? $() : (Promise.all(i).then($), e.$flags$ |= 4, i.length = 0);
316
- }
317
- }, Ke = (e, t, r, s) => {
318
- try {
319
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Fe(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(() => W(e, !1)), e.$flags$ &= -517;
327
- }, ue = (e) => {
328
- de(m.documentElement), R(() => ne(I, "appload", { detail: { namespace: he } }));
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 = ge.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), o = n.$flags$, i = n.$lazyInstance$;
346
- r = Ce(r, s.$members$[t][0]);
347
- const $ = Number.isNaN(l) && Number.isNaN(r), c = r !== l && !$;
348
- if ((!(o & 8) || l === void 0) && c && (n.$instanceValues$.set(t, r), i)) {
349
- if (s.$watchers$ && o & 128) {
350
- const f = s.$watchers$[t];
351
- f && f.map((u) => {
352
- try {
353
- i[u](r, l, t);
354
- } catch (d) {
355
- b(d, a);
356
- }
357
- });
358
- }
359
- (o & 18) === 2 && W(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(([o, [i]]) => {
368
- (i & 31 || r & 2 && i & 32) && Object.defineProperty(a, o, {
369
- get() {
370
- return Ze(this, o);
371
- },
372
- set($) {
373
- Ne(this, o, $, t);
374
- },
375
- configurable: !0,
376
- enumerable: !0
377
- });
378
- }), r & 1) {
379
- const o = /* @__PURE__ */ new Map();
380
- a.attributeChangedCallback = function(i, $, c) {
381
- h.jmp(() => {
382
- var f;
383
- const u = o.get(i);
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 p = d.$lazyInstance$, y = (f = t.$watchers$) == null ? void 0 : f[i];
393
- y?.forEach((g) => {
394
- p[g] != null && p[g].call(p, c, $, i);
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
- ([i, $]) => $[0] & 15
407
- /* HasAttribute */
408
- ).map(([i, $]) => {
409
- var c;
410
- const f = $[1] || i;
411
- return o.set(f, i), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([i, 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 i = Ee(r);
423
- if (i && "then" in i) {
424
- const c = je();
425
- n = await i, c();
426
- } else
427
- n = i;
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 i = e.localName;
447
- customElements.whenDefined(i).then(
448
- () => t.$flags$ |= 128
449
- /* isWatchReady */
450
- );
451
- }
452
- if (n && n.style) {
453
- let i;
454
- typeof n.style == "string" && (i = n.style);
455
- const $ = re(r);
456
- if (!A.has($)) {
457
- const c = S("registerStyles", r.$tagName$);
458
- Be($, i, !!(r.$flags$ & 1)), c();
459
- }
460
- }
461
- }
462
- const a = t.$ancestorComponent$, l = () => W(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 (!(h.$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 (!(h.$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, o = m.head, i = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ m.createElement("style"), c = [];
500
- let f, u = !0;
501
- Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
502
- let d = !1;
503
- if (e.map((v) => {
504
- v[1].map((p) => {
505
- var y;
506
- const g = {
507
- $flags$: p[0],
508
- $tagName$: p[1],
509
- $members$: p[2],
510
- $listeners$: p[3]
511
- };
512
- g.$flags$ & 4 && (d = !0), g.$members$ = p[2], g.$attrsToReflect$ = [], g.$watchers$ = (y = p[4]) != null ? y : {};
513
- const x = g.$tagName$, pe = class extends HTMLElement {
514
- // StencilLazyHost
515
- constructor(k) {
516
- if (super(k), this.hasRegisteredEventListeners = !1, k = this, Se(k, g), g.$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 ${g.$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) : h.jmp(() => et(this));
527
- }
528
- disconnectedCallback() {
529
- h.jmp(() => tt(this));
530
- }
531
- componentOnReady() {
532
- return E(this).$onReadyPromise$;
533
- }
534
- };
535
- g.$lazyBundleId$ = v[0], !a.includes(x) && !l.get(x) && (n.push(x), l.define(
536
- x,
537
- ve(
538
- pe,
539
- g,
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 = h.$nonce$) != null ? r : te(m);
548
- v != null && $.setAttribute("nonce", v), o.insertBefore($, i ? i.nextSibling : o.firstChild);
549
- }
550
- u = !1, c.length ? c.map((v) => v.connectedCallback()) : h.jmp(() => f = setTimeout(ue, 30)), s();
551
- };
552
- export {
553
- rt as b,
554
- nt as c,
555
- He as g,
556
- Oe as h,
557
- be as p,
558
- st as r
559
- };