@everymatrix/casino-header-controller 1.56.0 → 1.56.2
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-B2TeHkyB.js → CasinoHamburgerMenu-D3IA0-Fr.js} +882 -823
- package/components/CasinoHamburgerMenu-DessG6uq.cjs +21 -0
- package/components/{CasinoHamburgerMenu-CUR5gaxv.js → CasinoHamburgerMenu-DyL5A7W7.js} +734 -675
- package/components/{CasinoHeaderController-CfLLPnem.cjs → CasinoHeaderController-BFP8179I.cjs} +1 -1
- package/components/{CasinoHeaderController-CrEqMU6h.js → CasinoHeaderController-BbEsH91Z.js} +85 -85
- package/components/{CasinoHeaderController-Cv1RNj2L.js → CasinoHeaderController-DeiDjcf5.js} +87 -87
- package/components/{CasinoSlider-DrD2osTb.js → CasinoSlider-BiQpUhjL.js} +50 -50
- package/components/{CasinoSlider-BU9fkHDu.cjs → CasinoSlider-E1mSYv_J.cjs} +1 -1
- package/components/{CasinoSlider-CS-q7BSV.js → CasinoSlider-MTl32pNB.js} +49 -49
- package/components/PlayerAccountBalanceModal-B9BkSlDU.cjs +13 -0
- package/components/PlayerAccountBalanceModal-CEo_b6Ks.js +1510 -0
- package/components/PlayerAccountBalanceModal-fP9D_Jz7.js +1539 -0
- package/components/{PlayerDeposit-BlD-xNdY.js → PlayerDeposit-Bv78j0E8.js} +90 -90
- package/components/PlayerDeposit-C7xxeNB2.cjs +1 -0
- package/components/{PlayerDeposit-DwGrlu-U.js → PlayerDeposit-DiUqgMu-.js} +90 -90
- 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/index-1ef3a64c-6soTLew7.js +556 -0
- package/stencil/index-1ef3a64c-DkMoO-oa.js +572 -0
- package/stencil/index-1ef3a64c-DmmoSOho.cjs +1 -0
- package/stencil/{user-deposit-withdrawal-BiZKbrT_.js → user-deposit-withdrawal-C72e1sSw.js} +63 -42
- package/stencil/{user-deposit-withdrawal-CzeoKH00.cjs → user-deposit-withdrawal-CS-LZhcv.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-1SJnPWvi.js → user-deposit-withdrawal-DfDiD6Lp.js} +62 -41
- package/components/CasinoHamburgerMenu-DYL1HIps.cjs +0 -8
- package/components/PlayerAccountBalanceModal--zdJlg4L.js +0 -1507
- package/components/PlayerAccountBalanceModal-C31JpnHA.cjs +0 -13
- package/components/PlayerAccountBalanceModal-aiqQaHCF.js +0 -1536
- package/components/PlayerDeposit-DzkmDtD0.cjs +0 -1
- package/stencil/index-c7e52808-DGZdfQYz.cjs +0 -1
- package/stencil/index-c7e52808-RGphQbEA.js +0 -638
- package/stencil/index-c7e52808-yJXIboHF.js +0 -654
@@ -1,638 +0,0 @@
|
|
1
|
-
const yt = "user-deposit-withdrawal", C = (
|
2
|
-
/* user-deposit-withdrawal */
|
3
|
-
{ hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
|
4
|
-
);
|
5
|
-
var St = Object.defineProperty, Et = (t, e) => {
|
6
|
-
for (var n in e)
|
7
|
-
St(t, n, { get: e[n], enumerable: !0 });
|
8
|
-
}, kt = "http://www.w3.org/2000/svg", wt = "http://www.w3.org/1999/xhtml", G = /* @__PURE__ */ new WeakMap(), k = (t) => G.get(t), re = (t, e) => {
|
9
|
-
G.set(e.$lazyInstance$ = t, e);
|
10
|
-
}, xt = (t, e) => {
|
11
|
-
const n = {
|
12
|
-
$flags$: 0,
|
13
|
-
$hostElement$: t,
|
14
|
-
$cmpMeta$: e,
|
15
|
-
$instanceValues$: /* @__PURE__ */ new Map()
|
16
|
-
};
|
17
|
-
return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), t["s-p"] = [], t["s-rc"] = [], G.set(t, n);
|
18
|
-
}, Z = (t, e) => e in t, P = (t, e) => (0, console.error)(t, e), H = /* @__PURE__ */ new Map(), Tt = (t, e, n) => {
|
19
|
-
const s = t.$tagName$.replace(/-/g, "_"), r = t.$lazyBundleId$;
|
20
|
-
if (!r)
|
21
|
-
return;
|
22
|
-
const i = H.get(r);
|
23
|
-
if (i)
|
24
|
-
return i[s];
|
25
|
-
{
|
26
|
-
const $ = (l) => (H.set(r, l), l[s]);
|
27
|
-
switch (r) {
|
28
|
-
case "user-deposit-withdrawal":
|
29
|
-
return import(
|
30
|
-
/* webpackMode: "lazy" */
|
31
|
-
"./user-deposit-withdrawal-BiZKbrT_.js"
|
32
|
-
).then($, P);
|
33
|
-
}
|
34
|
-
}
|
35
|
-
return import(
|
36
|
-
/* @vite-ignore */
|
37
|
-
/* webpackInclude: /\.entry\.js$/ */
|
38
|
-
/* webpackExclude: /\.system\.entry\.js$/ */
|
39
|
-
/* webpackMode: "lazy" */
|
40
|
-
`./${r}.entry.js`
|
41
|
-
).then(
|
42
|
-
($) => (H.set(r, $), $[s]),
|
43
|
-
($) => {
|
44
|
-
P($, e.$hostElement$);
|
45
|
-
}
|
46
|
-
);
|
47
|
-
}, O = /* @__PURE__ */ new Map(), Pt = "sty-id", _t = "{visibility:hidden}.hydrated{visibility:inherit}", st = "slot-fb{display:contents}slot-fb[hidden]{display:none}", z = typeof window < "u" ? window : {}, w = z.document || { head: {} }, p = {
|
48
|
-
$flags$: 0,
|
49
|
-
$resourcesUrl$: "",
|
50
|
-
jmp: (t) => t(),
|
51
|
-
raf: (t) => requestAnimationFrame(t),
|
52
|
-
ael: (t, e, n, s) => t.addEventListener(e, n, s),
|
53
|
-
rel: (t, e, n, s) => t.removeEventListener(e, n, s),
|
54
|
-
ce: (t, e) => new CustomEvent(t, e)
|
55
|
-
}, Lt = (t) => Promise.resolve(t), nt = /* @__PURE__ */ (() => {
|
56
|
-
try {
|
57
|
-
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
58
|
-
} catch {
|
59
|
-
}
|
60
|
-
return !1;
|
61
|
-
})(), q = !1, M = [], rt = [], At = (t, e) => (n) => {
|
62
|
-
t.push(n), q || (q = !0, p.$flags$ & 4 ? Y(B) : p.raf(B));
|
63
|
-
}, m = (t) => {
|
64
|
-
for (let e = 0; e < t.length; e++)
|
65
|
-
try {
|
66
|
-
t[e](performance.now());
|
67
|
-
} catch (n) {
|
68
|
-
P(n);
|
69
|
-
}
|
70
|
-
t.length = 0;
|
71
|
-
}, B = () => {
|
72
|
-
m(M), m(rt), (q = M.length > 0) && p.raf(B);
|
73
|
-
}, Y = (t) => Lt().then(t), jt = /* @__PURE__ */ At(rt), X = (t) => (t = typeof t, t === "object" || t === "function");
|
74
|
-
function lt(t) {
|
75
|
-
var e, n, s;
|
76
|
-
return (s = (n = (e = t.head) == null ? void 0 : e.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
|
77
|
-
}
|
78
|
-
var It = {};
|
79
|
-
Et(It, {
|
80
|
-
err: () => it,
|
81
|
-
map: () => Ot,
|
82
|
-
ok: () => R,
|
83
|
-
unwrap: () => bt,
|
84
|
-
unwrapErr: () => zt
|
85
|
-
});
|
86
|
-
var R = (t) => ({
|
87
|
-
isOk: !0,
|
88
|
-
isErr: !1,
|
89
|
-
value: t
|
90
|
-
}), it = (t) => ({
|
91
|
-
isOk: !1,
|
92
|
-
isErr: !0,
|
93
|
-
value: t
|
94
|
-
});
|
95
|
-
function Ot(t, e) {
|
96
|
-
if (t.isOk) {
|
97
|
-
const n = e(t.value);
|
98
|
-
return n instanceof Promise ? n.then((s) => R(s)) : R(n);
|
99
|
-
}
|
100
|
-
if (t.isErr) {
|
101
|
-
const n = t.value;
|
102
|
-
return it(n);
|
103
|
-
}
|
104
|
-
throw "should never get here";
|
105
|
-
}
|
106
|
-
var bt = (t) => {
|
107
|
-
if (t.isOk)
|
108
|
-
return t.value;
|
109
|
-
throw t.value;
|
110
|
-
}, zt = (t) => {
|
111
|
-
if (t.isErr)
|
112
|
-
return t.value;
|
113
|
-
throw t.value;
|
114
|
-
}, x = (t, e = "") => () => {
|
115
|
-
}, Ht = (t, e) => () => {
|
116
|
-
}, Ut = (t, e, ...n) => {
|
117
|
-
let s = null, r = null, i = !1, $ = !1;
|
118
|
-
const l = [], c = (a) => {
|
119
|
-
for (let d = 0; d < a.length; d++)
|
120
|
-
s = a[d], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((i = typeof t != "function" && !X(s)) && (s = String(s)), i && $ ? l[l.length - 1].$text$ += s : l.push(i ? D(null, s) : s), $ = i);
|
121
|
-
};
|
122
|
-
if (c(n), e) {
|
123
|
-
e.key && (r = e.key);
|
124
|
-
{
|
125
|
-
const a = e.className || e.class;
|
126
|
-
a && (e.class = typeof a != "object" ? a : Object.keys(a).filter((d) => a[d]).join(" "));
|
127
|
-
}
|
128
|
-
}
|
129
|
-
const o = D(t, null);
|
130
|
-
return o.$attrs$ = e, l.length > 0 && (o.$children$ = l), o.$key$ = r, o;
|
131
|
-
}, D = (t, e) => {
|
132
|
-
const n = {
|
133
|
-
$flags$: 0,
|
134
|
-
$tag$: t,
|
135
|
-
$text$: e,
|
136
|
-
$elm$: null,
|
137
|
-
$children$: null
|
138
|
-
};
|
139
|
-
return n.$attrs$ = null, n.$key$ = null, n;
|
140
|
-
}, qt = {}, Bt = (t) => t && t.$tag$ === qt, W = (t, e) => t != null && !X(t) ? e & 4 ? t === "false" ? !1 : t === "" || !!t : e & 1 ? String(t) : t : t, Rt = (t, e, n) => {
|
141
|
-
const s = p.ce(e, n);
|
142
|
-
return t.dispatchEvent(s), s;
|
143
|
-
}, L = /* @__PURE__ */ new WeakMap(), Dt = (t, e, n) => {
|
144
|
-
let s = O.get(t);
|
145
|
-
nt && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = e : s.replaceSync(e)) : s = e, O.set(t, s);
|
146
|
-
}, Wt = (t, e, n) => {
|
147
|
-
var s;
|
148
|
-
const r = $t(e), i = O.get(r);
|
149
|
-
if (t = t.nodeType === 11 ? t : w, i)
|
150
|
-
if (typeof i == "string") {
|
151
|
-
t = t.head || t;
|
152
|
-
let $ = L.get(t), l;
|
153
|
-
if ($ || L.set(t, $ = /* @__PURE__ */ new Set()), !$.has(r)) {
|
154
|
-
{
|
155
|
-
l = document.querySelector(`[${Pt}="${r}"]`) || w.createElement("style"), l.innerHTML = i;
|
156
|
-
const c = (s = p.$nonce$) != null ? s : lt(w);
|
157
|
-
if (c != null && l.setAttribute("nonce", c), !(e.$flags$ & 1))
|
158
|
-
if (t.nodeName === "HEAD") {
|
159
|
-
const o = t.querySelectorAll("link[rel=preconnect]"), a = o.length > 0 ? o[o.length - 1].nextSibling : t.querySelector("style");
|
160
|
-
t.insertBefore(
|
161
|
-
l,
|
162
|
-
a?.parentNode === t ? a : null
|
163
|
-
);
|
164
|
-
} else if ("host" in t)
|
165
|
-
if (nt) {
|
166
|
-
const o = new CSSStyleSheet();
|
167
|
-
o.replaceSync(i), t.adoptedStyleSheets = [o, ...t.adoptedStyleSheets];
|
168
|
-
} else {
|
169
|
-
const o = t.querySelector("style");
|
170
|
-
o ? o.innerHTML = i + o.innerHTML : t.prepend(l);
|
171
|
-
}
|
172
|
-
else
|
173
|
-
t.append(l);
|
174
|
-
e.$flags$ & 1 && t.insertBefore(l, null);
|
175
|
-
}
|
176
|
-
e.$flags$ & 4 && (l.innerHTML += st), $ && $.add(r);
|
177
|
-
}
|
178
|
-
} else t.adoptedStyleSheets.includes(i) || (t.adoptedStyleSheets = [...t.adoptedStyleSheets, i]);
|
179
|
-
return r;
|
180
|
-
}, Ct = (t) => {
|
181
|
-
const e = t.$cmpMeta$, n = t.$hostElement$, s = e.$flags$, r = x("attachStyles", e.$tagName$), i = Wt(
|
182
|
-
n.shadowRoot ? n.shadowRoot : n.getRootNode(),
|
183
|
-
e
|
184
|
-
);
|
185
|
-
(s & 10 && s & 2 || s & 128) && (n["s-sc"] = i, n.classList.add(i + "-h")), r();
|
186
|
-
}, $t = (t, e) => "sc-" + t.$tagName$, V = (t, e, n, s, r, i, $) => {
|
187
|
-
if (n !== s) {
|
188
|
-
let l = Z(t, e), c = e.toLowerCase();
|
189
|
-
if (e === "class") {
|
190
|
-
const o = t.classList, a = N(n);
|
191
|
-
let d = N(s);
|
192
|
-
o.remove(...a.filter((f) => f && !d.includes(f))), o.add(...d.filter((f) => f && !a.includes(f)));
|
193
|
-
} else if (e === "style") {
|
194
|
-
for (const o in n)
|
195
|
-
(!s || s[o] == null) && (o.includes("-") ? t.style.removeProperty(o) : t.style[o] = "");
|
196
|
-
for (const o in s)
|
197
|
-
(!n || s[o] !== n[o]) && (o.includes("-") ? t.style.setProperty(o, s[o]) : t.style[o] = s[o]);
|
198
|
-
} else if (e !== "key") if (e === "ref")
|
199
|
-
s && s(t);
|
200
|
-
else if (!l && e[0] === "o" && e[1] === "n") {
|
201
|
-
if (e[2] === "-" ? e = e.slice(3) : Z(z, c) ? e = c.slice(2) : e = c[2] + e.slice(3), n || s) {
|
202
|
-
const o = e.endsWith(ot);
|
203
|
-
e = e.replace(Yt, ""), n && p.rel(t, e, n, o), s && p.ael(t, e, s, o);
|
204
|
-
}
|
205
|
-
} else {
|
206
|
-
const o = X(s);
|
207
|
-
if ((l || o && s !== null) && !r)
|
208
|
-
try {
|
209
|
-
if (t.tagName.includes("-"))
|
210
|
-
t[e] !== s && (t[e] = s);
|
211
|
-
else {
|
212
|
-
const a = s ?? "";
|
213
|
-
e === "list" ? l = !1 : (n == null || t[e] != a) && (typeof t.__lookupSetter__(e) == "function" ? t[e] = a : t.setAttribute(e, a));
|
214
|
-
}
|
215
|
-
} catch {
|
216
|
-
}
|
217
|
-
s == null || s === !1 ? (s !== !1 || t.getAttribute(e) === "") && t.removeAttribute(e) : (!l || i & 4 || r) && !o && (s = s === !0 ? "" : s, t.setAttribute(e, s));
|
218
|
-
}
|
219
|
-
}
|
220
|
-
}, Gt = /\s/, N = (t) => (typeof t == "object" && t && "baseVal" in t && (t = t.baseVal), !t || typeof t != "string" ? [] : t.split(Gt)), ot = "Capture", Yt = new RegExp(ot + "$"), at = (t, e, n, s) => {
|
221
|
-
const r = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, i = t && t.$attrs$ || {}, $ = e.$attrs$ || {};
|
222
|
-
for (const l of tt(Object.keys(i)))
|
223
|
-
l in $ || V(
|
224
|
-
r,
|
225
|
-
l,
|
226
|
-
i[l],
|
227
|
-
void 0,
|
228
|
-
n,
|
229
|
-
e.$flags$
|
230
|
-
);
|
231
|
-
for (const l of tt(Object.keys($)))
|
232
|
-
V(
|
233
|
-
r,
|
234
|
-
l,
|
235
|
-
i[l],
|
236
|
-
$[l],
|
237
|
-
n,
|
238
|
-
e.$flags$
|
239
|
-
);
|
240
|
-
};
|
241
|
-
function tt(t) {
|
242
|
-
return t.includes("ref") ? (
|
243
|
-
// we need to sort these to ensure that `'ref'` is the last attr
|
244
|
-
[...t.filter((e) => e !== "ref"), "ref"]
|
245
|
-
) : (
|
246
|
-
// no need to sort, return the original array
|
247
|
-
t
|
248
|
-
);
|
249
|
-
}
|
250
|
-
var F, y = !1, b = (t, e, n) => {
|
251
|
-
const s = e.$children$[n];
|
252
|
-
let r = 0, i, $;
|
253
|
-
if (s.$text$ !== null)
|
254
|
-
i = s.$elm$ = w.createTextNode(s.$text$);
|
255
|
-
else {
|
256
|
-
if (y || (y = s.$tag$ === "svg"), i = s.$elm$ = w.createElementNS(
|
257
|
-
y ? kt : wt,
|
258
|
-
s.$tag$
|
259
|
-
), y && s.$tag$ === "foreignObject" && (y = !1), at(null, s, y), s.$children$)
|
260
|
-
for (r = 0; r < s.$children$.length; ++r)
|
261
|
-
$ = b(t, s, r), $ && i.appendChild($);
|
262
|
-
s.$tag$ === "svg" ? y = !1 : i.tagName === "foreignObject" && (y = !0);
|
263
|
-
}
|
264
|
-
return i["s-hn"] = F, i;
|
265
|
-
}, ct = (t, e, n, s, r, i) => {
|
266
|
-
let $ = t, l;
|
267
|
-
for ($.shadowRoot && $.tagName === F && ($ = $.shadowRoot); r <= i; ++r)
|
268
|
-
s[r] && (l = b(null, n, r), l && (s[r].$elm$ = l, I($, l, e)));
|
269
|
-
}, ft = (t, e, n) => {
|
270
|
-
for (let s = e; s <= n; ++s) {
|
271
|
-
const r = t[s];
|
272
|
-
if (r) {
|
273
|
-
const i = r.$elm$;
|
274
|
-
dt(r), i && i.remove();
|
275
|
-
}
|
276
|
-
}
|
277
|
-
}, Xt = (t, e, n, s, r = !1) => {
|
278
|
-
let i = 0, $ = 0, l = 0, c = 0, o = e.length - 1, a = e[0], d = e[o], f = s.length - 1, u = s[0], h = s[f], g, S;
|
279
|
-
for (; i <= o && $ <= f; )
|
280
|
-
if (a == null)
|
281
|
-
a = e[++i];
|
282
|
-
else if (d == null)
|
283
|
-
d = e[--o];
|
284
|
-
else if (u == null)
|
285
|
-
u = s[++$];
|
286
|
-
else if (h == null)
|
287
|
-
h = s[--f];
|
288
|
-
else if (j(a, u, r))
|
289
|
-
_(a, u, r), a = e[++i], u = s[++$];
|
290
|
-
else if (j(d, h, r))
|
291
|
-
_(d, h, r), d = e[--o], h = s[--f];
|
292
|
-
else if (j(a, h, r))
|
293
|
-
_(a, h, r), I(t, a.$elm$, d.$elm$.nextSibling), a = e[++i], h = s[--f];
|
294
|
-
else if (j(d, u, r))
|
295
|
-
_(d, u, r), I(t, d.$elm$, a.$elm$), d = e[--o], u = s[++$];
|
296
|
-
else {
|
297
|
-
for (l = -1, c = i; c <= o; ++c)
|
298
|
-
if (e[c] && e[c].$key$ !== null && e[c].$key$ === u.$key$) {
|
299
|
-
l = c;
|
300
|
-
break;
|
301
|
-
}
|
302
|
-
l >= 0 ? (S = e[l], S.$tag$ !== u.$tag$ ? g = b(e && e[$], n, l) : (_(S, u, r), e[l] = void 0, g = S.$elm$), u = s[++$]) : (g = b(e && e[$], n, $), u = s[++$]), g && I(a.$elm$.parentNode, g, a.$elm$);
|
303
|
-
}
|
304
|
-
i > o ? ct(
|
305
|
-
t,
|
306
|
-
s[f + 1] == null ? null : s[f + 1].$elm$,
|
307
|
-
n,
|
308
|
-
s,
|
309
|
-
$,
|
310
|
-
f
|
311
|
-
) : $ > f && ft(e, i, o);
|
312
|
-
}, j = (t, e, n = !1) => t.$tag$ === e.$tag$ ? n ? (n && !t.$key$ && e.$key$ && (t.$key$ = e.$key$), !0) : t.$key$ === e.$key$ : !1, _ = (t, e, n = !1) => {
|
313
|
-
const s = e.$elm$ = t.$elm$, r = t.$children$, i = e.$children$, $ = e.$tag$, l = e.$text$;
|
314
|
-
l === null ? (y = $ === "svg" ? !0 : $ === "foreignObject" ? !1 : y, at(t, e, y), r !== null && i !== null ? Xt(s, r, e, i, n) : i !== null ? (t.$text$ !== null && (s.textContent = ""), ct(s, null, e, i, 0, i.length - 1)) : (
|
315
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
316
|
-
!n && C.updatable && r !== null && ft(r, 0, r.length - 1)
|
317
|
-
), y && $ === "svg" && (y = !1)) : t.$text$ !== l && (s.data = l);
|
318
|
-
}, dt = (t) => {
|
319
|
-
t.$attrs$ && t.$attrs$.ref && t.$attrs$.ref(null), t.$children$ && t.$children$.map(dt);
|
320
|
-
}, I = (t, e, n) => t?.insertBefore(e, n), Ft = (t, e, n = !1) => {
|
321
|
-
const s = t.$hostElement$, r = t.$cmpMeta$, i = t.$vnode$ || D(null, null), $ = Bt(e) ? e : Ut(null, null, e);
|
322
|
-
if (F = s.tagName, r.$attrsToReflect$ && ($.$attrs$ = $.$attrs$ || {}, r.$attrsToReflect$.map(
|
323
|
-
([l, c]) => $.$attrs$[c] = s[l]
|
324
|
-
)), n && $.$attrs$)
|
325
|
-
for (const l of Object.keys($.$attrs$))
|
326
|
-
s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && ($.$attrs$[l] = s[l]);
|
327
|
-
$.$tag$ = null, $.$flags$ |= 4, t.$vnode$ = $, $.$elm$ = i.$elm$ = s.shadowRoot || s, r.$flags$ & 1 && r.$flags$ & 128, _(i, $, n);
|
328
|
-
}, ut = (t, e) => {
|
329
|
-
if (e && !t.$onRenderResolve$ && e["s-p"]) {
|
330
|
-
const n = e["s-p"].push(
|
331
|
-
new Promise(
|
332
|
-
(s) => t.$onRenderResolve$ = () => {
|
333
|
-
e["s-p"].splice(n - 1, 1), s();
|
334
|
-
}
|
335
|
-
)
|
336
|
-
);
|
337
|
-
}
|
338
|
-
}, J = (t, e) => {
|
339
|
-
if (t.$flags$ |= 16, t.$flags$ & 4) {
|
340
|
-
t.$flags$ |= 512;
|
341
|
-
return;
|
342
|
-
}
|
343
|
-
return ut(t, t.$ancestorComponent$), jt(() => Jt(t, e));
|
344
|
-
}, Jt = (t, e) => {
|
345
|
-
const n = t.$hostElement$, s = x("scheduleUpdate", t.$cmpMeta$.$tagName$), r = t.$lazyInstance$;
|
346
|
-
if (!r)
|
347
|
-
throw new Error(
|
348
|
-
`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
349
|
-
);
|
350
|
-
let i;
|
351
|
-
return e && (i = K(r, "componentWillLoad", void 0, n)), s(), Kt(i, () => Zt(t, r, e));
|
352
|
-
}, Kt = (t, e) => Qt(t) ? t.then(e).catch((n) => {
|
353
|
-
console.error(n), e();
|
354
|
-
}) : e(), Qt = (t) => t instanceof Promise || t && t.then && typeof t.then == "function", Zt = async (t, e, n) => {
|
355
|
-
var s;
|
356
|
-
const r = t.$hostElement$, i = x("update", t.$cmpMeta$.$tagName$), $ = r["s-rc"];
|
357
|
-
n && Ct(t);
|
358
|
-
const l = x("render", t.$cmpMeta$.$tagName$);
|
359
|
-
Mt(t, e, r, n), $ && ($.map((c) => c()), r["s-rc"] = void 0), l(), i();
|
360
|
-
{
|
361
|
-
const c = (s = r["s-p"]) != null ? s : [], o = () => mt(t);
|
362
|
-
c.length === 0 ? o() : (Promise.all(c).then(o), t.$flags$ |= 4, c.length = 0);
|
363
|
-
}
|
364
|
-
}, Mt = (t, e, n, s) => {
|
365
|
-
try {
|
366
|
-
e = e.render(), t.$flags$ &= -17, t.$flags$ |= 2, Ft(t, e, s);
|
367
|
-
} catch (r) {
|
368
|
-
P(r, t.$hostElement$);
|
369
|
-
}
|
370
|
-
return null;
|
371
|
-
}, mt = (t) => {
|
372
|
-
const e = t.$cmpMeta$.$tagName$, n = t.$hostElement$, s = x("postUpdate", e), r = t.$lazyInstance$, i = t.$ancestorComponent$;
|
373
|
-
t.$flags$ & 64 ? s() : (t.$flags$ |= 64, Vt(n), K(r, "componentDidLoad", void 0, n), s(), t.$onReadyResolve$(n), i || ht()), t.$onRenderResolve$ && (t.$onRenderResolve$(), t.$onRenderResolve$ = void 0), t.$flags$ & 512 && Y(() => J(t, !1)), t.$flags$ &= -517;
|
374
|
-
}, ht = (t) => {
|
375
|
-
Y(() => Rt(z, "appload", { detail: { namespace: yt } }));
|
376
|
-
}, K = (t, e, n, s) => {
|
377
|
-
if (t && t[e])
|
378
|
-
try {
|
379
|
-
return t[e](n);
|
380
|
-
} catch (r) {
|
381
|
-
P(r, s);
|
382
|
-
}
|
383
|
-
}, Vt = (t) => {
|
384
|
-
var e;
|
385
|
-
return t.classList.add((e = C.hydratedSelectorName) != null ? e : "hydrated");
|
386
|
-
}, Nt = (t, e) => k(t).$instanceValues$.get(e), U = (t, e, n, s) => {
|
387
|
-
const r = k(t);
|
388
|
-
if (!r)
|
389
|
-
throw new Error(
|
390
|
-
`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
|
391
|
-
);
|
392
|
-
const i = r.$hostElement$, $ = r.$instanceValues$.get(e), l = r.$flags$, c = r.$lazyInstance$;
|
393
|
-
n = W(n, s.$members$[e][0]);
|
394
|
-
const o = Number.isNaN($) && Number.isNaN(n), a = n !== $ && !o;
|
395
|
-
if ((!(l & 8) || $ === void 0) && a && (r.$instanceValues$.set(e, n), c)) {
|
396
|
-
if (s.$watchers$ && l & 128) {
|
397
|
-
const d = s.$watchers$[e];
|
398
|
-
d && d.map((f) => {
|
399
|
-
try {
|
400
|
-
c[f](n, $, e);
|
401
|
-
} catch (u) {
|
402
|
-
P(u, i);
|
403
|
-
}
|
404
|
-
});
|
405
|
-
}
|
406
|
-
(l & 18) === 2 && J(r, !1);
|
407
|
-
}
|
408
|
-
}, pt = (t, e, n) => {
|
409
|
-
var s, r;
|
410
|
-
const i = t.prototype;
|
411
|
-
if (e.$members$ || e.$watchers$ || t.watchers) {
|
412
|
-
t.watchers && !e.$watchers$ && (e.$watchers$ = t.watchers);
|
413
|
-
const $ = Object.entries((s = e.$members$) != null ? s : {});
|
414
|
-
if ($.map(([l, [c]]) => {
|
415
|
-
if (c & 31 || n & 2 && c & 32) {
|
416
|
-
const { get: o, set: a } = Object.getOwnPropertyDescriptor(i, l) || {};
|
417
|
-
o && (e.$members$[l][0] |= 2048), a && (e.$members$[l][0] |= 4096), (n & 1 || !o) && Object.defineProperty(i, l, {
|
418
|
-
get() {
|
419
|
-
{
|
420
|
-
if (!(e.$members$[l][0] & 2048))
|
421
|
-
return Nt(this, l);
|
422
|
-
const d = k(this), f = d ? d.$lazyInstance$ : i;
|
423
|
-
return f ? f[l] : void 0;
|
424
|
-
}
|
425
|
-
},
|
426
|
-
configurable: !0,
|
427
|
-
enumerable: !0
|
428
|
-
}), Object.defineProperty(i, l, {
|
429
|
-
set(d) {
|
430
|
-
const f = k(this);
|
431
|
-
if (a) {
|
432
|
-
const u = c & 32 ? this[l] : f.$hostElement$[l];
|
433
|
-
typeof u > "u" && f.$instanceValues$.get(l) ? d = f.$instanceValues$.get(l) : !f.$instanceValues$.get(l) && u && f.$instanceValues$.set(l, u), a.apply(this, [W(d, c)]), d = c & 32 ? this[l] : f.$hostElement$[l], U(this, l, d, e);
|
434
|
-
return;
|
435
|
-
}
|
436
|
-
{
|
437
|
-
if (!(n & 1) || !(e.$members$[l][0] & 4096)) {
|
438
|
-
U(this, l, d, e), n & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
|
439
|
-
e.$members$[l][0] & 4096 && f.$lazyInstance$[l] !== f.$instanceValues$.get(l) && (f.$lazyInstance$[l] = d);
|
440
|
-
});
|
441
|
-
return;
|
442
|
-
}
|
443
|
-
const u = () => {
|
444
|
-
const h = f.$lazyInstance$[l];
|
445
|
-
!f.$instanceValues$.get(l) && h && f.$instanceValues$.set(l, h), f.$lazyInstance$[l] = W(d, c), U(this, l, f.$lazyInstance$[l], e);
|
446
|
-
};
|
447
|
-
f.$lazyInstance$ ? u() : f.$onReadyPromise$.then(() => u());
|
448
|
-
}
|
449
|
-
}
|
450
|
-
});
|
451
|
-
}
|
452
|
-
}), n & 1) {
|
453
|
-
const l = /* @__PURE__ */ new Map();
|
454
|
-
i.attributeChangedCallback = function(c, o, a) {
|
455
|
-
p.jmp(() => {
|
456
|
-
var d;
|
457
|
-
const f = l.get(c);
|
458
|
-
if (this.hasOwnProperty(f) && C.lazyLoad)
|
459
|
-
a = this[f], delete this[f];
|
460
|
-
else {
|
461
|
-
if (i.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
|
462
|
-
this[f] == a)
|
463
|
-
return;
|
464
|
-
if (f == null) {
|
465
|
-
const h = k(this), g = h?.$flags$;
|
466
|
-
if (g && !(g & 8) && g & 128 && a !== o) {
|
467
|
-
const S = h.$lazyInstance$, v = (d = e.$watchers$) == null ? void 0 : d[c];
|
468
|
-
v?.forEach((T) => {
|
469
|
-
S[T] != null && S[T].call(S, a, o, c);
|
470
|
-
});
|
471
|
-
}
|
472
|
-
return;
|
473
|
-
}
|
474
|
-
}
|
475
|
-
const u = Object.getOwnPropertyDescriptor(i, f);
|
476
|
-
a = a === null && typeof this[f] == "boolean" ? !1 : a, a !== this[f] && (!u.get || u.set) && (this[f] = a);
|
477
|
-
});
|
478
|
-
}, t.observedAttributes = Array.from(
|
479
|
-
/* @__PURE__ */ new Set([
|
480
|
-
...Object.keys((r = e.$watchers$) != null ? r : {}),
|
481
|
-
...$.filter(
|
482
|
-
([c, o]) => o[0] & 15
|
483
|
-
/* HasAttribute */
|
484
|
-
).map(([c, o]) => {
|
485
|
-
var a;
|
486
|
-
const d = o[1] || c;
|
487
|
-
return l.set(d, c), o[0] & 512 && ((a = e.$attrsToReflect$) == null || a.push([c, d])), d;
|
488
|
-
})
|
489
|
-
])
|
490
|
-
);
|
491
|
-
}
|
492
|
-
}
|
493
|
-
return t;
|
494
|
-
}, te = async (t, e, n, s) => {
|
495
|
-
let r;
|
496
|
-
if (!(e.$flags$ & 32)) {
|
497
|
-
if (e.$flags$ |= 32, n.$lazyBundleId$) {
|
498
|
-
const c = Tt(n, e);
|
499
|
-
if (c && "then" in c) {
|
500
|
-
const a = Ht();
|
501
|
-
r = await c, a();
|
502
|
-
} else
|
503
|
-
r = c;
|
504
|
-
if (!r)
|
505
|
-
throw new Error(`Constructor for "${n.$tagName$}#${e.$modeName$}" was not found`);
|
506
|
-
r.isProxied || (n.$watchers$ = r.watchers, pt(
|
507
|
-
r,
|
508
|
-
n,
|
509
|
-
2
|
510
|
-
/* proxyState */
|
511
|
-
), r.isProxied = !0);
|
512
|
-
const o = x("createInstance", n.$tagName$);
|
513
|
-
e.$flags$ |= 8;
|
514
|
-
try {
|
515
|
-
new r(e);
|
516
|
-
} catch (a) {
|
517
|
-
P(a, t);
|
518
|
-
}
|
519
|
-
e.$flags$ &= -9, e.$flags$ |= 128, o();
|
520
|
-
} else {
|
521
|
-
r = t.constructor;
|
522
|
-
const c = t.localName;
|
523
|
-
customElements.whenDefined(c).then(
|
524
|
-
() => e.$flags$ |= 128
|
525
|
-
/* isWatchReady */
|
526
|
-
);
|
527
|
-
}
|
528
|
-
if (r && r.style) {
|
529
|
-
let c;
|
530
|
-
typeof r.style == "string" && (c = r.style);
|
531
|
-
const o = $t(n);
|
532
|
-
if (!O.has(o)) {
|
533
|
-
const a = x("registerStyles", n.$tagName$);
|
534
|
-
Dt(o, c, !!(n.$flags$ & 1)), a();
|
535
|
-
}
|
536
|
-
}
|
537
|
-
}
|
538
|
-
const i = e.$ancestorComponent$, $ = () => J(e, !0);
|
539
|
-
i && i["s-rc"] ? i["s-rc"].push($) : $();
|
540
|
-
}, ee = (t, e) => {
|
541
|
-
}, se = (t) => {
|
542
|
-
if (!(p.$flags$ & 1)) {
|
543
|
-
const e = k(t), n = e.$cmpMeta$, s = x("connectedCallback", n.$tagName$);
|
544
|
-
if (e.$flags$ & 1)
|
545
|
-
e?.$lazyInstance$ || e?.$onReadyPromise$ && e.$onReadyPromise$.then(() => ee());
|
546
|
-
else {
|
547
|
-
e.$flags$ |= 1;
|
548
|
-
{
|
549
|
-
let r = t;
|
550
|
-
for (; r = r.parentNode || r.host; )
|
551
|
-
if (r["s-p"]) {
|
552
|
-
ut(e, e.$ancestorComponent$ = r);
|
553
|
-
break;
|
554
|
-
}
|
555
|
-
}
|
556
|
-
n.$members$ && Object.entries(n.$members$).map(([r, [i]]) => {
|
557
|
-
if (i & 31 && t.hasOwnProperty(r)) {
|
558
|
-
const $ = t[r];
|
559
|
-
delete t[r], t[r] = $;
|
560
|
-
}
|
561
|
-
}), te(t, e, n);
|
562
|
-
}
|
563
|
-
s();
|
564
|
-
}
|
565
|
-
}, et = (t, e) => {
|
566
|
-
K(t, "disconnectedCallback", void 0, e || t);
|
567
|
-
}, ne = async (t) => {
|
568
|
-
if (!(p.$flags$ & 1)) {
|
569
|
-
const e = k(t);
|
570
|
-
e?.$lazyInstance$ ? et(e.$lazyInstance$, t) : e?.$onReadyPromise$ && e.$onReadyPromise$.then(() => et(e.$lazyInstance$, t));
|
571
|
-
}
|
572
|
-
L.has(t) && L.delete(t), t.shadowRoot && L.has(t.shadowRoot) && L.delete(t.shadowRoot);
|
573
|
-
}, le = (t, e = {}) => {
|
574
|
-
var n;
|
575
|
-
const s = x(), r = [], i = e.exclude || [], $ = z.customElements, l = w.head, c = /* @__PURE__ */ l.querySelector("meta[charset]"), o = /* @__PURE__ */ w.createElement("style"), a = [];
|
576
|
-
let d, f = !0;
|
577
|
-
Object.assign(p, e), p.$resourcesUrl$ = new URL(e.resourcesUrl || "./", w.baseURI).href;
|
578
|
-
let u = !1;
|
579
|
-
if (t.map((h) => {
|
580
|
-
h[1].map((g) => {
|
581
|
-
var S;
|
582
|
-
const v = {
|
583
|
-
$flags$: g[0],
|
584
|
-
$tagName$: g[1],
|
585
|
-
$members$: g[2],
|
586
|
-
$listeners$: g[3]
|
587
|
-
};
|
588
|
-
v.$flags$ & 4 && (u = !0), v.$members$ = g[2], v.$attrsToReflect$ = [], v.$watchers$ = (S = g[4]) != null ? S : {};
|
589
|
-
const T = v.$tagName$, gt = class extends HTMLElement {
|
590
|
-
// StencilLazyHost
|
591
|
-
constructor(E) {
|
592
|
-
if (super(E), this.hasRegisteredEventListeners = !1, E = this, xt(E, v), v.$flags$ & 1) {
|
593
|
-
if (!E.shadowRoot)
|
594
|
-
E.attachShadow({ mode: "open" });
|
595
|
-
else if (E.shadowRoot.mode !== "open")
|
596
|
-
throw new Error(
|
597
|
-
`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
598
|
-
);
|
599
|
-
}
|
600
|
-
}
|
601
|
-
connectedCallback() {
|
602
|
-
k(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), d && (clearTimeout(d), d = null), f ? a.push(this) : p.jmp(() => se(this));
|
603
|
-
}
|
604
|
-
disconnectedCallback() {
|
605
|
-
p.jmp(() => ne(this)), p.raf(() => {
|
606
|
-
var E;
|
607
|
-
const A = k(this), Q = a.findIndex((vt) => vt === this);
|
608
|
-
Q > -1 && a.splice(Q, 1), ((E = A?.$vnode$) == null ? void 0 : E.$elm$) instanceof Node && !A.$vnode$.$elm$.isConnected && delete A.$vnode$.$elm$;
|
609
|
-
});
|
610
|
-
}
|
611
|
-
componentOnReady() {
|
612
|
-
return k(this).$onReadyPromise$;
|
613
|
-
}
|
614
|
-
};
|
615
|
-
v.$lazyBundleId$ = h[0], !i.includes(T) && !$.get(T) && (r.push(T), $.define(
|
616
|
-
T,
|
617
|
-
pt(
|
618
|
-
gt,
|
619
|
-
v,
|
620
|
-
1
|
621
|
-
/* isElementConstructor */
|
622
|
-
)
|
623
|
-
));
|
624
|
-
});
|
625
|
-
}), r.length > 0 && (u && (o.textContent += st), o.textContent += r.sort() + _t, o.innerHTML.length)) {
|
626
|
-
o.setAttribute("data-styles", "");
|
627
|
-
const h = (n = p.$nonce$) != null ? n : lt(w);
|
628
|
-
h != null && o.setAttribute("nonce", h), l.insertBefore(o, c ? c.nextSibling : l.firstChild);
|
629
|
-
}
|
630
|
-
f = !1, a.length ? a.map((h) => h.connectedCallback()) : p.jmp(() => d = setTimeout(ht, 30)), s();
|
631
|
-
};
|
632
|
-
export {
|
633
|
-
qt as H,
|
634
|
-
le as b,
|
635
|
-
Ut as h,
|
636
|
-
Lt as p,
|
637
|
-
re as r
|
638
|
-
};
|