@everymatrix/casino-header-controller-nd 1.55.0 → 1.56.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.
- package/components/CasinoHamburgerMenuNd-BXOxWDnU.js +5449 -0
- package/components/CasinoHamburgerMenuNd-CDprnR9N.cjs +5 -0
- package/components/CasinoHamburgerMenuNd-RHQhri2n.js +5487 -0
- package/components/CasinoHeaderControllerNd-CrjISN9T.cjs +1 -0
- package/components/{CasinoHeaderControllerNd-bGnLcz2g.js → CasinoHeaderControllerNd-DdRHib4Y.js} +505 -453
- package/components/{CasinoHeaderControllerNd-B4Hgo5oq.js → CasinoHeaderControllerNd-DeFJQOBT.js} +525 -473
- package/components/PlayerAccountBalanceModalNd-BduIv2jr.js +1553 -0
- package/components/PlayerAccountBalanceModalNd-ClQUf9hu.js +1582 -0
- package/components/PlayerAccountBalanceModalNd-DB8OTdY6.cjs +13 -0
- package/components/PlayerDeposit-D4E7B0VM.cjs +1 -0
- package/components/PlayerDeposit-Dn8OMUks.js +391 -0
- package/components/PlayerDeposit-Owd9kBaC.js +391 -0
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/gamification-dropdown-12tdWeqm.cjs +1 -0
- package/stencil/gamification-dropdown-246b88da-BcsKYpR0.js +126 -0
- package/stencil/gamification-dropdown-246b88da-Dckk_dCi.js +144 -0
- package/stencil/gamification-dropdown-246b88da-ImWNLZys.cjs +1 -0
- package/stencil/gamification-dropdown-CGlt7V-H.js +7 -0
- package/stencil/gamification-dropdown-GR6HFAZA.js +25 -0
- package/stencil/gamification-dropdown_4-BwwlBsis.cjs +192 -0
- package/stencil/{gamification-dropdown_4-Cg4EiNTS.js → gamification-dropdown_4-Denu_YbM.js} +21 -21
- package/stencil/{gamification-dropdown_4-BZffGACN.js → gamification-dropdown_4-QRIgZIS5.js} +19 -19
- package/stencil/index-30fda5fb-CiEO4toK.js +833 -0
- package/stencil/index-30fda5fb-DqSvPD7T.cjs +1 -0
- package/stencil/index-30fda5fb-XWBRFzl0.js +860 -0
- package/stencil/{player-elevate-card-Bo3fCMU8.js → player-elevate-card-BPyvJoKU.js} +4 -4
- package/stencil/{player-elevate-card-CGn57laL.js → player-elevate-card-CSXjQ70j.js} +4 -4
- package/stencil/player-elevate-card-D5kbh1fR.cjs +64 -0
- package/stencil/{player-elevate-card-items-2078bd83-DvW50KrW.js → player-elevate-card-items-be1e68f1-C-idvDlE.js} +1 -3
- package/stencil/{player-elevate-card-items-2078bd83-CUXuMGCR.js → player-elevate-card-items-be1e68f1-CF4tyvaU.js} +1 -3
- package/stencil/player-elevate-card-items-be1e68f1-CxCehVul.cjs +1 -0
- package/stencil/{player-elevate-pointcard-jLOeOCx0.js → player-elevate-pointcard-Baq8OlNX.js} +7 -7
- package/stencil/player-elevate-pointcard-DVXsZKCw.cjs +1 -0
- package/stencil/{player-elevate-pointcard-teAW1AOh.js → player-elevate-pointcard-jvw6Jdcf.js} +7 -7
- package/components/CasinoHamburgerMenuNd-CAV9ARg-.js +0 -5485
- package/components/CasinoHamburgerMenuNd-CSCV-5CJ.cjs +0 -5
- package/components/CasinoHamburgerMenuNd-DNYzzmAB.js +0 -5447
- package/components/CasinoHeaderControllerNd-Cd6hH1wA.cjs +0 -1
- package/components/PlayerAccountBalanceModalNd-BJJzPbdP.js +0 -1586
- package/components/PlayerAccountBalanceModalNd-Ca8dF_9M.js +0 -1557
- package/components/PlayerAccountBalanceModalNd-P1iLuuUG.cjs +0 -13
- package/components/PlayerDeposit-B0r58Ypp.js +0 -414
- package/components/PlayerDeposit-BkVMpjA9.js +0 -414
- package/components/PlayerDeposit-CjEddUaf.cjs +0 -1
- package/stencil/gamification-dropdown-456bb56a-BJ9kAxaI.js +0 -103
- package/stencil/gamification-dropdown-456bb56a-CldmfDdk.js +0 -121
- package/stencil/gamification-dropdown-456bb56a-ClnsHPoT.cjs +0 -1
- package/stencil/gamification-dropdown-BdMkPvQc.js +0 -7
- package/stencil/gamification-dropdown-CnrQK1ei.cjs +0 -1
- package/stencil/gamification-dropdown-FVqK4we0.js +0 -25
- package/stencil/gamification-dropdown_4-DNV5b4s7.cjs +0 -192
- package/stencil/index-171550cf-BY--MwdX.cjs +0 -1
- package/stencil/index-171550cf-CVTOm2AV.js +0 -799
- package/stencil/index-171550cf-JwZ7TN-k.js +0 -772
- package/stencil/player-elevate-card-CW-95gEJ.cjs +0 -64
- package/stencil/player-elevate-card-items-2078bd83-DSxFMBLz.cjs +0 -1
- package/stencil/player-elevate-pointcard-DVgy3cq3.cjs +0 -1
|
@@ -0,0 +1,833 @@
|
|
|
1
|
+
const Ie = "gamification-dropdown", z = (
|
|
2
|
+
/* gamification-dropdown */
|
|
3
|
+
{ experimentalSlotFixes: !1, hydratedSelectorName: "hydrated", lazyLoad: !0, slotRelocation: !0, updatable: !0 }
|
|
4
|
+
);
|
|
5
|
+
var Re = Object.defineProperty, ze = (e, t) => {
|
|
6
|
+
for (var s in t)
|
|
7
|
+
Re(e, s, { get: t[s], enumerable: !0 });
|
|
8
|
+
}, He = "http://www.w3.org/2000/svg", Ue = "http://www.w3.org/1999/xhtml", M = /* @__PURE__ */ new WeakMap(), x = (e) => M.get(e), bt = (e, t) => {
|
|
9
|
+
M.set(t.$lazyInstance$ = e, t);
|
|
10
|
+
}, qe = (e, t) => {
|
|
11
|
+
const s = {
|
|
12
|
+
$flags$: 0,
|
|
13
|
+
$hostElement$: e,
|
|
14
|
+
$cmpMeta$: t,
|
|
15
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
16
|
+
};
|
|
17
|
+
return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], M.set(e, s);
|
|
18
|
+
}, ne = (e, t) => t in e, L = (e, t) => (0, console.error)(e, t), G = /* @__PURE__ */ new Map(), Be = (e, t, s) => {
|
|
19
|
+
const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
20
|
+
if (!r)
|
|
21
|
+
return;
|
|
22
|
+
const i = G.get(r);
|
|
23
|
+
if (i)
|
|
24
|
+
return i[n];
|
|
25
|
+
{
|
|
26
|
+
const a = (l) => (G.set(r, l), l[n]);
|
|
27
|
+
switch (r) {
|
|
28
|
+
case "gamification-dropdown_4":
|
|
29
|
+
return import(
|
|
30
|
+
/* webpackMode: "lazy" */
|
|
31
|
+
"./gamification-dropdown_4-Denu_YbM.js"
|
|
32
|
+
).then(a, L);
|
|
33
|
+
case "player-elevate-card":
|
|
34
|
+
return import(
|
|
35
|
+
/* webpackMode: "lazy" */
|
|
36
|
+
"./player-elevate-card-BPyvJoKU.js"
|
|
37
|
+
).then(a, L);
|
|
38
|
+
case "player-elevate-pointcard":
|
|
39
|
+
return import(
|
|
40
|
+
/* webpackMode: "lazy" */
|
|
41
|
+
"./player-elevate-pointcard-Baq8OlNX.js"
|
|
42
|
+
).then(a, L);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return import(
|
|
46
|
+
/* @vite-ignore */
|
|
47
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
48
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
49
|
+
/* webpackMode: "lazy" */
|
|
50
|
+
`./${r}.entry.js`
|
|
51
|
+
).then(
|
|
52
|
+
(a) => (G.set(r, a), a[n]),
|
|
53
|
+
(a) => {
|
|
54
|
+
L(a, t.$hostElement$);
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
}, q = /* @__PURE__ */ new Map(), De = "sty-id", Ce = "{visibility:hidden}.hydrated{visibility:inherit}", de = "slot-fb{display:contents}slot-fb[hidden]{display:none}", j = typeof window < "u" ? window : {}, E = j.document || { head: {} }, p = {
|
|
58
|
+
$flags$: 0,
|
|
59
|
+
$resourcesUrl$: "",
|
|
60
|
+
jmp: (e) => e(),
|
|
61
|
+
raf: (e) => requestAnimationFrame(e),
|
|
62
|
+
ael: (e, t, s, n) => e.addEventListener(t, s, n),
|
|
63
|
+
rel: (e, t, s, n) => e.removeEventListener(t, s, n),
|
|
64
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
65
|
+
}, Fe = /* @__PURE__ */ (() => {
|
|
66
|
+
let e = !1;
|
|
67
|
+
try {
|
|
68
|
+
E.addEventListener(
|
|
69
|
+
"e",
|
|
70
|
+
null,
|
|
71
|
+
Object.defineProperty({}, "passive", {
|
|
72
|
+
get() {
|
|
73
|
+
e = !0;
|
|
74
|
+
}
|
|
75
|
+
})
|
|
76
|
+
);
|
|
77
|
+
} catch {
|
|
78
|
+
}
|
|
79
|
+
return e;
|
|
80
|
+
})(), We = (e) => Promise.resolve(e), ue = /* @__PURE__ */ (() => {
|
|
81
|
+
try {
|
|
82
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
83
|
+
} catch {
|
|
84
|
+
}
|
|
85
|
+
return !1;
|
|
86
|
+
})(), X = !1, re = [], he = [], Ge = (e, t) => (s) => {
|
|
87
|
+
e.push(s), X || (X = !0, p.$flags$ & 4 ? N(J) : p.raf(J));
|
|
88
|
+
}, le = (e) => {
|
|
89
|
+
for (let t = 0; t < e.length; t++)
|
|
90
|
+
try {
|
|
91
|
+
e[t](performance.now());
|
|
92
|
+
} catch (s) {
|
|
93
|
+
L(s);
|
|
94
|
+
}
|
|
95
|
+
e.length = 0;
|
|
96
|
+
}, J = () => {
|
|
97
|
+
le(re), le(he), (X = re.length > 0) && p.raf(J);
|
|
98
|
+
}, N = (e) => We().then(e), Ye = /* @__PURE__ */ Ge(he), wt = (e) => {
|
|
99
|
+
const t = new URL(e, p.$resourcesUrl$);
|
|
100
|
+
return t.origin !== j.location.origin ? t.href : t.pathname;
|
|
101
|
+
}, V = (e) => (e = typeof e, e === "object" || e === "function");
|
|
102
|
+
function pe(e) {
|
|
103
|
+
var t, s, n;
|
|
104
|
+
return (n = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? n : void 0;
|
|
105
|
+
}
|
|
106
|
+
var Xe = {};
|
|
107
|
+
ze(Xe, {
|
|
108
|
+
err: () => ve,
|
|
109
|
+
map: () => Je,
|
|
110
|
+
ok: () => K,
|
|
111
|
+
unwrap: () => Ke,
|
|
112
|
+
unwrapErr: () => Qe
|
|
113
|
+
});
|
|
114
|
+
var K = (e) => ({
|
|
115
|
+
isOk: !0,
|
|
116
|
+
isErr: !1,
|
|
117
|
+
value: e
|
|
118
|
+
}), ve = (e) => ({
|
|
119
|
+
isOk: !1,
|
|
120
|
+
isErr: !0,
|
|
121
|
+
value: e
|
|
122
|
+
});
|
|
123
|
+
function Je(e, t) {
|
|
124
|
+
if (e.isOk) {
|
|
125
|
+
const s = t(e.value);
|
|
126
|
+
return s instanceof Promise ? s.then((n) => K(n)) : K(s);
|
|
127
|
+
}
|
|
128
|
+
if (e.isErr) {
|
|
129
|
+
const s = e.value;
|
|
130
|
+
return ve(s);
|
|
131
|
+
}
|
|
132
|
+
throw "should never get here";
|
|
133
|
+
}
|
|
134
|
+
var Ke = (e) => {
|
|
135
|
+
if (e.isOk)
|
|
136
|
+
return e.value;
|
|
137
|
+
throw e.value;
|
|
138
|
+
}, Qe = (e) => {
|
|
139
|
+
if (e.isErr)
|
|
140
|
+
return e.value;
|
|
141
|
+
throw e.value;
|
|
142
|
+
}, ge = (e) => {
|
|
143
|
+
const t = e.__childNodes || e.childNodes;
|
|
144
|
+
e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && ye(t, e.tagName).forEach((s) => {
|
|
145
|
+
var n;
|
|
146
|
+
s.nodeType === 1 && s.tagName === "SLOT-FB" && ((n = Ze(s, s["s-sn"], !1)) != null && n.length ? s.hidden = !0 : s.hidden = !1);
|
|
147
|
+
});
|
|
148
|
+
for (const s of t)
|
|
149
|
+
s.nodeType === 1 && (s.__childNodes || s.childNodes).length && ge(s);
|
|
150
|
+
};
|
|
151
|
+
function ye(e, t, s) {
|
|
152
|
+
let n = 0, r = [], i;
|
|
153
|
+
for (; n < e.length; n++)
|
|
154
|
+
i = e[n], i["s-sr"] && i["s-hn"] === t && s === void 0 && r.push(i), r = [...r, ...ye(i.childNodes, t, s)];
|
|
155
|
+
return r;
|
|
156
|
+
}
|
|
157
|
+
var Ze = (e, t, s = !0) => {
|
|
158
|
+
const n = [];
|
|
159
|
+
for ((s && e["s-sr"] || !e["s-sr"]) && n.push(e); (e = e.nextSibling) && e["s-sn"] === t; )
|
|
160
|
+
n.push(e);
|
|
161
|
+
return n;
|
|
162
|
+
}, ie = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", w = (e, t = "") => () => {
|
|
163
|
+
}, Me = (e, t) => () => {
|
|
164
|
+
}, Se = (e, t, ...s) => {
|
|
165
|
+
let n = null, r = null, i = null, a = !1, l = !1;
|
|
166
|
+
const $ = [], c = (d) => {
|
|
167
|
+
for (let o = 0; o < d.length; o++)
|
|
168
|
+
n = d[o], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((a = typeof e != "function" && !V(n)) && (n = String(n)), a && l ? $[$.length - 1].$text$ += n : $.push(a ? B(null, n) : n), l = a);
|
|
169
|
+
};
|
|
170
|
+
if (c(s), t) {
|
|
171
|
+
t.key && (r = t.key), t.name && (i = t.name);
|
|
172
|
+
{
|
|
173
|
+
const d = t.className || t.class;
|
|
174
|
+
d && (t.class = typeof d != "object" ? d : Object.keys(d).filter((o) => d[o]).join(" "));
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
if (typeof e == "function")
|
|
178
|
+
return e(
|
|
179
|
+
t === null ? {} : t,
|
|
180
|
+
$,
|
|
181
|
+
et
|
|
182
|
+
);
|
|
183
|
+
const f = B(e, null);
|
|
184
|
+
return f.$attrs$ = t, $.length > 0 && (f.$children$ = $), f.$key$ = r, f.$name$ = i, f;
|
|
185
|
+
}, B = (e, t) => {
|
|
186
|
+
const s = {
|
|
187
|
+
$flags$: 0,
|
|
188
|
+
$tag$: e,
|
|
189
|
+
$text$: t,
|
|
190
|
+
$elm$: null,
|
|
191
|
+
$children$: null
|
|
192
|
+
};
|
|
193
|
+
return s.$attrs$ = null, s.$key$ = null, s.$name$ = null, s;
|
|
194
|
+
}, Ne = {}, Ve = (e) => e && e.$tag$ === Ne, et = {
|
|
195
|
+
forEach: (e, t) => e.map(oe).forEach(t),
|
|
196
|
+
map: (e, t) => e.map(oe).map(t).map(tt)
|
|
197
|
+
}, oe = (e) => ({
|
|
198
|
+
vattrs: e.$attrs$,
|
|
199
|
+
vchildren: e.$children$,
|
|
200
|
+
vkey: e.$key$,
|
|
201
|
+
vname: e.$name$,
|
|
202
|
+
vtag: e.$tag$,
|
|
203
|
+
vtext: e.$text$
|
|
204
|
+
}), tt = (e) => {
|
|
205
|
+
if (typeof e.vtag == "function") {
|
|
206
|
+
const s = { ...e.vattrs };
|
|
207
|
+
return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), Se(e.vtag, s, ...e.vchildren || []);
|
|
208
|
+
}
|
|
209
|
+
const t = B(e.vtag, e.vtext);
|
|
210
|
+
return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
|
|
211
|
+
}, Q = (e, t) => e != null && !V(e) && t & 1 ? String(e) : e, st = (e) => x(e).$hostElement$, Ot = (e, t, s) => {
|
|
212
|
+
const n = st(e);
|
|
213
|
+
return {
|
|
214
|
+
emit: (r) => ke(n, t, {
|
|
215
|
+
bubbles: !0,
|
|
216
|
+
composed: !0,
|
|
217
|
+
cancelable: !0,
|
|
218
|
+
detail: r
|
|
219
|
+
})
|
|
220
|
+
};
|
|
221
|
+
}, ke = (e, t, s) => {
|
|
222
|
+
const n = p.ce(t, s);
|
|
223
|
+
return e.dispatchEvent(n), n;
|
|
224
|
+
}, A = /* @__PURE__ */ new WeakMap(), nt = (e, t, s) => {
|
|
225
|
+
let n = q.get(e);
|
|
226
|
+
ue && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, q.set(e, n);
|
|
227
|
+
}, rt = (e, t, s) => {
|
|
228
|
+
var n;
|
|
229
|
+
const r = Ee(t), i = q.get(r);
|
|
230
|
+
if (e = e.nodeType === 11 ? e : E, i)
|
|
231
|
+
if (typeof i == "string") {
|
|
232
|
+
e = e.head || e;
|
|
233
|
+
let a = A.get(e), l;
|
|
234
|
+
if (a || A.set(e, a = /* @__PURE__ */ new Set()), !a.has(r)) {
|
|
235
|
+
{
|
|
236
|
+
l = document.querySelector(`[${De}="${r}"]`) || E.createElement("style"), l.innerHTML = i;
|
|
237
|
+
const $ = (n = p.$nonce$) != null ? n : pe(E);
|
|
238
|
+
if ($ != null && l.setAttribute("nonce", $), !(t.$flags$ & 1))
|
|
239
|
+
if (e.nodeName === "HEAD") {
|
|
240
|
+
const c = e.querySelectorAll("link[rel=preconnect]"), f = c.length > 0 ? c[c.length - 1].nextSibling : e.querySelector("style");
|
|
241
|
+
e.insertBefore(
|
|
242
|
+
l,
|
|
243
|
+
f?.parentNode === e ? f : null
|
|
244
|
+
);
|
|
245
|
+
} else if ("host" in e)
|
|
246
|
+
if (ue) {
|
|
247
|
+
const c = new CSSStyleSheet();
|
|
248
|
+
c.replaceSync(i), e.adoptedStyleSheets = [c, ...e.adoptedStyleSheets];
|
|
249
|
+
} else {
|
|
250
|
+
const c = e.querySelector("style");
|
|
251
|
+
c ? c.innerHTML = i + c.innerHTML : e.prepend(l);
|
|
252
|
+
}
|
|
253
|
+
else
|
|
254
|
+
e.append(l);
|
|
255
|
+
t.$flags$ & 1 && e.insertBefore(l, null);
|
|
256
|
+
}
|
|
257
|
+
t.$flags$ & 4 && (l.innerHTML += de), a && a.add(r);
|
|
258
|
+
}
|
|
259
|
+
} else e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
|
|
260
|
+
return r;
|
|
261
|
+
}, lt = (e) => {
|
|
262
|
+
const t = e.$cmpMeta$, s = e.$hostElement$, n = t.$flags$, r = w("attachStyles", t.$tagName$), i = rt(
|
|
263
|
+
s.shadowRoot ? s.shadowRoot : s.getRootNode(),
|
|
264
|
+
t
|
|
265
|
+
);
|
|
266
|
+
(n & 10 && n & 2 || n & 128) && (s["s-sc"] = i, s.classList.add(i + "-h")), r();
|
|
267
|
+
}, Ee = (e, t) => "sc-" + e.$tagName$, ae = (e, t, s, n, r, i, a) => {
|
|
268
|
+
if (s !== n) {
|
|
269
|
+
let l = ne(e, t), $ = t.toLowerCase();
|
|
270
|
+
if (t === "class") {
|
|
271
|
+
const c = e.classList, f = $e(s);
|
|
272
|
+
let d = $e(n);
|
|
273
|
+
c.remove(...f.filter((o) => o && !d.includes(o))), c.add(...d.filter((o) => o && !f.includes(o)));
|
|
274
|
+
} else if (t === "style") {
|
|
275
|
+
for (const c in s)
|
|
276
|
+
(!n || n[c] == null) && (c.includes("-") ? e.style.removeProperty(c) : e.style[c] = "");
|
|
277
|
+
for (const c in n)
|
|
278
|
+
(!s || n[c] !== s[c]) && (c.includes("-") ? e.style.setProperty(c, n[c]) : e.style[c] = n[c]);
|
|
279
|
+
} else if (t !== "key") if (t === "ref")
|
|
280
|
+
n && n(e);
|
|
281
|
+
else if (!l && t[0] === "o" && t[1] === "n") {
|
|
282
|
+
if (t[2] === "-" ? t = t.slice(3) : ne(j, $) ? t = $.slice(2) : t = $[2] + t.slice(3), s || n) {
|
|
283
|
+
const c = t.endsWith(_e);
|
|
284
|
+
t = t.replace(ot, ""), s && p.rel(e, t, s, c), n && p.ael(e, t, n, c);
|
|
285
|
+
}
|
|
286
|
+
} else {
|
|
287
|
+
const c = V(n);
|
|
288
|
+
if ((l || c && n !== null) && !r)
|
|
289
|
+
try {
|
|
290
|
+
if (e.tagName.includes("-"))
|
|
291
|
+
e[t] !== n && (e[t] = n);
|
|
292
|
+
else {
|
|
293
|
+
const f = n ?? "";
|
|
294
|
+
t === "list" ? l = !1 : (s == null || e[t] != f) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = f : e.setAttribute(t, f));
|
|
295
|
+
}
|
|
296
|
+
} catch {
|
|
297
|
+
}
|
|
298
|
+
n == null || n === !1 ? (n !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !c && (n = n === !0 ? "" : n, e.setAttribute(t, n));
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}, it = /\s/, $e = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(it)), _e = "Capture", ot = new RegExp(_e + "$"), Te = (e, t, s, n) => {
|
|
302
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, a = t.$attrs$ || {};
|
|
303
|
+
for (const l of ce(Object.keys(i)))
|
|
304
|
+
l in a || ae(
|
|
305
|
+
r,
|
|
306
|
+
l,
|
|
307
|
+
i[l],
|
|
308
|
+
void 0,
|
|
309
|
+
s,
|
|
310
|
+
t.$flags$
|
|
311
|
+
);
|
|
312
|
+
for (const l of ce(Object.keys(a)))
|
|
313
|
+
ae(
|
|
314
|
+
r,
|
|
315
|
+
l,
|
|
316
|
+
i[l],
|
|
317
|
+
a[l],
|
|
318
|
+
s,
|
|
319
|
+
t.$flags$
|
|
320
|
+
);
|
|
321
|
+
};
|
|
322
|
+
function ce(e) {
|
|
323
|
+
return e.includes("ref") ? (
|
|
324
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
325
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
326
|
+
) : (
|
|
327
|
+
// no need to sort, return the original array
|
|
328
|
+
e
|
|
329
|
+
);
|
|
330
|
+
}
|
|
331
|
+
var Z, W, D = !1, C = !1, ee = !1, k = !1, F = (e, t, s) => {
|
|
332
|
+
var n;
|
|
333
|
+
const r = t.$children$[s];
|
|
334
|
+
let i = 0, a, l, $;
|
|
335
|
+
if (D || (ee = !0, r.$tag$ === "slot" && (r.$flags$ |= r.$children$ ? (
|
|
336
|
+
// slot element has fallback content
|
|
337
|
+
// still create an element that "mocks" the slot element
|
|
338
|
+
2
|
|
339
|
+
) : (
|
|
340
|
+
// slot element does not have fallback content
|
|
341
|
+
// create an html comment we'll use to always reference
|
|
342
|
+
// where actual slot content should sit next to
|
|
343
|
+
1
|
|
344
|
+
))), r.$text$ !== null)
|
|
345
|
+
a = r.$elm$ = E.createTextNode(r.$text$);
|
|
346
|
+
else if (r.$flags$ & 1)
|
|
347
|
+
a = r.$elm$ = E.createTextNode("");
|
|
348
|
+
else {
|
|
349
|
+
if (k || (k = r.$tag$ === "svg"), a = r.$elm$ = E.createElementNS(
|
|
350
|
+
k ? He : Ue,
|
|
351
|
+
!D && z.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
|
|
352
|
+
), k && r.$tag$ === "foreignObject" && (k = !1), Te(null, r, k), r.$children$)
|
|
353
|
+
for (i = 0; i < r.$children$.length; ++i)
|
|
354
|
+
l = F(e, r, i), l && a.appendChild(l);
|
|
355
|
+
r.$tag$ === "svg" ? k = !1 : a.tagName === "foreignObject" && (k = !0);
|
|
356
|
+
}
|
|
357
|
+
return a["s-hn"] = W, r.$flags$ & 3 && (a["s-sr"] = !0, a["s-cr"] = Z, a["s-sn"] = r.$name$ || "", a["s-rf"] = (n = r.$attrs$) == null ? void 0 : n.ref, $ = e && e.$children$ && e.$children$[s], $ && $.$tag$ === r.$tag$ && e.$elm$ && m(e.$elm$, !1)), a;
|
|
358
|
+
}, m = (e, t) => {
|
|
359
|
+
p.$flags$ |= 1;
|
|
360
|
+
const s = Array.from(e.__childNodes || e.childNodes);
|
|
361
|
+
e["s-sr"] && z.experimentalSlotFixes;
|
|
362
|
+
for (let n = s.length - 1; n >= 0; n--) {
|
|
363
|
+
const r = s[n];
|
|
364
|
+
r["s-hn"] !== W && r["s-ol"] && (O(I(r).parentNode, r, I(r)), r["s-ol"].remove(), r["s-ol"] = void 0, r["s-sh"] = void 0, ee = !0), t && m(r, t);
|
|
365
|
+
}
|
|
366
|
+
p.$flags$ &= -2;
|
|
367
|
+
}, xe = (e, t, s, n, r, i) => {
|
|
368
|
+
let a = e["s-cr"] && e["s-cr"].parentNode || e, l;
|
|
369
|
+
for (a.shadowRoot && a.tagName === W && (a = a.shadowRoot); r <= i; ++r)
|
|
370
|
+
n[r] && (l = F(null, s, r), l && (n[r].$elm$ = l, O(a, l, I(t))));
|
|
371
|
+
}, Le = (e, t, s) => {
|
|
372
|
+
for (let n = t; n <= s; ++n) {
|
|
373
|
+
const r = e[n];
|
|
374
|
+
if (r) {
|
|
375
|
+
const i = r.$elm$;
|
|
376
|
+
we(r), i && (C = !0, i["s-ol"] ? i["s-ol"].remove() : m(i, !0), i.remove());
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}, at = (e, t, s, n, r = !1) => {
|
|
380
|
+
let i = 0, a = 0, l = 0, $ = 0, c = t.length - 1, f = t[0], d = t[c], o = n.length - 1, u = n[0], h = n[o], v, S;
|
|
381
|
+
for (; i <= c && a <= o; )
|
|
382
|
+
if (f == null)
|
|
383
|
+
f = t[++i];
|
|
384
|
+
else if (d == null)
|
|
385
|
+
d = t[--c];
|
|
386
|
+
else if (u == null)
|
|
387
|
+
u = n[++a];
|
|
388
|
+
else if (h == null)
|
|
389
|
+
h = n[--o];
|
|
390
|
+
else if (U(f, u, r))
|
|
391
|
+
P(f, u, r), f = t[++i], u = n[++a];
|
|
392
|
+
else if (U(d, h, r))
|
|
393
|
+
P(d, h, r), d = t[--c], h = n[--o];
|
|
394
|
+
else if (U(f, h, r))
|
|
395
|
+
(f.$tag$ === "slot" || h.$tag$ === "slot") && m(f.$elm$.parentNode, !1), P(f, h, r), O(e, f.$elm$, d.$elm$.nextSibling), f = t[++i], h = n[--o];
|
|
396
|
+
else if (U(d, u, r))
|
|
397
|
+
(f.$tag$ === "slot" || h.$tag$ === "slot") && m(d.$elm$.parentNode, !1), P(d, u, r), O(e, d.$elm$, f.$elm$), d = t[--c], u = n[++a];
|
|
398
|
+
else {
|
|
399
|
+
for (l = -1, $ = i; $ <= c; ++$)
|
|
400
|
+
if (t[$] && t[$].$key$ !== null && t[$].$key$ === u.$key$) {
|
|
401
|
+
l = $;
|
|
402
|
+
break;
|
|
403
|
+
}
|
|
404
|
+
l >= 0 ? (S = t[l], S.$tag$ !== u.$tag$ ? v = F(t && t[a], s, l) : (P(S, u, r), t[l] = void 0, v = S.$elm$), u = n[++a]) : (v = F(t && t[a], s, a), u = n[++a]), v && O(
|
|
405
|
+
I(f.$elm$).parentNode,
|
|
406
|
+
v,
|
|
407
|
+
I(f.$elm$)
|
|
408
|
+
);
|
|
409
|
+
}
|
|
410
|
+
i > c ? xe(
|
|
411
|
+
e,
|
|
412
|
+
n[o + 1] == null ? null : n[o + 1].$elm$,
|
|
413
|
+
s,
|
|
414
|
+
n,
|
|
415
|
+
a,
|
|
416
|
+
o
|
|
417
|
+
) : a > o && Le(t, i, c);
|
|
418
|
+
}, U = (e, t, s = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : s ? (s && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, I = (e) => e && e["s-ol"] || e, P = (e, t, s = !1) => {
|
|
419
|
+
const n = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, a = t.$tag$, l = t.$text$;
|
|
420
|
+
let $;
|
|
421
|
+
l === null ? (k = a === "svg" ? !0 : a === "foreignObject" ? !1 : k, a === "slot" && !D || Te(e, t, k), r !== null && i !== null ? at(n, r, t, i, s) : i !== null ? (e.$text$ !== null && (n.textContent = ""), xe(n, null, t, i, 0, i.length - 1)) : (
|
|
422
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
423
|
+
!s && z.updatable && r !== null && Le(r, 0, r.length - 1)
|
|
424
|
+
), k && a === "svg" && (k = !1)) : ($ = n["s-cr"]) ? $.parentNode.textContent = l : e.$text$ !== l && (n.data = l);
|
|
425
|
+
}, b = [], be = (e) => {
|
|
426
|
+
let t, s, n;
|
|
427
|
+
const r = e.__childNodes || e.childNodes;
|
|
428
|
+
for (const i of r) {
|
|
429
|
+
if (i["s-sr"] && (t = i["s-cr"]) && t.parentNode) {
|
|
430
|
+
s = t.parentNode.__childNodes || t.parentNode.childNodes;
|
|
431
|
+
const a = i["s-sn"];
|
|
432
|
+
for (n = s.length - 1; n >= 0; n--)
|
|
433
|
+
if (t = s[n], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== i["s-hn"])
|
|
434
|
+
if (ie(t, a)) {
|
|
435
|
+
let l = b.find(($) => $.$nodeToRelocate$ === t);
|
|
436
|
+
C = !0, t["s-sn"] = t["s-sn"] || a, l ? (l.$nodeToRelocate$["s-sh"] = i["s-hn"], l.$slotRefNode$ = i) : (t["s-sh"] = i["s-hn"], b.push({
|
|
437
|
+
$slotRefNode$: i,
|
|
438
|
+
$nodeToRelocate$: t
|
|
439
|
+
})), t["s-sr"] && b.map(($) => {
|
|
440
|
+
ie($.$nodeToRelocate$, t["s-sn"]) && (l = b.find((c) => c.$nodeToRelocate$ === t), l && !$.$slotRefNode$ && ($.$slotRefNode$ = l.$slotRefNode$));
|
|
441
|
+
});
|
|
442
|
+
} else b.some((l) => l.$nodeToRelocate$ === t) || b.push({
|
|
443
|
+
$nodeToRelocate$: t
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
i.nodeType === 1 && be(i);
|
|
447
|
+
}
|
|
448
|
+
}, we = (e) => {
|
|
449
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(we);
|
|
450
|
+
}, O = (e, t, s) => e?.insertBefore(t, s), $t = (e, t, s = !1) => {
|
|
451
|
+
var n, r, i, a;
|
|
452
|
+
const l = e.$hostElement$, $ = e.$cmpMeta$, c = e.$vnode$ || B(null, null), f = Ve(t) ? t : Se(null, null, t);
|
|
453
|
+
if (W = l.tagName, $.$attrsToReflect$ && (f.$attrs$ = f.$attrs$ || {}, $.$attrsToReflect$.map(
|
|
454
|
+
([d, o]) => f.$attrs$[o] = l[d]
|
|
455
|
+
)), s && f.$attrs$)
|
|
456
|
+
for (const d of Object.keys(f.$attrs$))
|
|
457
|
+
l.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && (f.$attrs$[d] = l[d]);
|
|
458
|
+
f.$tag$ = null, f.$flags$ |= 4, e.$vnode$ = f, f.$elm$ = c.$elm$ = l.shadowRoot || l, D = !!($.$flags$ & 1) && !($.$flags$ & 128), Z = l["s-cr"], C = !1, P(c, f, s);
|
|
459
|
+
{
|
|
460
|
+
if (p.$flags$ |= 1, ee) {
|
|
461
|
+
be(f.$elm$);
|
|
462
|
+
for (const d of b) {
|
|
463
|
+
const o = d.$nodeToRelocate$;
|
|
464
|
+
if (!o["s-ol"]) {
|
|
465
|
+
const u = E.createTextNode("");
|
|
466
|
+
u["s-nr"] = o, O(o.parentNode, o["s-ol"] = u, o);
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
for (const d of b) {
|
|
470
|
+
const o = d.$nodeToRelocate$, u = d.$slotRefNode$;
|
|
471
|
+
if (u) {
|
|
472
|
+
const h = u.parentNode;
|
|
473
|
+
let v = u.nextSibling;
|
|
474
|
+
{
|
|
475
|
+
let _ = (n = o["s-ol"]) == null ? void 0 : n.previousSibling;
|
|
476
|
+
for (; _; ) {
|
|
477
|
+
let y = (r = _["s-nr"]) != null ? r : null;
|
|
478
|
+
if (y && y["s-sn"] === o["s-sn"] && h === (y.__parentNode || y.parentNode)) {
|
|
479
|
+
for (y = y.nextSibling; y === o || y?.["s-sr"]; )
|
|
480
|
+
y = y?.nextSibling;
|
|
481
|
+
if (!y || !y["s-nr"]) {
|
|
482
|
+
v = y;
|
|
483
|
+
break;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
_ = _.previousSibling;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
const S = o.__parentNode || o.parentNode, g = o.__nextSibling || o.nextSibling;
|
|
490
|
+
(!v && h !== S || g !== v) && o !== v && (!o["s-hn"] && o["s-ol"] && (o["s-hn"] = o["s-ol"].parentNode.nodeName), O(h, o, v), o.nodeType === 1 && o.tagName !== "SLOT-FB" && (o.hidden = (i = o["s-ih"]) != null ? i : !1)), o && typeof u["s-rf"] == "function" && u["s-rf"](o);
|
|
491
|
+
} else
|
|
492
|
+
o.nodeType === 1 && (s && (o["s-ih"] = (a = o.hidden) != null ? a : !1), o.hidden = !0);
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
C && ge(f.$elm$), p.$flags$ &= -2, b.length = 0;
|
|
496
|
+
}
|
|
497
|
+
Z = void 0;
|
|
498
|
+
}, Oe = (e, t) => {
|
|
499
|
+
if (t && !e.$onRenderResolve$ && t["s-p"]) {
|
|
500
|
+
const s = t["s-p"].push(
|
|
501
|
+
new Promise(
|
|
502
|
+
(n) => e.$onRenderResolve$ = () => {
|
|
503
|
+
t["s-p"].splice(s - 1, 1), n();
|
|
504
|
+
}
|
|
505
|
+
)
|
|
506
|
+
);
|
|
507
|
+
}
|
|
508
|
+
}, te = (e, t) => {
|
|
509
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
510
|
+
e.$flags$ |= 512;
|
|
511
|
+
return;
|
|
512
|
+
}
|
|
513
|
+
return Oe(e, e.$ancestorComponent$), Ye(() => ct(e, t));
|
|
514
|
+
}, ct = (e, t) => {
|
|
515
|
+
const s = e.$hostElement$, n = w("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
516
|
+
if (!r)
|
|
517
|
+
throw new Error(
|
|
518
|
+
`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`
|
|
519
|
+
);
|
|
520
|
+
let i;
|
|
521
|
+
return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([a, l]) => R(r, a, l, s)), e.$queuedListeners$ = void 0), i = R(r, "componentWillLoad", void 0, s)), n(), ft(i, () => ut(e, r, t));
|
|
522
|
+
}, ft = (e, t) => dt(e) ? e.then(t).catch((s) => {
|
|
523
|
+
console.error(s), t();
|
|
524
|
+
}) : t(), dt = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", ut = async (e, t, s) => {
|
|
525
|
+
var n;
|
|
526
|
+
const r = e.$hostElement$, i = w("update", e.$cmpMeta$.$tagName$), a = r["s-rc"];
|
|
527
|
+
s && lt(e);
|
|
528
|
+
const l = w("render", e.$cmpMeta$.$tagName$);
|
|
529
|
+
ht(e, t, r, s), a && (a.map(($) => $()), r["s-rc"] = void 0), l(), i();
|
|
530
|
+
{
|
|
531
|
+
const $ = (n = r["s-p"]) != null ? n : [], c = () => pt(e);
|
|
532
|
+
$.length === 0 ? c() : (Promise.all($).then(c), e.$flags$ |= 4, $.length = 0);
|
|
533
|
+
}
|
|
534
|
+
}, ht = (e, t, s, n) => {
|
|
535
|
+
try {
|
|
536
|
+
t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, $t(e, t, n);
|
|
537
|
+
} catch (r) {
|
|
538
|
+
L(r, e.$hostElement$);
|
|
539
|
+
}
|
|
540
|
+
return null;
|
|
541
|
+
}, pt = (e) => {
|
|
542
|
+
const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = w("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
|
|
543
|
+
R(r, "componentDidRender", void 0, s), e.$flags$ & 64 ? n() : (e.$flags$ |= 64, vt(s), R(r, "componentDidLoad", void 0, s), n(), e.$onReadyResolve$(s), i || Pe()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && N(() => te(e, !1)), e.$flags$ &= -517;
|
|
544
|
+
}, Pe = (e) => {
|
|
545
|
+
N(() => ke(j, "appload", { detail: { namespace: Ie } }));
|
|
546
|
+
}, R = (e, t, s, n) => {
|
|
547
|
+
if (e && e[t])
|
|
548
|
+
try {
|
|
549
|
+
return e[t](s);
|
|
550
|
+
} catch (r) {
|
|
551
|
+
L(r, n);
|
|
552
|
+
}
|
|
553
|
+
}, vt = (e) => {
|
|
554
|
+
var t;
|
|
555
|
+
return e.classList.add((t = z.hydratedSelectorName) != null ? t : "hydrated");
|
|
556
|
+
}, gt = (e, t) => x(e).$instanceValues$.get(t), Y = (e, t, s, n) => {
|
|
557
|
+
const r = x(e);
|
|
558
|
+
if (!r)
|
|
559
|
+
throw new Error(
|
|
560
|
+
`Couldn't find host element for "${n.$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).`
|
|
561
|
+
);
|
|
562
|
+
const i = r.$hostElement$, a = r.$instanceValues$.get(t), l = r.$flags$, $ = r.$lazyInstance$;
|
|
563
|
+
s = Q(s, n.$members$[t][0]);
|
|
564
|
+
const c = Number.isNaN(a) && Number.isNaN(s), f = s !== a && !c;
|
|
565
|
+
if ((!(l & 8) || a === void 0) && f && (r.$instanceValues$.set(t, s), $)) {
|
|
566
|
+
if (n.$watchers$ && l & 128) {
|
|
567
|
+
const d = n.$watchers$[t];
|
|
568
|
+
d && d.map((o) => {
|
|
569
|
+
try {
|
|
570
|
+
$[o](s, a, t);
|
|
571
|
+
} catch (u) {
|
|
572
|
+
L(u, i);
|
|
573
|
+
}
|
|
574
|
+
});
|
|
575
|
+
}
|
|
576
|
+
(l & 18) === 2 && te(r, !1);
|
|
577
|
+
}
|
|
578
|
+
}, Ae = (e, t, s) => {
|
|
579
|
+
var n, r;
|
|
580
|
+
const i = e.prototype;
|
|
581
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
582
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
583
|
+
const a = Object.entries((n = t.$members$) != null ? n : {});
|
|
584
|
+
if (a.map(([l, [$]]) => {
|
|
585
|
+
if ($ & 31 || s & 2 && $ & 32) {
|
|
586
|
+
const { get: c, set: f } = Object.getOwnPropertyDescriptor(i, l) || {};
|
|
587
|
+
c && (t.$members$[l][0] |= 2048), f && (t.$members$[l][0] |= 4096), (s & 1 || !c) && Object.defineProperty(i, l, {
|
|
588
|
+
get() {
|
|
589
|
+
{
|
|
590
|
+
if (!(t.$members$[l][0] & 2048))
|
|
591
|
+
return gt(this, l);
|
|
592
|
+
const d = x(this), o = d ? d.$lazyInstance$ : i;
|
|
593
|
+
return o ? o[l] : void 0;
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
configurable: !0,
|
|
597
|
+
enumerable: !0
|
|
598
|
+
}), Object.defineProperty(i, l, {
|
|
599
|
+
set(d) {
|
|
600
|
+
const o = x(this);
|
|
601
|
+
if (f) {
|
|
602
|
+
const u = $ & 32 ? this[l] : o.$hostElement$[l];
|
|
603
|
+
typeof u > "u" && o.$instanceValues$.get(l) ? d = o.$instanceValues$.get(l) : !o.$instanceValues$.get(l) && u && o.$instanceValues$.set(l, u), f.apply(this, [Q(d, $)]), d = $ & 32 ? this[l] : o.$hostElement$[l], Y(this, l, d, t);
|
|
604
|
+
return;
|
|
605
|
+
}
|
|
606
|
+
{
|
|
607
|
+
if (!(s & 1) || !(t.$members$[l][0] & 4096)) {
|
|
608
|
+
Y(this, l, d, t), s & 1 && !o.$lazyInstance$ && o.$onReadyPromise$.then(() => {
|
|
609
|
+
t.$members$[l][0] & 4096 && o.$lazyInstance$[l] !== o.$instanceValues$.get(l) && (o.$lazyInstance$[l] = d);
|
|
610
|
+
});
|
|
611
|
+
return;
|
|
612
|
+
}
|
|
613
|
+
const u = () => {
|
|
614
|
+
const h = o.$lazyInstance$[l];
|
|
615
|
+
!o.$instanceValues$.get(l) && h && o.$instanceValues$.set(l, h), o.$lazyInstance$[l] = Q(d, $), Y(this, l, o.$lazyInstance$[l], t);
|
|
616
|
+
};
|
|
617
|
+
o.$lazyInstance$ ? u() : o.$onReadyPromise$.then(() => u());
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
}), s & 1) {
|
|
623
|
+
const l = /* @__PURE__ */ new Map();
|
|
624
|
+
i.attributeChangedCallback = function($, c, f) {
|
|
625
|
+
p.jmp(() => {
|
|
626
|
+
var d;
|
|
627
|
+
const o = l.get($);
|
|
628
|
+
if (this.hasOwnProperty(o) && z.lazyLoad)
|
|
629
|
+
f = this[o], delete this[o];
|
|
630
|
+
else {
|
|
631
|
+
if (i.hasOwnProperty(o) && typeof this[o] == "number" && // cast type to number to avoid TS compiler issues
|
|
632
|
+
this[o] == f)
|
|
633
|
+
return;
|
|
634
|
+
if (o == null) {
|
|
635
|
+
const h = x(this), v = h?.$flags$;
|
|
636
|
+
if (v && !(v & 8) && v & 128 && f !== c) {
|
|
637
|
+
const S = h.$lazyInstance$, g = (d = t.$watchers$) == null ? void 0 : d[$];
|
|
638
|
+
g?.forEach((_) => {
|
|
639
|
+
S[_] != null && S[_].call(S, f, c, $);
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
return;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
const u = Object.getOwnPropertyDescriptor(i, o);
|
|
646
|
+
f = f === null && typeof this[o] == "boolean" ? !1 : f, f !== this[o] && (!u.get || u.set) && (this[o] = f);
|
|
647
|
+
});
|
|
648
|
+
}, e.observedAttributes = Array.from(
|
|
649
|
+
/* @__PURE__ */ new Set([
|
|
650
|
+
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
651
|
+
...a.filter(
|
|
652
|
+
([$, c]) => c[0] & 15
|
|
653
|
+
/* HasAttribute */
|
|
654
|
+
).map(([$, c]) => {
|
|
655
|
+
var f;
|
|
656
|
+
const d = c[1] || $;
|
|
657
|
+
return l.set(d, $), c[0] & 512 && ((f = t.$attrsToReflect$) == null || f.push([$, d])), d;
|
|
658
|
+
})
|
|
659
|
+
])
|
|
660
|
+
);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
return e;
|
|
664
|
+
}, yt = async (e, t, s, n) => {
|
|
665
|
+
let r;
|
|
666
|
+
if (!(t.$flags$ & 32)) {
|
|
667
|
+
if (t.$flags$ |= 32, s.$lazyBundleId$) {
|
|
668
|
+
const $ = Be(s, t);
|
|
669
|
+
if ($ && "then" in $) {
|
|
670
|
+
const f = Me();
|
|
671
|
+
r = await $, f();
|
|
672
|
+
} else
|
|
673
|
+
r = $;
|
|
674
|
+
if (!r)
|
|
675
|
+
throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
|
|
676
|
+
r.isProxied || (s.$watchers$ = r.watchers, Ae(
|
|
677
|
+
r,
|
|
678
|
+
s,
|
|
679
|
+
2
|
|
680
|
+
/* proxyState */
|
|
681
|
+
), r.isProxied = !0);
|
|
682
|
+
const c = w("createInstance", s.$tagName$);
|
|
683
|
+
t.$flags$ |= 8;
|
|
684
|
+
try {
|
|
685
|
+
new r(t);
|
|
686
|
+
} catch (f) {
|
|
687
|
+
L(f, e);
|
|
688
|
+
}
|
|
689
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
690
|
+
} else {
|
|
691
|
+
r = e.constructor;
|
|
692
|
+
const $ = e.localName;
|
|
693
|
+
customElements.whenDefined($).then(
|
|
694
|
+
() => t.$flags$ |= 128
|
|
695
|
+
/* isWatchReady */
|
|
696
|
+
);
|
|
697
|
+
}
|
|
698
|
+
if (r && r.style) {
|
|
699
|
+
let $;
|
|
700
|
+
typeof r.style == "string" && ($ = r.style);
|
|
701
|
+
const c = Ee(s);
|
|
702
|
+
if (!q.has(c)) {
|
|
703
|
+
const f = w("registerStyles", s.$tagName$);
|
|
704
|
+
nt(c, $, !!(s.$flags$ & 1)), f();
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
const i = t.$ancestorComponent$, a = () => te(t, !0);
|
|
709
|
+
i && i["s-rc"] ? i["s-rc"].push(a) : a();
|
|
710
|
+
}, St = (e, t) => {
|
|
711
|
+
}, kt = (e) => {
|
|
712
|
+
if (!(p.$flags$ & 1)) {
|
|
713
|
+
const t = x(e), s = t.$cmpMeta$, n = w("connectedCallback", s.$tagName$);
|
|
714
|
+
if (t.$flags$ & 1)
|
|
715
|
+
je(e, t, s.$listeners$), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => St());
|
|
716
|
+
else {
|
|
717
|
+
t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
718
|
+
s.$flags$ & 12 && Et(e);
|
|
719
|
+
{
|
|
720
|
+
let r = e;
|
|
721
|
+
for (; r = r.parentNode || r.host; )
|
|
722
|
+
if (r["s-p"]) {
|
|
723
|
+
Oe(t, t.$ancestorComponent$ = r);
|
|
724
|
+
break;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
s.$members$ && Object.entries(s.$members$).map(([r, [i]]) => {
|
|
728
|
+
if (i & 31 && e.hasOwnProperty(r)) {
|
|
729
|
+
const a = e[r];
|
|
730
|
+
delete e[r], e[r] = a;
|
|
731
|
+
}
|
|
732
|
+
}), yt(e, t, s);
|
|
733
|
+
}
|
|
734
|
+
n();
|
|
735
|
+
}
|
|
736
|
+
}, Et = (e) => {
|
|
737
|
+
const t = e["s-cr"] = E.createComment(
|
|
738
|
+
""
|
|
739
|
+
);
|
|
740
|
+
t["s-cn"] = !0, O(e, t, e.firstChild);
|
|
741
|
+
}, fe = (e, t) => {
|
|
742
|
+
R(e, "disconnectedCallback", void 0, t || e);
|
|
743
|
+
}, _t = async (e) => {
|
|
744
|
+
if (!(p.$flags$ & 1)) {
|
|
745
|
+
const t = x(e);
|
|
746
|
+
t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t?.$lazyInstance$ ? fe(t.$lazyInstance$, e) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => fe(t.$lazyInstance$, e));
|
|
747
|
+
}
|
|
748
|
+
A.has(e) && A.delete(e), e.shadowRoot && A.has(e.shadowRoot) && A.delete(e.shadowRoot);
|
|
749
|
+
}, Pt = (e, t = {}) => {
|
|
750
|
+
var s;
|
|
751
|
+
const n = w(), r = [], i = t.exclude || [], a = j.customElements, l = E.head, $ = /* @__PURE__ */ l.querySelector("meta[charset]"), c = /* @__PURE__ */ E.createElement("style"), f = [];
|
|
752
|
+
let d, o = !0;
|
|
753
|
+
Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", E.baseURI).href;
|
|
754
|
+
let u = !1;
|
|
755
|
+
if (e.map((h) => {
|
|
756
|
+
h[1].map((v) => {
|
|
757
|
+
var S;
|
|
758
|
+
const g = {
|
|
759
|
+
$flags$: v[0],
|
|
760
|
+
$tagName$: v[1],
|
|
761
|
+
$members$: v[2],
|
|
762
|
+
$listeners$: v[3]
|
|
763
|
+
};
|
|
764
|
+
g.$flags$ & 4 && (u = !0), g.$members$ = v[2], g.$listeners$ = v[3], g.$attrsToReflect$ = [], g.$watchers$ = (S = v[4]) != null ? S : {};
|
|
765
|
+
const _ = g.$tagName$, y = class extends HTMLElement {
|
|
766
|
+
// StencilLazyHost
|
|
767
|
+
constructor(T) {
|
|
768
|
+
if (super(T), this.hasRegisteredEventListeners = !1, T = this, qe(T, g), g.$flags$ & 1) {
|
|
769
|
+
if (!T.shadowRoot)
|
|
770
|
+
T.attachShadow({ mode: "open" });
|
|
771
|
+
else if (T.shadowRoot.mode !== "open")
|
|
772
|
+
throw new Error(
|
|
773
|
+
`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${T.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
774
|
+
);
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
connectedCallback() {
|
|
778
|
+
const T = x(this);
|
|
779
|
+
this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, je(this, T, g.$listeners$)), d && (clearTimeout(d), d = null), o ? f.push(this) : p.jmp(() => kt(this));
|
|
780
|
+
}
|
|
781
|
+
disconnectedCallback() {
|
|
782
|
+
p.jmp(() => _t(this)), p.raf(() => {
|
|
783
|
+
var T;
|
|
784
|
+
const H = x(this), se = f.findIndex((me) => me === this);
|
|
785
|
+
se > -1 && f.splice(se, 1), ((T = H?.$vnode$) == null ? void 0 : T.$elm$) instanceof Node && !H.$vnode$.$elm$.isConnected && delete H.$vnode$.$elm$;
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
componentOnReady() {
|
|
789
|
+
return x(this).$onReadyPromise$;
|
|
790
|
+
}
|
|
791
|
+
};
|
|
792
|
+
g.$lazyBundleId$ = h[0], !i.includes(_) && !a.get(_) && (r.push(_), a.define(
|
|
793
|
+
_,
|
|
794
|
+
Ae(
|
|
795
|
+
y,
|
|
796
|
+
g,
|
|
797
|
+
1
|
|
798
|
+
/* isElementConstructor */
|
|
799
|
+
)
|
|
800
|
+
));
|
|
801
|
+
});
|
|
802
|
+
}), r.length > 0 && (u && (c.textContent += de), c.textContent += r.sort() + Ce, c.innerHTML.length)) {
|
|
803
|
+
c.setAttribute("data-styles", "");
|
|
804
|
+
const h = (s = p.$nonce$) != null ? s : pe(E);
|
|
805
|
+
h != null && c.setAttribute("nonce", h), l.insertBefore(c, $ ? $.nextSibling : l.firstChild);
|
|
806
|
+
}
|
|
807
|
+
o = !1, f.length ? f.map((h) => h.connectedCallback()) : p.jmp(() => d = setTimeout(Pe, 30)), n();
|
|
808
|
+
}, At = (e, t) => t, je = (e, t, s, n) => {
|
|
809
|
+
s && s.map(([r, i, a]) => {
|
|
810
|
+
const l = xt(e, r), $ = Tt(t, a), c = Lt(r);
|
|
811
|
+
p.ael(l, i, $, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => p.rel(l, i, $, c));
|
|
812
|
+
});
|
|
813
|
+
}, Tt = (e, t) => (s) => {
|
|
814
|
+
var n;
|
|
815
|
+
try {
|
|
816
|
+
e.$flags$ & 256 ? (n = e.$lazyInstance$) == null || n[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
|
|
817
|
+
} catch (r) {
|
|
818
|
+
L(r, e.$hostElement$);
|
|
819
|
+
}
|
|
820
|
+
}, xt = (e, t) => t & 8 ? j : e, Lt = (e) => Fe ? {
|
|
821
|
+
passive: (e & 1) !== 0,
|
|
822
|
+
capture: (e & 2) !== 0
|
|
823
|
+
} : (e & 2) !== 0;
|
|
824
|
+
export {
|
|
825
|
+
At as F,
|
|
826
|
+
wt as a,
|
|
827
|
+
Pt as b,
|
|
828
|
+
Ot as c,
|
|
829
|
+
st as g,
|
|
830
|
+
Se as h,
|
|
831
|
+
We as p,
|
|
832
|
+
bt as r
|
|
833
|
+
};
|