@everymatrix/casino-header-controller 1.64.8 → 1.65.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/{CasinoHamburgerMenu-BMkeLxFw.js → CasinoHamburgerMenu-B1dY3jHB.js} +886 -907
- package/components/CasinoHamburgerMenu-CaFkIr3d.cjs +21 -0
- package/components/{CasinoHamburgerMenu-CTVc2-UF.js → CasinoHamburgerMenu-pBvrxlJy.js} +830 -851
- package/components/CasinoHeaderController-B0cFJgaJ.cjs +13 -0
- package/components/CasinoHeaderController-Bn2AwIyI.js +3246 -0
- package/components/CasinoHeaderController-DOdeXoey.js +3223 -0
- package/components/{CasinoSlider-Deb0x84t.js → CasinoSlider-BEx_hpVM.js} +88 -88
- package/components/{CasinoSlider-CTcAOyCp.js → CasinoSlider-CKGPxibK.js} +57 -57
- package/components/{CasinoSlider-DqTtsMWh.cjs → CasinoSlider-CL_Uac-c.cjs} +1 -1
- package/components/PlayerAccountBalanceModal-BKMugmnm.js +1539 -0
- package/components/PlayerAccountBalanceModal-CK68FRSV.js +1510 -0
- package/components/PlayerAccountBalanceModal-iP2HDeoz.cjs +13 -0
- package/components/PlayerDeposit-BsUiL_LS.cjs +1 -0
- package/components/{PlayerDeposit-BZuTQSyp.js → PlayerDeposit-Byf7G3yu.js} +72 -72
- package/components/{PlayerDeposit-eY_YGhMJ.js → PlayerDeposit-C-Fbg92q.js} +72 -72
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-B6nNHmA4.js +7 -0
- package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +1 -0
- package/stencil/gamification-dropdown-8eb8a896-BXV0d81L.cjs +1 -0
- package/stencil/gamification-dropdown-8eb8a896-CxTBD8Oq.js +144 -0
- package/stencil/gamification-dropdown-8eb8a896-DsjvIRRh.js +126 -0
- package/stencil/gamification-dropdown-C_xYxEL8.js +7 -0
- package/stencil/gamification-dropdown-DG0vAJtO.js +25 -0
- package/stencil/gamification-dropdown-DUk8bbFT.cjs +1 -0
- package/stencil/gamification-dropdown_4-Be_N4EeF.js +451 -0
- package/stencil/gamification-dropdown_4-DuMaGjcI.cjs +192 -0
- package/stencil/gamification-dropdown_4-zImC9hF9.js +469 -0
- package/stencil/index-1ef3a64c-C31PLQx3.js +572 -0
- package/stencil/index-1ef3a64c-CkoGfMtU.cjs +1 -0
- package/stencil/index-1ef3a64c-WzZ9mlMM.js +556 -0
- package/stencil/index-71b1bdfa-Dm7yvsrK.js +784 -0
- package/stencil/index-71b1bdfa-DzyepuUf.js +757 -0
- package/stencil/index-71b1bdfa-urw3SgKF.cjs +1 -0
- package/stencil/locale-DHn5ZpQu.cjs +1 -0
- package/stencil/locale-DuSXBQwH.js +215 -0
- package/stencil/player-elevate-card-C6V7VROS.cjs +64 -0
- package/stencil/player-elevate-card-Cmxvkrge.js +106 -0
- package/stencil/player-elevate-card-DL6XwNnq.js +106 -0
- package/stencil/player-elevate-card-items-66be34fb-BUkxBwF8.js +1292 -0
- package/stencil/player-elevate-card-items-66be34fb-BjQeJ-p9.js +1292 -0
- package/stencil/player-elevate-card-items-66be34fb-DeUY02M2.cjs +1 -0
- package/stencil/player-elevate-pointcard-CbCIvh8I.cjs +1 -0
- package/stencil/player-elevate-pointcard-DYOUbwi3.js +44 -0
- package/stencil/player-elevate-pointcard-dDiPwAiV.js +44 -0
- package/stencil/player-rakeback-card-BMHeEc3P.cjs +1 -0
- package/stencil/player-rakeback-card-CixEJCwY.js +137 -0
- package/stencil/player-rakeback-card-CxD8OOP-.js +111 -0
- package/stencil/{user-deposit-withdrawal-4aK-1zzW.js → user-deposit-withdrawal-CXMt1MVo.js} +2 -2
- package/stencil/user-deposit-withdrawal-Ck524nr-.cjs +68 -0
- package/stencil/{user-deposit-withdrawal-BhsnZiSd.js → user-deposit-withdrawal-DU6VQt9M.js} +2 -2
- package/components/CasinoHamburgerMenu-CrZ5l9tM.cjs +0 -21
- package/components/CasinoHeaderController-BIefUWQL.js +0 -3114
- package/components/CasinoHeaderController-DSyglpDF.cjs +0 -13
- package/components/CasinoHeaderController-KfLekr0Q.js +0 -3137
- package/components/PlayerAccountBalanceModal-BFDpI9Sy.cjs +0 -13
- package/components/PlayerAccountBalanceModal-CNXuqjqU.js +0 -1539
- package/components/PlayerAccountBalanceModal-DbULiu-f.js +0 -1510
- package/components/PlayerDeposit-BXwT7NVp.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/index-1ef3a64c-B6t9gkO1.js +0 -556
- package/stencil/index-1ef3a64c-BdrVNGQe.cjs +0 -1
- package/stencil/index-1ef3a64c-BfGbBN_r.js +0 -572
- package/stencil/user-deposit-withdrawal-HQmDGKFu.cjs +0 -68
@@ -0,0 +1,784 @@
|
|
1
|
+
var Ne = Object.defineProperty;
|
2
|
+
var V = Object.getOwnPropertySymbols;
|
3
|
+
var je = Object.prototype.hasOwnProperty, Ue = Object.prototype.propertyIsEnumerable;
|
4
|
+
var ee = (e, t, s) => t in e ? Ne(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, te = (e, t) => {
|
5
|
+
for (var s in t || (t = {}))
|
6
|
+
je.call(t, s) && ee(e, s, t[s]);
|
7
|
+
if (V)
|
8
|
+
for (var s of V(t))
|
9
|
+
Ue.call(t, s) && ee(e, s, t[s]);
|
10
|
+
return e;
|
11
|
+
};
|
12
|
+
var N = (e, t, s) => new Promise((r, n) => {
|
13
|
+
var l = (a) => {
|
14
|
+
try {
|
15
|
+
i(s.next(a));
|
16
|
+
} catch (c) {
|
17
|
+
n(c);
|
18
|
+
}
|
19
|
+
}, o = (a) => {
|
20
|
+
try {
|
21
|
+
i(s.throw(a));
|
22
|
+
} catch (c) {
|
23
|
+
n(c);
|
24
|
+
}
|
25
|
+
}, i = (a) => a.done ? r(a.value) : Promise.resolve(a.value).then(l, o);
|
26
|
+
i((s = s.apply(e, t)).next());
|
27
|
+
});
|
28
|
+
const Fe = "gamification-dropdown", z = (
|
29
|
+
/* gamification-dropdown */
|
30
|
+
{ allRenderFn: !1, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !0, hostListenerTarget: !0, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !0, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !1, propString: !0, reflect: !0, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !0, slotChildNodesFix: !1, slotRelocation: !0, state: !0, style: !0, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
31
|
+
);
|
32
|
+
var Ie = Object.defineProperty, De = (e, t) => {
|
33
|
+
for (var s in t)
|
34
|
+
Ie(e, s, { get: t[s], enumerable: !0 });
|
35
|
+
}, X = /* @__PURE__ */ new WeakMap(), E = (e) => X.get(e), Rt = (e, t) => X.set(t.$lazyInstance$ = e, t), He = (e, t) => {
|
36
|
+
const s = {
|
37
|
+
$flags$: 0,
|
38
|
+
$hostElement$: e,
|
39
|
+
$cmpMeta$: t,
|
40
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
41
|
+
};
|
42
|
+
return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], X.set(e, s);
|
43
|
+
}, se = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), B = /* @__PURE__ */ new Map(), ze = (e, t, s) => {
|
44
|
+
const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
|
45
|
+
if (!n)
|
46
|
+
return;
|
47
|
+
const l = B.get(n);
|
48
|
+
if (l)
|
49
|
+
return l[r];
|
50
|
+
{
|
51
|
+
const o = (i) => (B.set(n, i), i[r]);
|
52
|
+
switch (n) {
|
53
|
+
case "gamification-dropdown_4":
|
54
|
+
return import(
|
55
|
+
/* webpackMode: "lazy" */
|
56
|
+
"./gamification-dropdown_4-zImC9hF9.js"
|
57
|
+
).then(o, b);
|
58
|
+
case "player-elevate-card":
|
59
|
+
return import(
|
60
|
+
/* webpackMode: "lazy" */
|
61
|
+
"./player-elevate-card-DL6XwNnq.js"
|
62
|
+
).then(o, b);
|
63
|
+
case "player-elevate-pointcard":
|
64
|
+
return import(
|
65
|
+
/* webpackMode: "lazy" */
|
66
|
+
"./player-elevate-pointcard-DYOUbwi3.js"
|
67
|
+
).then(o, b);
|
68
|
+
case "player-rakeback-card":
|
69
|
+
return import(
|
70
|
+
/* webpackMode: "lazy" */
|
71
|
+
"./player-rakeback-card-CixEJCwY.js"
|
72
|
+
).then(o, b);
|
73
|
+
}
|
74
|
+
}
|
75
|
+
return import(
|
76
|
+
/* @vite-ignore */
|
77
|
+
/* webpackInclude: /\.entry\.js$/ */
|
78
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
79
|
+
/* webpackMode: "lazy" */
|
80
|
+
`./${n}.entry.js`
|
81
|
+
).then((o) => (B.set(n, o), o[r]), b);
|
82
|
+
}, U = /* @__PURE__ */ new Map(), Be = "{visibility:hidden}.hydrated{visibility:inherit}", ue = "slot-fb{display:contents}slot-fb[hidden]{display:none}", A = typeof window != "undefined" ? window : {}, m = A.document || { head: {} }, g = {
|
83
|
+
$flags$: 0,
|
84
|
+
$resourcesUrl$: "",
|
85
|
+
jmp: (e) => e(),
|
86
|
+
raf: (e) => requestAnimationFrame(e),
|
87
|
+
ael: (e, t, s, r) => e.addEventListener(t, s, r),
|
88
|
+
rel: (e, t, s, r) => e.removeEventListener(t, s, r),
|
89
|
+
ce: (e, t) => new CustomEvent(e, t)
|
90
|
+
}, qe = /* @__PURE__ */ (() => {
|
91
|
+
let e = !1;
|
92
|
+
try {
|
93
|
+
m.addEventListener(
|
94
|
+
"e",
|
95
|
+
null,
|
96
|
+
Object.defineProperty({}, "passive", {
|
97
|
+
get() {
|
98
|
+
e = !0;
|
99
|
+
}
|
100
|
+
})
|
101
|
+
);
|
102
|
+
} catch (t) {
|
103
|
+
}
|
104
|
+
return e;
|
105
|
+
})(), We = (e) => Promise.resolve(e), Me = /* @__PURE__ */ (() => {
|
106
|
+
try {
|
107
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
108
|
+
} catch (e) {
|
109
|
+
}
|
110
|
+
return !1;
|
111
|
+
})(), q = !1, re = [], ve = [], Ge = (e, t) => (s) => {
|
112
|
+
e.push(s), q || (q = !0, g.$flags$ & 4 ? Q(W) : g.raf(W));
|
113
|
+
}, ne = (e) => {
|
114
|
+
for (let t = 0; t < e.length; t++)
|
115
|
+
try {
|
116
|
+
e[t](performance.now());
|
117
|
+
} catch (s) {
|
118
|
+
b(s);
|
119
|
+
}
|
120
|
+
e.length = 0;
|
121
|
+
}, W = () => {
|
122
|
+
ne(re), ne(ve), (q = re.length > 0) && g.raf(W);
|
123
|
+
}, Q = (e) => We().then(e), Xe = /* @__PURE__ */ Ge(ve), Ct = (e) => {
|
124
|
+
const t = new URL(e, g.$resourcesUrl$);
|
125
|
+
return t.origin !== A.location.origin ? t.href : t.pathname;
|
126
|
+
}, le = {}, Qe = "http://www.w3.org/2000/svg", Ye = "http://www.w3.org/1999/xhtml", Je = (e) => e != null, Y = (e) => (e = typeof e, e === "object" || e === "function");
|
127
|
+
function pe(e) {
|
128
|
+
var t, s, r;
|
129
|
+
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;
|
130
|
+
}
|
131
|
+
var Ke = {};
|
132
|
+
De(Ke, {
|
133
|
+
err: () => he,
|
134
|
+
map: () => Ze,
|
135
|
+
ok: () => M,
|
136
|
+
unwrap: () => Ve,
|
137
|
+
unwrapErr: () => et
|
138
|
+
});
|
139
|
+
var M = (e) => ({
|
140
|
+
isOk: !0,
|
141
|
+
isErr: !1,
|
142
|
+
value: e
|
143
|
+
}), he = (e) => ({
|
144
|
+
isOk: !1,
|
145
|
+
isErr: !0,
|
146
|
+
value: e
|
147
|
+
});
|
148
|
+
function Ze(e, t) {
|
149
|
+
if (e.isOk) {
|
150
|
+
const s = t(e.value);
|
151
|
+
return s instanceof Promise ? s.then((r) => M(r)) : M(s);
|
152
|
+
}
|
153
|
+
if (e.isErr) {
|
154
|
+
const s = e.value;
|
155
|
+
return he(s);
|
156
|
+
}
|
157
|
+
throw "should never get here";
|
158
|
+
}
|
159
|
+
var Ve = (e) => {
|
160
|
+
if (e.isOk)
|
161
|
+
return e.value;
|
162
|
+
throw e.value;
|
163
|
+
}, et = (e) => {
|
164
|
+
if (e.isErr)
|
165
|
+
return e.value;
|
166
|
+
throw e.value;
|
167
|
+
}, x = (e, t = "") => () => {
|
168
|
+
}, tt = (e, t) => () => {
|
169
|
+
}, ge = (e, t, ...s) => {
|
170
|
+
let r = null, n = null, l = null, o = !1, i = !1;
|
171
|
+
const a = [], c = (d) => {
|
172
|
+
for (let f = 0; f < d.length; f++)
|
173
|
+
r = d[f], Array.isArray(r) ? c(r) : r != null && typeof r != "boolean" && ((o = typeof e != "function" && !Y(r)) && (r = String(r)), o && i ? a[a.length - 1].$text$ += r : a.push(o ? F(null, r) : r), i = o);
|
174
|
+
};
|
175
|
+
if (c(s), t) {
|
176
|
+
t.key && (n = t.key), t.name && (l = t.name);
|
177
|
+
{
|
178
|
+
const d = t.className || t.class;
|
179
|
+
d && (t.class = typeof d != "object" ? d : Object.keys(d).filter((f) => d[f]).join(" "));
|
180
|
+
}
|
181
|
+
}
|
182
|
+
if (typeof e == "function")
|
183
|
+
return e(
|
184
|
+
t === null ? {} : t,
|
185
|
+
a,
|
186
|
+
nt
|
187
|
+
);
|
188
|
+
const $ = F(e, null);
|
189
|
+
return $.$attrs$ = t, a.length > 0 && ($.$children$ = a), $.$key$ = n, $.$name$ = l, $;
|
190
|
+
}, F = (e, t) => {
|
191
|
+
const s = {
|
192
|
+
$flags$: 0,
|
193
|
+
$tag$: e,
|
194
|
+
$text$: t,
|
195
|
+
$elm$: null,
|
196
|
+
$children$: null
|
197
|
+
};
|
198
|
+
return s.$attrs$ = null, s.$key$ = null, s.$name$ = null, s;
|
199
|
+
}, st = {}, rt = (e) => e && e.$tag$ === st, nt = {
|
200
|
+
forEach: (e, t) => e.map(ae).forEach(t),
|
201
|
+
map: (e, t) => e.map(ae).map(t).map(lt)
|
202
|
+
}, ae = (e) => ({
|
203
|
+
vattrs: e.$attrs$,
|
204
|
+
vchildren: e.$children$,
|
205
|
+
vkey: e.$key$,
|
206
|
+
vname: e.$name$,
|
207
|
+
vtag: e.$tag$,
|
208
|
+
vtext: e.$text$
|
209
|
+
}), lt = (e) => {
|
210
|
+
if (typeof e.vtag == "function") {
|
211
|
+
const s = te({}, e.vattrs);
|
212
|
+
return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), ge(e.vtag, s, ...e.vchildren || []);
|
213
|
+
}
|
214
|
+
const t = F(e.vtag, e.vtext);
|
215
|
+
return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
|
216
|
+
}, at = (e, t) => e != null && !Y(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, ot = (e) => E(e).$hostElement$, Nt = (e, t, s) => {
|
217
|
+
const r = ot(e);
|
218
|
+
return {
|
219
|
+
emit: (n) => ye(r, t, {
|
220
|
+
bubbles: !!(s & 4),
|
221
|
+
composed: !!(s & 2),
|
222
|
+
cancelable: !!(s & 1),
|
223
|
+
detail: n
|
224
|
+
})
|
225
|
+
};
|
226
|
+
}, ye = (e, t, s) => {
|
227
|
+
const r = g.ce(t, s);
|
228
|
+
return e.dispatchEvent(r), r;
|
229
|
+
}, oe = /* @__PURE__ */ new WeakMap(), it = (e, t, s) => {
|
230
|
+
let r = U.get(e);
|
231
|
+
Me && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, U.set(e, r);
|
232
|
+
}, $t = (e, t, s) => {
|
233
|
+
var r;
|
234
|
+
const n = me(t), l = U.get(n);
|
235
|
+
if (e = e.nodeType === 11 ? e : m, l)
|
236
|
+
if (typeof l == "string") {
|
237
|
+
e = e.head || e;
|
238
|
+
let o = oe.get(e), i;
|
239
|
+
if (o || oe.set(e, o = /* @__PURE__ */ new Set()), !o.has(n)) {
|
240
|
+
{
|
241
|
+
i = m.createElement("style"), i.innerHTML = l;
|
242
|
+
const a = (r = g.$nonce$) != null ? r : pe(m);
|
243
|
+
a != null && i.setAttribute("nonce", a), e.insertBefore(i, e.querySelector("link"));
|
244
|
+
}
|
245
|
+
t.$flags$ & 4 && (i.innerHTML += ue), o && o.add(n);
|
246
|
+
}
|
247
|
+
} else
|
248
|
+
e.adoptedStyleSheets.includes(l) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, l]);
|
249
|
+
return n;
|
250
|
+
}, ct = (e) => {
|
251
|
+
const t = e.$cmpMeta$, s = e.$hostElement$, r = t.$flags$, n = x("attachStyles", t.$tagName$), l = $t(
|
252
|
+
s.shadowRoot ? s.shadowRoot : s.getRootNode(),
|
253
|
+
t
|
254
|
+
);
|
255
|
+
r & 10 && (s["s-sc"] = l, s.classList.add(l + "-h")), n();
|
256
|
+
}, me = (e, t) => "sc-" + e.$tagName$, ie = (e, t, s, r, n, l) => {
|
257
|
+
if (s !== r) {
|
258
|
+
let o = se(e, t), i = t.toLowerCase();
|
259
|
+
if (t === "class") {
|
260
|
+
const a = e.classList, c = $e(s), $ = $e(r);
|
261
|
+
a.remove(...c.filter((d) => d && !$.includes(d))), a.add(...$.filter((d) => d && !c.includes(d)));
|
262
|
+
} else if (t === "style") {
|
263
|
+
for (const a in s)
|
264
|
+
(!r || r[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
|
265
|
+
for (const a in r)
|
266
|
+
(!s || r[a] !== s[a]) && (a.includes("-") ? e.style.setProperty(a, r[a]) : e.style[a] = r[a]);
|
267
|
+
} else if (t !== "key")
|
268
|
+
if (t === "ref")
|
269
|
+
r && r(e);
|
270
|
+
else if (!o && t[0] === "o" && t[1] === "n") {
|
271
|
+
if (t[2] === "-" ? t = t.slice(3) : se(A, i) ? t = i.slice(2) : t = i[2] + t.slice(3), s || r) {
|
272
|
+
const a = t.endsWith(Se);
|
273
|
+
t = t.replace(dt, ""), s && g.rel(e, t, s, a), r && g.ael(e, t, r, a);
|
274
|
+
}
|
275
|
+
} else {
|
276
|
+
const a = Y(r);
|
277
|
+
if ((o || a && r !== null) && !n)
|
278
|
+
try {
|
279
|
+
if (e.tagName.includes("-"))
|
280
|
+
e[t] = r;
|
281
|
+
else {
|
282
|
+
const c = r == null ? "" : r;
|
283
|
+
t === "list" ? o = !1 : (s == null || e[t] != c) && (e[t] = c);
|
284
|
+
}
|
285
|
+
} catch (c) {
|
286
|
+
}
|
287
|
+
r == null || r === !1 ? (r !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!o || l & 4 || n) && !a && (r = r === !0 ? "" : r, e.setAttribute(t, r));
|
288
|
+
}
|
289
|
+
}
|
290
|
+
}, ft = /\s/, $e = (e) => e ? e.split(ft) : [], Se = "Capture", dt = new RegExp(Se + "$"), be = (e, t, s) => {
|
291
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || le, l = t.$attrs$ || le;
|
292
|
+
for (const o of ce(Object.keys(n)))
|
293
|
+
o in l || ie(r, o, n[o], void 0, s, t.$flags$);
|
294
|
+
for (const o of ce(Object.keys(l)))
|
295
|
+
ie(r, o, n[o], l[o], s, t.$flags$);
|
296
|
+
};
|
297
|
+
function ce(e) {
|
298
|
+
return e.includes("ref") ? (
|
299
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
300
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
301
|
+
) : (
|
302
|
+
// no need to sort, return the original array
|
303
|
+
e
|
304
|
+
);
|
305
|
+
}
|
306
|
+
var w, G, P, I = !1, D = !1, J = !1, S = !1, H = (e, t, s, r) => {
|
307
|
+
var n;
|
308
|
+
const l = t.$children$[s];
|
309
|
+
let o = 0, i, a, c;
|
310
|
+
if (I || (J = !0, l.$tag$ === "slot" && (w && r.classList.add(w + "-s"), l.$flags$ |= l.$children$ ? (
|
311
|
+
// slot element has fallback content
|
312
|
+
// still create an element that "mocks" the slot element
|
313
|
+
2
|
314
|
+
) : (
|
315
|
+
// slot element does not have fallback content
|
316
|
+
// create an html comment we'll use to always reference
|
317
|
+
// where actual slot content should sit next to
|
318
|
+
1
|
319
|
+
))), l.$text$ !== null)
|
320
|
+
i = l.$elm$ = m.createTextNode(l.$text$);
|
321
|
+
else if (l.$flags$ & 1)
|
322
|
+
i = l.$elm$ = m.createTextNode("");
|
323
|
+
else {
|
324
|
+
if (S || (S = l.$tag$ === "svg"), i = l.$elm$ = m.createElementNS(
|
325
|
+
S ? Qe : Ye,
|
326
|
+
!I && z.slotRelocation && l.$flags$ & 2 ? "slot-fb" : l.$tag$
|
327
|
+
), S && l.$tag$ === "foreignObject" && (S = !1), be(null, l, S), Je(w) && i["s-si"] !== w && i.classList.add(i["s-si"] = w), l.$children$)
|
328
|
+
for (o = 0; o < l.$children$.length; ++o)
|
329
|
+
a = H(e, l, o, i), a && i.appendChild(a);
|
330
|
+
l.$tag$ === "svg" ? S = !1 : i.tagName === "foreignObject" && (S = !0);
|
331
|
+
}
|
332
|
+
return i["s-hn"] = P, l.$flags$ & 3 && (i["s-sr"] = !0, i["s-cr"] = G, i["s-sn"] = l.$name$ || "", i["s-rf"] = (n = l.$attrs$) == null ? void 0 : n.ref, c = e && e.$children$ && e.$children$[s], c && c.$tag$ === l.$tag$ && e.$elm$ && O(e.$elm$, !1)), i;
|
333
|
+
}, O = (e, t) => {
|
334
|
+
g.$flags$ |= 1;
|
335
|
+
const s = Array.from(e.childNodes);
|
336
|
+
if (e["s-sr"] && z.experimentalSlotFixes) {
|
337
|
+
let r = e;
|
338
|
+
for (; r = r.nextSibling; )
|
339
|
+
r && r["s-sn"] === e["s-sn"] && r["s-sh"] === P && s.push(r);
|
340
|
+
}
|
341
|
+
for (let r = s.length - 1; r >= 0; r--) {
|
342
|
+
const n = s[r];
|
343
|
+
n["s-hn"] !== P && n["s-ol"] && (L(xe(n), n, K(n)), n["s-ol"].remove(), n["s-ol"] = void 0, n["s-sh"] = void 0, J = !0), t && O(n, t);
|
344
|
+
}
|
345
|
+
g.$flags$ &= -2;
|
346
|
+
}, ke = (e, t, s, r, n, l) => {
|
347
|
+
let o = e["s-cr"] && e["s-cr"].parentNode || e, i;
|
348
|
+
for (o.shadowRoot && o.tagName === P && (o = o.shadowRoot); n <= l; ++n)
|
349
|
+
r[n] && (i = H(null, s, n, e), i && (r[n].$elm$ = i, L(o, i, K(t))));
|
350
|
+
}, Te = (e, t, s) => {
|
351
|
+
for (let r = t; r <= s; ++r) {
|
352
|
+
const n = e[r];
|
353
|
+
if (n) {
|
354
|
+
const l = n.$elm$;
|
355
|
+
we(n), l && (D = !0, l["s-ol"] ? l["s-ol"].remove() : O(l, !0), l.remove());
|
356
|
+
}
|
357
|
+
}
|
358
|
+
}, ut = (e, t, s, r, n = !1) => {
|
359
|
+
let l = 0, o = 0, i = 0, a = 0, c = t.length - 1, $ = t[0], d = t[c], f = r.length - 1, u = r[0], p = r[f], h, y;
|
360
|
+
for (; l <= c && o <= f; )
|
361
|
+
if ($ == null)
|
362
|
+
$ = t[++l];
|
363
|
+
else if (d == null)
|
364
|
+
d = t[--c];
|
365
|
+
else if (u == null)
|
366
|
+
u = r[++o];
|
367
|
+
else if (p == null)
|
368
|
+
p = r[--f];
|
369
|
+
else if (j($, u, n))
|
370
|
+
_($, u, n), $ = t[++l], u = r[++o];
|
371
|
+
else if (j(d, p, n))
|
372
|
+
_(d, p, n), d = t[--c], p = r[--f];
|
373
|
+
else if (j($, p, n))
|
374
|
+
($.$tag$ === "slot" || p.$tag$ === "slot") && O($.$elm$.parentNode, !1), _($, p, n), L(e, $.$elm$, d.$elm$.nextSibling), $ = t[++l], p = r[--f];
|
375
|
+
else if (j(d, u, n))
|
376
|
+
($.$tag$ === "slot" || p.$tag$ === "slot") && O(d.$elm$.parentNode, !1), _(d, u, n), L(e, d.$elm$, $.$elm$), d = t[--c], u = r[++o];
|
377
|
+
else {
|
378
|
+
for (i = -1, a = l; a <= c; ++a)
|
379
|
+
if (t[a] && t[a].$key$ !== null && t[a].$key$ === u.$key$) {
|
380
|
+
i = a;
|
381
|
+
break;
|
382
|
+
}
|
383
|
+
i >= 0 ? (y = t[i], y.$tag$ !== u.$tag$ ? h = H(t && t[o], s, i, e) : (_(y, u, n), t[i] = void 0, h = y.$elm$), u = r[++o]) : (h = H(t && t[o], s, o, e), u = r[++o]), h && L(xe($.$elm$), h, K($.$elm$));
|
384
|
+
}
|
385
|
+
l > c ? ke(
|
386
|
+
e,
|
387
|
+
r[f + 1] == null ? null : r[f + 1].$elm$,
|
388
|
+
s,
|
389
|
+
r,
|
390
|
+
o,
|
391
|
+
f
|
392
|
+
) : o > f && Te(t, l, c);
|
393
|
+
}, j = (e, t, s = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : s ? !0 : e.$key$ === t.$key$ : !1, K = (e) => e && e["s-ol"] || e, xe = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, _ = (e, t, s = !1) => {
|
394
|
+
const r = t.$elm$ = e.$elm$, n = e.$children$, l = t.$children$, o = t.$tag$, i = t.$text$;
|
395
|
+
let a;
|
396
|
+
i === null ? (S = o === "svg" ? !0 : o === "foreignObject" ? !1 : S, o === "slot" && !I || be(e, t, S), n !== null && l !== null ? ut(r, n, t, l, s) : l !== null ? (e.$text$ !== null && (r.textContent = ""), ke(r, null, t, l, 0, l.length - 1)) : n !== null && Te(n, 0, n.length - 1), S && o === "svg" && (S = !1)) : (a = r["s-cr"]) ? a.parentNode.textContent = i : e.$text$ !== i && (r.data = i);
|
397
|
+
}, Le = (e) => {
|
398
|
+
const t = e.childNodes;
|
399
|
+
for (const s of t)
|
400
|
+
if (s.nodeType === 1) {
|
401
|
+
if (s["s-sr"]) {
|
402
|
+
const r = s["s-sn"];
|
403
|
+
s.hidden = !1;
|
404
|
+
for (const n of t)
|
405
|
+
if (n !== s) {
|
406
|
+
if (n["s-hn"] !== s["s-hn"] || r !== "") {
|
407
|
+
if (n.nodeType === 1 && (r === n.getAttribute("slot") || r === n["s-sn"]) || n.nodeType === 3 && r === n["s-sn"]) {
|
408
|
+
s.hidden = !0;
|
409
|
+
break;
|
410
|
+
}
|
411
|
+
} else if (n.nodeType === 1 || n.nodeType === 3 && n.textContent.trim() !== "") {
|
412
|
+
s.hidden = !0;
|
413
|
+
break;
|
414
|
+
}
|
415
|
+
}
|
416
|
+
}
|
417
|
+
Le(s);
|
418
|
+
}
|
419
|
+
}, T = [], Ee = (e) => {
|
420
|
+
let t, s, r;
|
421
|
+
for (const n of e.childNodes) {
|
422
|
+
if (n["s-sr"] && (t = n["s-cr"]) && t.parentNode) {
|
423
|
+
s = t.parentNode.childNodes;
|
424
|
+
const l = n["s-sn"];
|
425
|
+
for (r = s.length - 1; r >= 0; r--)
|
426
|
+
if (t = s[r], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== n["s-hn"] && !z.experimentalSlotFixes)
|
427
|
+
if (fe(t, l)) {
|
428
|
+
let o = T.find((i) => i.$nodeToRelocate$ === t);
|
429
|
+
D = !0, t["s-sn"] = t["s-sn"] || l, o ? (o.$nodeToRelocate$["s-sh"] = n["s-hn"], o.$slotRefNode$ = n) : (t["s-sh"] = n["s-hn"], T.push({
|
430
|
+
$slotRefNode$: n,
|
431
|
+
$nodeToRelocate$: t
|
432
|
+
})), t["s-sr"] && T.map((i) => {
|
433
|
+
fe(i.$nodeToRelocate$, t["s-sn"]) && (o = T.find((a) => a.$nodeToRelocate$ === t), o && !i.$slotRefNode$ && (i.$slotRefNode$ = o.$slotRefNode$));
|
434
|
+
});
|
435
|
+
} else
|
436
|
+
T.some((o) => o.$nodeToRelocate$ === t) || T.push({
|
437
|
+
$nodeToRelocate$: t
|
438
|
+
});
|
439
|
+
}
|
440
|
+
n.nodeType === 1 && Ee(n);
|
441
|
+
}
|
442
|
+
}, fe = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", we = (e) => {
|
443
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(we);
|
444
|
+
}, L = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), vt = (e, t, s = !1) => {
|
445
|
+
var r, n, l, o;
|
446
|
+
const i = e.$hostElement$, a = e.$cmpMeta$, c = e.$vnode$ || F(null, null), $ = rt(t) ? t : ge(null, null, t);
|
447
|
+
if (P = i.tagName, a.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, a.$attrsToReflect$.map(
|
448
|
+
([d, f]) => $.$attrs$[f] = i[d]
|
449
|
+
)), s && $.$attrs$)
|
450
|
+
for (const d of Object.keys($.$attrs$))
|
451
|
+
i.hasAttribute(d) && !["key", "ref", "style", "class"].includes(d) && ($.$attrs$[d] = i[d]);
|
452
|
+
$.$tag$ = null, $.$flags$ |= 4, e.$vnode$ = $, $.$elm$ = c.$elm$ = i.shadowRoot || i, w = i["s-sc"], I = (a.$flags$ & 1) !== 0, G = i["s-cr"], D = !1, _(c, $, s);
|
453
|
+
{
|
454
|
+
if (g.$flags$ |= 1, J) {
|
455
|
+
Ee($.$elm$);
|
456
|
+
for (const d of T) {
|
457
|
+
const f = d.$nodeToRelocate$;
|
458
|
+
if (!f["s-ol"]) {
|
459
|
+
const u = m.createTextNode("");
|
460
|
+
u["s-nr"] = f, L(f.parentNode, f["s-ol"] = u, f);
|
461
|
+
}
|
462
|
+
}
|
463
|
+
for (const d of T) {
|
464
|
+
const f = d.$nodeToRelocate$, u = d.$slotRefNode$;
|
465
|
+
if (u) {
|
466
|
+
const p = u.parentNode;
|
467
|
+
let h = u.nextSibling;
|
468
|
+
{
|
469
|
+
let y = (r = f["s-ol"]) == null ? void 0 : r.previousSibling;
|
470
|
+
for (; y; ) {
|
471
|
+
let v = (n = y["s-nr"]) != null ? n : null;
|
472
|
+
if (v && v["s-sn"] === f["s-sn"] && p === v.parentNode) {
|
473
|
+
for (v = v.nextSibling; v === f || v != null && v["s-sr"]; )
|
474
|
+
v = v == null ? void 0 : v.nextSibling;
|
475
|
+
if (!v || !v["s-nr"]) {
|
476
|
+
h = v;
|
477
|
+
break;
|
478
|
+
}
|
479
|
+
}
|
480
|
+
y = y.previousSibling;
|
481
|
+
}
|
482
|
+
}
|
483
|
+
(!h && p !== f.parentNode || f.nextSibling !== h) && f !== h && (!f["s-hn"] && f["s-ol"] && (f["s-hn"] = f["s-ol"].parentNode.nodeName), L(p, f, h), f.nodeType === 1 && (f.hidden = (l = f["s-ih"]) != null ? l : !1)), f && typeof u["s-rf"] == "function" && u["s-rf"](f);
|
484
|
+
} else
|
485
|
+
f.nodeType === 1 && (s && (f["s-ih"] = (o = f.hidden) != null ? o : !1), f.hidden = !0);
|
486
|
+
}
|
487
|
+
}
|
488
|
+
D && Le($.$elm$), g.$flags$ &= -2, T.length = 0;
|
489
|
+
}
|
490
|
+
G = void 0;
|
491
|
+
}, _e = (e, t) => {
|
492
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
|
493
|
+
}, Z = (e, t) => {
|
494
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
495
|
+
e.$flags$ |= 512;
|
496
|
+
return;
|
497
|
+
}
|
498
|
+
return _e(e, e.$ancestorComponent$), Xe(() => pt(e, t));
|
499
|
+
}, pt = (e, t) => {
|
500
|
+
const s = e.$hostElement$, r = x("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
|
501
|
+
if (!n)
|
502
|
+
throw new Error(
|
503
|
+
`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`
|
504
|
+
);
|
505
|
+
let l;
|
506
|
+
return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([o, i]) => R(n, o, i)), e.$queuedListeners$ = void 0), l = R(n, "componentWillLoad")), r(), ht(l, () => yt(e, n, t));
|
507
|
+
}, ht = (e, t) => gt(e) ? e.then(t).catch((s) => {
|
508
|
+
console.error(s), t();
|
509
|
+
}) : t(), gt = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", yt = (e, t, s) => N(void 0, null, function* () {
|
510
|
+
var r;
|
511
|
+
const n = e.$hostElement$, l = x("update", e.$cmpMeta$.$tagName$), o = n["s-rc"];
|
512
|
+
s && ct(e);
|
513
|
+
const i = x("render", e.$cmpMeta$.$tagName$);
|
514
|
+
mt(e, t, n, s), o && (o.map((a) => a()), n["s-rc"] = void 0), i(), l();
|
515
|
+
{
|
516
|
+
const a = (r = n["s-p"]) != null ? r : [], c = () => St(e);
|
517
|
+
a.length === 0 ? c() : (Promise.all(a).then(c), e.$flags$ |= 4, a.length = 0);
|
518
|
+
}
|
519
|
+
}), mt = (e, t, s, r) => {
|
520
|
+
try {
|
521
|
+
t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, vt(e, t, r);
|
522
|
+
} catch (n) {
|
523
|
+
b(n, e.$hostElement$);
|
524
|
+
}
|
525
|
+
return null;
|
526
|
+
}, St = (e) => {
|
527
|
+
const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = x("postUpdate", t), n = e.$lazyInstance$, l = e.$ancestorComponent$;
|
528
|
+
R(n, "componentDidRender"), e.$flags$ & 64 ? r() : (e.$flags$ |= 64, Pe(s), R(n, "componentDidLoad"), r(), e.$onReadyResolve$(s), l || Ae()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Q(() => Z(e, !1)), e.$flags$ &= -517;
|
529
|
+
}, Ae = (e) => {
|
530
|
+
Pe(m.documentElement), Q(() => ye(A, "appload", { detail: { namespace: Fe } }));
|
531
|
+
}, R = (e, t, s) => {
|
532
|
+
if (e && e[t])
|
533
|
+
try {
|
534
|
+
return e[t](s);
|
535
|
+
} catch (r) {
|
536
|
+
b(r);
|
537
|
+
}
|
538
|
+
}, Pe = (e) => {
|
539
|
+
var t;
|
540
|
+
return e.classList.add((t = z.hydratedSelectorName) != null ? t : "hydrated");
|
541
|
+
}, bt = (e, t) => E(e).$instanceValues$.get(t), kt = (e, t, s, r) => {
|
542
|
+
const n = E(e);
|
543
|
+
if (!n)
|
544
|
+
throw new Error(
|
545
|
+
`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).`
|
546
|
+
);
|
547
|
+
const l = n.$hostElement$, o = n.$instanceValues$.get(t), i = n.$flags$, a = n.$lazyInstance$;
|
548
|
+
s = at(s, r.$members$[t][0]);
|
549
|
+
const c = Number.isNaN(o) && Number.isNaN(s), $ = s !== o && !c;
|
550
|
+
if ((!(i & 8) || o === void 0) && $ && (n.$instanceValues$.set(t, s), a)) {
|
551
|
+
if (r.$watchers$ && i & 128) {
|
552
|
+
const d = r.$watchers$[t];
|
553
|
+
d && d.map((f) => {
|
554
|
+
try {
|
555
|
+
a[f](s, o, t);
|
556
|
+
} catch (u) {
|
557
|
+
b(u, l);
|
558
|
+
}
|
559
|
+
});
|
560
|
+
}
|
561
|
+
(i & 18) === 2 && Z(n, !1);
|
562
|
+
}
|
563
|
+
}, Oe = (e, t, s) => {
|
564
|
+
var r, n;
|
565
|
+
const l = e.prototype;
|
566
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
567
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
568
|
+
const o = Object.entries((r = t.$members$) != null ? r : {});
|
569
|
+
if (o.map(([i, [a]]) => {
|
570
|
+
(a & 31 || s & 2 && a & 32) && Object.defineProperty(l, i, {
|
571
|
+
get() {
|
572
|
+
return bt(this, i);
|
573
|
+
},
|
574
|
+
set(c) {
|
575
|
+
kt(this, i, c, t);
|
576
|
+
},
|
577
|
+
configurable: !0,
|
578
|
+
enumerable: !0
|
579
|
+
});
|
580
|
+
}), s & 1) {
|
581
|
+
const i = /* @__PURE__ */ new Map();
|
582
|
+
l.attributeChangedCallback = function(a, c, $) {
|
583
|
+
g.jmp(() => {
|
584
|
+
var d;
|
585
|
+
const f = i.get(a);
|
586
|
+
if (this.hasOwnProperty(f))
|
587
|
+
$ = this[f], delete this[f];
|
588
|
+
else {
|
589
|
+
if (l.hasOwnProperty(f) && typeof this[f] == "number" && this[f] == $)
|
590
|
+
return;
|
591
|
+
if (f == null) {
|
592
|
+
const u = E(this), p = u == null ? void 0 : u.$flags$;
|
593
|
+
if (p && !(p & 8) && p & 128 && $ !== c) {
|
594
|
+
const h = u.$lazyInstance$, y = (d = t.$watchers$) == null ? void 0 : d[a];
|
595
|
+
y == null || y.forEach((v) => {
|
596
|
+
h[v] != null && h[v].call(h, $, c, a);
|
597
|
+
});
|
598
|
+
}
|
599
|
+
return;
|
600
|
+
}
|
601
|
+
}
|
602
|
+
this[f] = $ === null && typeof this[f] == "boolean" ? !1 : $;
|
603
|
+
});
|
604
|
+
}, e.observedAttributes = Array.from(
|
605
|
+
/* @__PURE__ */ new Set([
|
606
|
+
...Object.keys((n = t.$watchers$) != null ? n : {}),
|
607
|
+
...o.filter(
|
608
|
+
([a, c]) => c[0] & 15
|
609
|
+
/* HasAttribute */
|
610
|
+
).map(([a, c]) => {
|
611
|
+
var $;
|
612
|
+
const d = c[1] || a;
|
613
|
+
return i.set(d, a), c[0] & 512 && (($ = t.$attrsToReflect$) == null || $.push([a, d])), d;
|
614
|
+
})
|
615
|
+
])
|
616
|
+
);
|
617
|
+
}
|
618
|
+
}
|
619
|
+
return e;
|
620
|
+
}, Tt = (e, t, s, r) => N(void 0, null, function* () {
|
621
|
+
let n;
|
622
|
+
if (!(t.$flags$ & 32)) {
|
623
|
+
if (t.$flags$ |= 32, s.$lazyBundleId$) {
|
624
|
+
const a = ze(s);
|
625
|
+
if (a && "then" in a) {
|
626
|
+
const $ = tt();
|
627
|
+
n = yield a, $();
|
628
|
+
} else
|
629
|
+
n = a;
|
630
|
+
if (!n)
|
631
|
+
throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
|
632
|
+
n.isProxied || (s.$watchers$ = n.watchers, Oe(
|
633
|
+
n,
|
634
|
+
s,
|
635
|
+
2
|
636
|
+
/* proxyState */
|
637
|
+
), n.isProxied = !0);
|
638
|
+
const c = x("createInstance", s.$tagName$);
|
639
|
+
t.$flags$ |= 8;
|
640
|
+
try {
|
641
|
+
new n(t);
|
642
|
+
} catch ($) {
|
643
|
+
b($);
|
644
|
+
}
|
645
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
646
|
+
} else {
|
647
|
+
n = e.constructor;
|
648
|
+
const a = e.localName;
|
649
|
+
customElements.whenDefined(a).then(
|
650
|
+
() => t.$flags$ |= 128
|
651
|
+
/* isWatchReady */
|
652
|
+
);
|
653
|
+
}
|
654
|
+
if (n && n.style) {
|
655
|
+
let a;
|
656
|
+
typeof n.style == "string" && (a = n.style);
|
657
|
+
const c = me(s);
|
658
|
+
if (!U.has(c)) {
|
659
|
+
const $ = x("registerStyles", s.$tagName$);
|
660
|
+
it(c, a, !!(s.$flags$ & 1)), $();
|
661
|
+
}
|
662
|
+
}
|
663
|
+
}
|
664
|
+
const l = t.$ancestorComponent$, o = () => Z(t, !0);
|
665
|
+
l && l["s-rc"] ? l["s-rc"].push(o) : o();
|
666
|
+
}), xt = (e) => {
|
667
|
+
}, Lt = (e) => {
|
668
|
+
if (!(g.$flags$ & 1)) {
|
669
|
+
const t = E(e), s = t.$cmpMeta$, r = x("connectedCallback", s.$tagName$);
|
670
|
+
if (t.$flags$ & 1)
|
671
|
+
Re(e, t, s.$listeners$), t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => xt());
|
672
|
+
else {
|
673
|
+
t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
674
|
+
s.$flags$ & 12 && Et(e);
|
675
|
+
{
|
676
|
+
let n = e;
|
677
|
+
for (; n = n.parentNode || n.host; )
|
678
|
+
if (n["s-p"]) {
|
679
|
+
_e(t, t.$ancestorComponent$ = n);
|
680
|
+
break;
|
681
|
+
}
|
682
|
+
}
|
683
|
+
s.$members$ && Object.entries(s.$members$).map(([n, [l]]) => {
|
684
|
+
if (l & 31 && e.hasOwnProperty(n)) {
|
685
|
+
const o = e[n];
|
686
|
+
delete e[n], e[n] = o;
|
687
|
+
}
|
688
|
+
}), Tt(e, t, s);
|
689
|
+
}
|
690
|
+
r();
|
691
|
+
}
|
692
|
+
}, Et = (e) => {
|
693
|
+
const t = e["s-cr"] = m.createComment(
|
694
|
+
""
|
695
|
+
);
|
696
|
+
t["s-cn"] = !0, L(e, t, e.firstChild);
|
697
|
+
}, de = (e) => {
|
698
|
+
R(e, "disconnectedCallback");
|
699
|
+
}, wt = (e) => N(void 0, null, function* () {
|
700
|
+
if (!(g.$flags$ & 1)) {
|
701
|
+
const t = E(e);
|
702
|
+
t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ ? de(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => de(t.$lazyInstance$));
|
703
|
+
}
|
704
|
+
}), jt = (e, t = {}) => {
|
705
|
+
var s;
|
706
|
+
const r = x(), n = [], l = t.exclude || [], o = A.customElements, i = m.head, a = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ m.createElement("style"), $ = [];
|
707
|
+
let d, f = !0;
|
708
|
+
Object.assign(g, t), g.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
|
709
|
+
let u = !1;
|
710
|
+
if (e.map((p) => {
|
711
|
+
p[1].map((h) => {
|
712
|
+
var y;
|
713
|
+
const v = {
|
714
|
+
$flags$: h[0],
|
715
|
+
$tagName$: h[1],
|
716
|
+
$members$: h[2],
|
717
|
+
$listeners$: h[3]
|
718
|
+
};
|
719
|
+
v.$flags$ & 4 && (u = !0), v.$members$ = h[2], v.$listeners$ = h[3], v.$attrsToReflect$ = [], v.$watchers$ = (y = h[4]) != null ? y : {};
|
720
|
+
const C = v.$tagName$, Ce = class extends HTMLElement {
|
721
|
+
// StencilLazyHost
|
722
|
+
constructor(k) {
|
723
|
+
if (super(k), this.hasRegisteredEventListeners = !1, k = this, He(k, v), v.$flags$ & 1) {
|
724
|
+
if (!k.shadowRoot)
|
725
|
+
k.attachShadow({ mode: "open" });
|
726
|
+
else if (k.shadowRoot.mode !== "open")
|
727
|
+
throw new Error(
|
728
|
+
`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
729
|
+
);
|
730
|
+
}
|
731
|
+
}
|
732
|
+
connectedCallback() {
|
733
|
+
const k = E(this);
|
734
|
+
this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, Re(this, k, v.$listeners$)), d && (clearTimeout(d), d = null), f ? $.push(this) : g.jmp(() => Lt(this));
|
735
|
+
}
|
736
|
+
disconnectedCallback() {
|
737
|
+
g.jmp(() => wt(this));
|
738
|
+
}
|
739
|
+
componentOnReady() {
|
740
|
+
return E(this).$onReadyPromise$;
|
741
|
+
}
|
742
|
+
};
|
743
|
+
v.$lazyBundleId$ = p[0], !l.includes(C) && !o.get(C) && (n.push(C), o.define(
|
744
|
+
C,
|
745
|
+
Oe(
|
746
|
+
Ce,
|
747
|
+
v,
|
748
|
+
1
|
749
|
+
/* isElementConstructor */
|
750
|
+
)
|
751
|
+
));
|
752
|
+
});
|
753
|
+
}), n.length > 0 && (u && (c.textContent += ue), c.textContent += n.sort() + Be, c.innerHTML.length)) {
|
754
|
+
c.setAttribute("data-styles", "");
|
755
|
+
const p = (s = g.$nonce$) != null ? s : pe(m);
|
756
|
+
p != null && c.setAttribute("nonce", p), i.insertBefore(c, a ? a.nextSibling : i.firstChild);
|
757
|
+
}
|
758
|
+
f = !1, $.length ? $.map((p) => p.connectedCallback()) : g.jmp(() => d = setTimeout(Ae, 30)), r();
|
759
|
+
}, Ut = (e, t) => t, Re = (e, t, s, r) => {
|
760
|
+
s && s.map(([n, l, o]) => {
|
761
|
+
const i = At(e, n), a = _t(t, o), c = Pt(n);
|
762
|
+
g.ael(i, l, a, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => g.rel(i, l, a, c));
|
763
|
+
});
|
764
|
+
}, _t = (e, t) => (s) => {
|
765
|
+
var r;
|
766
|
+
try {
|
767
|
+
e.$flags$ & 256 ? (r = e.$lazyInstance$) == null || r[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
|
768
|
+
} catch (n) {
|
769
|
+
b(n);
|
770
|
+
}
|
771
|
+
}, At = (e, t) => t & 8 ? A : e, Pt = (e) => qe ? {
|
772
|
+
passive: (e & 1) !== 0,
|
773
|
+
capture: (e & 2) !== 0
|
774
|
+
} : (e & 2) !== 0;
|
775
|
+
export {
|
776
|
+
Ut as F,
|
777
|
+
Ct as a,
|
778
|
+
jt as b,
|
779
|
+
Nt as c,
|
780
|
+
ot as g,
|
781
|
+
ge as h,
|
782
|
+
We as p,
|
783
|
+
Rt as r
|
784
|
+
};
|