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