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