@everymatrix/casino-header-controller 1.62.0 → 1.62.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoHamburgerMenu-DG16kRnn.js → CasinoHamburgerMenu-B9IAH_YY.js} +955 -935
- package/components/CasinoHamburgerMenu-C8cGdz4v.cjs +21 -0
- package/components/{CasinoHamburgerMenu-Brszz5aE.js → CasinoHamburgerMenu-DRGz0x_i.js} +996 -976
- package/components/{CasinoHeaderController-Bi_PsLNo.js → CasinoHeaderController-B-BPTjQx.js} +805 -805
- package/components/{CasinoHeaderController-D-uj7JRv.js → CasinoHeaderController-CPWk1rYN.js} +834 -834
- package/components/CasinoHeaderController-CRKRbnS1.cjs +13 -0
- package/components/{CasinoSlider-BGcfG7tc.js → CasinoSlider-BYM8xAjw.js} +160 -161
- package/components/CasinoSlider-EyNMAsDA.cjs +1 -0
- package/components/{CasinoSlider-CbwSfQ5U.js → CasinoSlider-gdJBiwPv.js} +229 -230
- package/components/PlayerAccountBalanceModal-Btw6JVum.cjs +13 -0
- package/components/PlayerAccountBalanceModal-C6gNwaoU.js +1539 -0
- package/components/PlayerAccountBalanceModal-CtjDziPg.js +1510 -0
- package/components/{PlayerDeposit-DT3FMmq_.js → PlayerDeposit-B1mR9g-U.js} +65 -65
- package/components/PlayerDeposit-t-UG_1zf.cjs +1 -0
- package/components/{PlayerDeposit-LOugiTzl.js → PlayerDeposit-zkOb7jg5.js} +65 -65
- 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-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-1ef3a64c-BKQuom7L.js +556 -0
- package/stencil/index-1ef3a64c-CA6VYINb.cjs +1 -0
- package/stencil/index-1ef3a64c-CMTTH4QO.js +572 -0
- package/stencil/{user-deposit-withdrawal-BgHQVwjl.js → user-deposit-withdrawal-CIdBBp4F.js} +2 -2
- package/stencil/{user-deposit-withdrawal-CiSGImrn.js → user-deposit-withdrawal-XUfhzxqt.js} +2 -2
- package/stencil/user-deposit-withdrawal-jRWOVoij.cjs +59 -0
- package/components/CasinoHamburgerMenu-CenXHDyi.cjs +0 -21
- package/components/CasinoHeaderController-Bz4z7_4A.cjs +0 -13
- package/components/CasinoSlider-AbmiO3mA.cjs +0 -1
- package/components/PlayerAccountBalanceModal-CRsCp5RM.js +0 -1510
- package/components/PlayerAccountBalanceModal-CxtwbrSo.cjs +0 -13
- package/components/PlayerAccountBalanceModal-LJoITUi6.js +0 -1539
- package/components/PlayerDeposit-kURepYtp.cjs +0 -1
- package/stencil/app-globals-0f993ce5-B6nNHmA4.js +0 -7
- package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
- package/stencil/index-1ef3a64c-BaxDlNn6.cjs +0 -1
- package/stencil/index-1ef3a64c-D9Ku4GpR.js +0 -572
- package/stencil/index-1ef3a64c-ROy2EAIH.js +0 -556
- package/stencil/index-b7bbd57e-BoAFccAK.js +0 -550
- package/stencil/index-b7bbd57e-BuEw0j7w.js +0 -534
- package/stencil/index-b7bbd57e-ClcNZKHr.cjs +0 -1
- package/stencil/ui-image-38c3c15f-6EDRvUAC.cjs +0 -1
- package/stencil/ui-image-38c3c15f-BkLbeFkW.js +0 -39
- package/stencil/ui-image-38c3c15f-Xqn6sg2a.js +0 -39
- package/stencil/ui-image-CE5QS3zc.js +0 -29
- package/stencil/ui-image-CjqRfQLV.js +0 -11
- package/stencil/ui-image-kleliRLi.cjs +0 -1
- package/stencil/user-deposit-withdrawal-BFFp7sgO.cjs +0 -59
package/package.json
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const s=()=>{};exports.globalScripts=s;
|
@@ -0,0 +1,556 @@
|
|
1
|
+
const ve = "user-deposit-withdrawal", ge = (
|
2
|
+
/* user-deposit-withdrawal */
|
3
|
+
{ hydratedSelectorName: "hydrated" }
|
4
|
+
);
|
5
|
+
var pe = Object.defineProperty, he = (e, t) => {
|
6
|
+
for (var r in t)
|
7
|
+
pe(e, r, { get: t[r], enumerable: !0 });
|
8
|
+
}, C = /* @__PURE__ */ new WeakMap(), w = (e) => C.get(e), nt = (e, t) => C.set(t.$lazyInstance$ = e, t), ye = (e, t) => {
|
9
|
+
const r = {
|
10
|
+
$flags$: 0,
|
11
|
+
$hostElement$: e,
|
12
|
+
$cmpMeta$: t,
|
13
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
14
|
+
};
|
15
|
+
return r.$onReadyPromise$ = new Promise((s) => r.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], C.set(e, r);
|
16
|
+
}, F = (e, t) => t in e, b = (e, t) => (0, console.error)(e, t), I = /* @__PURE__ */ new Map(), me = (e, t, r) => {
|
17
|
+
const s = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
|
18
|
+
if (!n)
|
19
|
+
return;
|
20
|
+
const i = I.get(n);
|
21
|
+
if (i)
|
22
|
+
return i[s];
|
23
|
+
{
|
24
|
+
const l = (o) => (I.set(n, o), o[s]);
|
25
|
+
switch (n) {
|
26
|
+
case "user-deposit-withdrawal":
|
27
|
+
return import(
|
28
|
+
/* webpackMode: "lazy" */
|
29
|
+
"./user-deposit-withdrawal-CIdBBp4F.js"
|
30
|
+
).then(l, b);
|
31
|
+
}
|
32
|
+
}
|
33
|
+
return import(
|
34
|
+
/* @vite-ignore */
|
35
|
+
/* webpackInclude: /\.entry\.js$/ */
|
36
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
37
|
+
/* webpackMode: "lazy" */
|
38
|
+
`./${n}.entry.js`
|
39
|
+
).then((l) => (I.set(n, l), l[s]), b);
|
40
|
+
}, L = /* @__PURE__ */ new Map(), Se = "{visibility:hidden}.hydrated{visibility:inherit}", V = "slot-fb{display:contents}slot-fb[hidden]{display:none}", O = typeof window < "u" ? window : {}, S = O.document || { head: {} }, p = {
|
41
|
+
$flags$: 0,
|
42
|
+
$resourcesUrl$: "",
|
43
|
+
jmp: (e) => e(),
|
44
|
+
raf: (e) => requestAnimationFrame(e),
|
45
|
+
ael: (e, t, r, s) => e.addEventListener(t, r, s),
|
46
|
+
rel: (e, t, r, s) => e.removeEventListener(t, r, s),
|
47
|
+
ce: (e, t) => new CustomEvent(e, t)
|
48
|
+
}, Ee = (e) => Promise.resolve(e), ke = /* @__PURE__ */ (() => {
|
49
|
+
try {
|
50
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
51
|
+
} catch {
|
52
|
+
}
|
53
|
+
return !1;
|
54
|
+
})(), U = !1, G = [], ee = [], we = (e, t) => (r) => {
|
55
|
+
e.push(r), U || (U = !0, p.$flags$ & 4 ? q(H) : p.raf(H));
|
56
|
+
}, X = (e) => {
|
57
|
+
for (let t = 0; t < e.length; t++)
|
58
|
+
try {
|
59
|
+
e[t](performance.now());
|
60
|
+
} catch (r) {
|
61
|
+
b(r);
|
62
|
+
}
|
63
|
+
e.length = 0;
|
64
|
+
}, H = () => {
|
65
|
+
X(G), X(ee), (U = G.length > 0) && p.raf(H);
|
66
|
+
}, q = (e) => Ee().then(e), be = /* @__PURE__ */ we(ee), Y = {}, xe = "http://www.w3.org/2000/svg", Te = "http://www.w3.org/1999/xhtml", Pe = (e) => e != null, R = (e) => (e = typeof e, e === "object" || e === "function");
|
67
|
+
function te(e) {
|
68
|
+
var t, r, s;
|
69
|
+
return (s = (r = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : r.getAttribute("content")) != null ? s : void 0;
|
70
|
+
}
|
71
|
+
var _e = {};
|
72
|
+
he(_e, {
|
73
|
+
err: () => se,
|
74
|
+
map: () => Ae,
|
75
|
+
ok: () => z,
|
76
|
+
unwrap: () => Le,
|
77
|
+
unwrapErr: () => je
|
78
|
+
});
|
79
|
+
var z = (e) => ({
|
80
|
+
isOk: !0,
|
81
|
+
isErr: !1,
|
82
|
+
value: e
|
83
|
+
}), se = (e) => ({
|
84
|
+
isOk: !1,
|
85
|
+
isErr: !0,
|
86
|
+
value: e
|
87
|
+
});
|
88
|
+
function Ae(e, t) {
|
89
|
+
if (e.isOk) {
|
90
|
+
const r = t(e.value);
|
91
|
+
return r instanceof Promise ? r.then((s) => z(s)) : z(r);
|
92
|
+
}
|
93
|
+
if (e.isErr) {
|
94
|
+
const r = e.value;
|
95
|
+
return se(r);
|
96
|
+
}
|
97
|
+
throw "should never get here";
|
98
|
+
}
|
99
|
+
var Le = (e) => {
|
100
|
+
if (e.isOk)
|
101
|
+
return e.value;
|
102
|
+
throw e.value;
|
103
|
+
}, je = (e) => {
|
104
|
+
if (e.isErr)
|
105
|
+
return e.value;
|
106
|
+
throw e.value;
|
107
|
+
}, E = (e, t = "") => () => {
|
108
|
+
}, Oe = (e, t) => () => {
|
109
|
+
}, Ie = (e, t, ...r) => {
|
110
|
+
let s = null, n = null, i = !1, l = !1;
|
111
|
+
const o = [], a = (c) => {
|
112
|
+
for (let f = 0; f < c.length; f++)
|
113
|
+
s = c[f], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && ((i = typeof e != "function" && !R(s)) && (s = String(s)), i && l ? o[o.length - 1].$text$ += s : o.push(i ? B(null, s) : s), l = i);
|
114
|
+
};
|
115
|
+
if (a(r), t) {
|
116
|
+
t.key && (n = t.key);
|
117
|
+
{
|
118
|
+
const c = t.className || t.class;
|
119
|
+
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
|
120
|
+
}
|
121
|
+
}
|
122
|
+
const $ = B(e, null);
|
123
|
+
return $.$attrs$ = t, o.length > 0 && ($.$children$ = o), $.$key$ = n, $;
|
124
|
+
}, B = (e, t) => {
|
125
|
+
const r = {
|
126
|
+
$flags$: 0,
|
127
|
+
$tag$: e,
|
128
|
+
$text$: t,
|
129
|
+
$elm$: null,
|
130
|
+
$children$: null
|
131
|
+
};
|
132
|
+
return r.$attrs$ = null, r.$key$ = null, r;
|
133
|
+
}, Ue = {}, He = (e) => e && e.$tag$ === Ue, ze = (e, t) => e != null && !R(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, Be = (e, t, r) => {
|
134
|
+
const s = p.ce(t, r);
|
135
|
+
return e.dispatchEvent(s), s;
|
136
|
+
}, J = /* @__PURE__ */ new WeakMap(), Ce = (e, t, r) => {
|
137
|
+
let s = L.get(e);
|
138
|
+
ke && r ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, L.set(e, s);
|
139
|
+
}, qe = (e, t, r) => {
|
140
|
+
var s;
|
141
|
+
const n = ne(t), i = L.get(n);
|
142
|
+
if (e = e.nodeType === 11 ? e : S, i)
|
143
|
+
if (typeof i == "string") {
|
144
|
+
e = e.head || e;
|
145
|
+
let l = J.get(e), o;
|
146
|
+
if (l || J.set(e, l = /* @__PURE__ */ new Set()), !l.has(n)) {
|
147
|
+
{
|
148
|
+
o = S.createElement("style"), o.innerHTML = i;
|
149
|
+
const a = (s = p.$nonce$) != null ? s : te(S);
|
150
|
+
a != null && o.setAttribute("nonce", a), e.insertBefore(o, e.querySelector("link"));
|
151
|
+
}
|
152
|
+
t.$flags$ & 4 && (o.innerHTML += V), l && l.add(n);
|
153
|
+
}
|
154
|
+
} else
|
155
|
+
e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
|
156
|
+
return n;
|
157
|
+
}, Re = (e) => {
|
158
|
+
const t = e.$cmpMeta$, r = e.$hostElement$, s = t.$flags$, n = E("attachStyles", t.$tagName$), i = qe(
|
159
|
+
r.shadowRoot ? r.shadowRoot : r.getRootNode(),
|
160
|
+
t
|
161
|
+
);
|
162
|
+
s & 10 && (r["s-sc"] = i, r.classList.add(i + "-h")), n();
|
163
|
+
}, ne = (e, t) => "sc-" + e.$tagName$, K = (e, t, r, s, n, i) => {
|
164
|
+
if (r !== s) {
|
165
|
+
let l = F(e, t), o = t.toLowerCase();
|
166
|
+
if (t === "class") {
|
167
|
+
const a = e.classList, $ = Q(r), c = Q(s);
|
168
|
+
a.remove(...$.filter((f) => f && !c.includes(f))), a.add(...c.filter((f) => f && !$.includes(f)));
|
169
|
+
} else if (t === "style") {
|
170
|
+
for (const a in r)
|
171
|
+
(!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
|
172
|
+
for (const a in s)
|
173
|
+
(!r || s[a] !== r[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
|
174
|
+
} else if (t !== "key")
|
175
|
+
if (t === "ref")
|
176
|
+
s && s(e);
|
177
|
+
else if (!l && t[0] === "o" && t[1] === "n") {
|
178
|
+
if (t[2] === "-" ? t = t.slice(3) : F(O, o) ? t = o.slice(2) : t = o[2] + t.slice(3), r || s) {
|
179
|
+
const a = t.endsWith(re);
|
180
|
+
t = t.replace(De, ""), r && p.rel(e, t, r, a), s && p.ael(e, t, s, a);
|
181
|
+
}
|
182
|
+
} else {
|
183
|
+
const a = R(s);
|
184
|
+
if ((l || a && s !== null) && !n)
|
185
|
+
try {
|
186
|
+
if (e.tagName.includes("-"))
|
187
|
+
e[t] = s;
|
188
|
+
else {
|
189
|
+
const $ = s ?? "";
|
190
|
+
t === "list" ? l = !1 : (r == null || e[t] != $) && (e[t] = $);
|
191
|
+
}
|
192
|
+
} catch {
|
193
|
+
}
|
194
|
+
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || n) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}, Me = /\s/, Q = (e) => e ? e.split(Me) : [], re = "Capture", De = new RegExp(re + "$"), le = (e, t, r) => {
|
198
|
+
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || Y, i = t.$attrs$ || Y;
|
199
|
+
for (const l of Z(Object.keys(n)))
|
200
|
+
l in i || K(s, l, n[l], void 0, r, t.$flags$);
|
201
|
+
for (const l of Z(Object.keys(i)))
|
202
|
+
K(s, l, n[l], i[l], r, t.$flags$);
|
203
|
+
};
|
204
|
+
function Z(e) {
|
205
|
+
return e.includes("ref") ? (
|
206
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
207
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
208
|
+
) : (
|
209
|
+
// no need to sort, return the original array
|
210
|
+
e
|
211
|
+
);
|
212
|
+
}
|
213
|
+
var _, M, y = !1, j = (e, t, r, s) => {
|
214
|
+
const n = t.$children$[r];
|
215
|
+
let i = 0, l, o;
|
216
|
+
if (n.$text$ !== null)
|
217
|
+
l = n.$elm$ = S.createTextNode(n.$text$);
|
218
|
+
else {
|
219
|
+
if (y || (y = n.$tag$ === "svg"), l = n.$elm$ = S.createElementNS(
|
220
|
+
y ? xe : Te,
|
221
|
+
n.$tag$
|
222
|
+
), y && n.$tag$ === "foreignObject" && (y = !1), le(null, n, y), Pe(_) && l["s-si"] !== _ && l.classList.add(l["s-si"] = _), n.$children$)
|
223
|
+
for (i = 0; i < n.$children$.length; ++i)
|
224
|
+
o = j(e, n, i), o && l.appendChild(o);
|
225
|
+
n.$tag$ === "svg" ? y = !1 : l.tagName === "foreignObject" && (y = !0);
|
226
|
+
}
|
227
|
+
return l["s-hn"] = M, l;
|
228
|
+
}, ae = (e, t, r, s, n, i) => {
|
229
|
+
let l = e, o;
|
230
|
+
for (l.shadowRoot && l.tagName === M && (l = l.shadowRoot); n <= i; ++n)
|
231
|
+
s[n] && (o = j(null, r, n), o && (s[n].$elm$ = o, A(l, o, t)));
|
232
|
+
}, ie = (e, t, r) => {
|
233
|
+
for (let s = t; s <= r; ++s) {
|
234
|
+
const n = e[s];
|
235
|
+
if (n) {
|
236
|
+
const i = n.$elm$;
|
237
|
+
oe(n), i && i.remove();
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}, We = (e, t, r, s, n = !1) => {
|
241
|
+
let i = 0, l = 0, o = 0, a = 0, $ = t.length - 1, c = t[0], f = t[$], d = s.length - 1, u = s[0], v = s[d], g, m;
|
242
|
+
for (; i <= $ && l <= d; )
|
243
|
+
if (c == null)
|
244
|
+
c = t[++i];
|
245
|
+
else if (f == null)
|
246
|
+
f = t[--$];
|
247
|
+
else if (u == null)
|
248
|
+
u = s[++l];
|
249
|
+
else if (v == null)
|
250
|
+
v = s[--d];
|
251
|
+
else if (P(c, u, n))
|
252
|
+
x(c, u, n), c = t[++i], u = s[++l];
|
253
|
+
else if (P(f, v, n))
|
254
|
+
x(f, v, n), f = t[--$], v = s[--d];
|
255
|
+
else if (P(c, v, n))
|
256
|
+
x(c, v, n), A(e, c.$elm$, f.$elm$.nextSibling), c = t[++i], v = s[--d];
|
257
|
+
else if (P(f, u, n))
|
258
|
+
x(f, u, n), A(e, f.$elm$, c.$elm$), f = t[--$], u = s[++l];
|
259
|
+
else {
|
260
|
+
for (o = -1, a = i; a <= $; ++a)
|
261
|
+
if (t[a] && t[a].$key$ !== null && t[a].$key$ === u.$key$) {
|
262
|
+
o = a;
|
263
|
+
break;
|
264
|
+
}
|
265
|
+
o >= 0 ? (m = t[o], m.$tag$ !== u.$tag$ ? g = j(t && t[l], r, o) : (x(m, u, n), t[o] = void 0, g = m.$elm$), u = s[++l]) : (g = j(t && t[l], r, l), u = s[++l]), g && A(c.$elm$.parentNode, g, c.$elm$);
|
266
|
+
}
|
267
|
+
i > $ ? ae(
|
268
|
+
e,
|
269
|
+
s[d + 1] == null ? null : s[d + 1].$elm$,
|
270
|
+
r,
|
271
|
+
s,
|
272
|
+
l,
|
273
|
+
d
|
274
|
+
) : l > d && ie(t, i, $);
|
275
|
+
}, P = (e, t, r = !1) => e.$tag$ === t.$tag$ ? r ? !0 : e.$key$ === t.$key$ : !1, x = (e, t, r = !1) => {
|
276
|
+
const s = t.$elm$ = e.$elm$, n = e.$children$, i = t.$children$, l = t.$tag$, o = t.$text$;
|
277
|
+
o === null ? (y = l === "svg" ? !0 : l === "foreignObject" ? !1 : y, le(e, t, y), n !== null && i !== null ? We(s, n, t, i, r) : i !== null ? (e.$text$ !== null && (s.textContent = ""), ae(s, null, t, i, 0, i.length - 1)) : n !== null && ie(n, 0, n.length - 1), y && l === "svg" && (y = !1)) : e.$text$ !== o && (s.data = o);
|
278
|
+
}, oe = (e) => {
|
279
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(oe);
|
280
|
+
}, A = (e, t, r) => e?.insertBefore(t, r), Fe = (e, t, r = !1) => {
|
281
|
+
const s = e.$hostElement$, n = e.$cmpMeta$, i = e.$vnode$ || B(null, null), l = He(t) ? t : Ie(null, null, t);
|
282
|
+
if (M = s.tagName, n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map(
|
283
|
+
([o, a]) => l.$attrs$[a] = s[o]
|
284
|
+
)), r && l.$attrs$)
|
285
|
+
for (const o of Object.keys(l.$attrs$))
|
286
|
+
s.hasAttribute(o) && !["key", "ref", "style", "class"].includes(o) && (l.$attrs$[o] = s[o]);
|
287
|
+
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = i.$elm$ = s.shadowRoot || s, _ = s["s-sc"], n.$flags$ & 1, x(i, l, r);
|
288
|
+
}, $e = (e, t) => {
|
289
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((r) => e.$onRenderResolve$ = r));
|
290
|
+
}, D = (e, t) => {
|
291
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
292
|
+
e.$flags$ |= 512;
|
293
|
+
return;
|
294
|
+
}
|
295
|
+
return $e(e, e.$ancestorComponent$), be(() => Ge(e, t));
|
296
|
+
}, Ge = (e, t) => {
|
297
|
+
const r = e.$hostElement$, s = E("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
|
298
|
+
if (!n)
|
299
|
+
throw new Error(
|
300
|
+
`Can't render component <${r.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`
|
301
|
+
);
|
302
|
+
let i;
|
303
|
+
return t && (i = W(n, "componentWillLoad")), s(), Xe(i, () => Je(e, n, t));
|
304
|
+
}, Xe = (e, t) => Ye(e) ? e.then(t).catch((r) => {
|
305
|
+
console.error(r), t();
|
306
|
+
}) : t(), Ye = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Je = async (e, t, r) => {
|
307
|
+
var s;
|
308
|
+
const n = e.$hostElement$, i = E("update", e.$cmpMeta$.$tagName$), l = n["s-rc"];
|
309
|
+
r && Re(e);
|
310
|
+
const o = E("render", e.$cmpMeta$.$tagName$);
|
311
|
+
Ke(e, t, n, r), l && (l.map((a) => a()), n["s-rc"] = void 0), o(), i();
|
312
|
+
{
|
313
|
+
const a = (s = n["s-p"]) != null ? s : [], $ = () => Qe(e);
|
314
|
+
a.length === 0 ? $() : (Promise.all(a).then($), e.$flags$ |= 4, a.length = 0);
|
315
|
+
}
|
316
|
+
}, Ke = (e, t, r, s) => {
|
317
|
+
try {
|
318
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Fe(e, t, s);
|
319
|
+
} catch (n) {
|
320
|
+
b(n, e.$hostElement$);
|
321
|
+
}
|
322
|
+
return null;
|
323
|
+
}, Qe = (e) => {
|
324
|
+
const t = e.$cmpMeta$.$tagName$, r = e.$hostElement$, s = E("postUpdate", t), n = e.$lazyInstance$, i = e.$ancestorComponent$;
|
325
|
+
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, fe(r), W(n, "componentDidLoad"), s(), e.$onReadyResolve$(r), i || ce()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && q(() => D(e, !1)), e.$flags$ &= -517;
|
326
|
+
}, ce = (e) => {
|
327
|
+
fe(S.documentElement), q(() => Be(O, "appload", { detail: { namespace: ve } }));
|
328
|
+
}, W = (e, t, r) => {
|
329
|
+
if (e && e[t])
|
330
|
+
try {
|
331
|
+
return e[t](r);
|
332
|
+
} catch (s) {
|
333
|
+
b(s);
|
334
|
+
}
|
335
|
+
}, fe = (e) => {
|
336
|
+
var t;
|
337
|
+
return e.classList.add((t = ge.hydratedSelectorName) != null ? t : "hydrated");
|
338
|
+
}, Ze = (e, t) => w(e).$instanceValues$.get(t), Ne = (e, t, r, s) => {
|
339
|
+
const n = w(e);
|
340
|
+
if (!n)
|
341
|
+
throw new Error(
|
342
|
+
`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).`
|
343
|
+
);
|
344
|
+
const i = n.$hostElement$, l = n.$instanceValues$.get(t), o = n.$flags$, a = n.$lazyInstance$;
|
345
|
+
r = ze(r, s.$members$[t][0]);
|
346
|
+
const $ = Number.isNaN(l) && Number.isNaN(r), c = r !== l && !$;
|
347
|
+
if ((!(o & 8) || l === void 0) && c && (n.$instanceValues$.set(t, r), a)) {
|
348
|
+
if (s.$watchers$ && o & 128) {
|
349
|
+
const f = s.$watchers$[t];
|
350
|
+
f && f.map((d) => {
|
351
|
+
try {
|
352
|
+
a[d](r, l, t);
|
353
|
+
} catch (u) {
|
354
|
+
b(u, i);
|
355
|
+
}
|
356
|
+
});
|
357
|
+
}
|
358
|
+
(o & 18) === 2 && D(n, !1);
|
359
|
+
}
|
360
|
+
}, de = (e, t, r) => {
|
361
|
+
var s, n;
|
362
|
+
const i = e.prototype;
|
363
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
364
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
365
|
+
const l = Object.entries((s = t.$members$) != null ? s : {});
|
366
|
+
if (l.map(([o, [a]]) => {
|
367
|
+
(a & 31 || r & 2 && a & 32) && Object.defineProperty(i, o, {
|
368
|
+
get() {
|
369
|
+
return Ze(this, o);
|
370
|
+
},
|
371
|
+
set($) {
|
372
|
+
Ne(this, o, $, t);
|
373
|
+
},
|
374
|
+
configurable: !0,
|
375
|
+
enumerable: !0
|
376
|
+
});
|
377
|
+
}), r & 1) {
|
378
|
+
const o = /* @__PURE__ */ new Map();
|
379
|
+
i.attributeChangedCallback = function(a, $, c) {
|
380
|
+
p.jmp(() => {
|
381
|
+
var f;
|
382
|
+
const d = o.get(a);
|
383
|
+
if (this.hasOwnProperty(d))
|
384
|
+
c = this[d], delete this[d];
|
385
|
+
else {
|
386
|
+
if (i.hasOwnProperty(d) && typeof this[d] == "number" && this[d] == c)
|
387
|
+
return;
|
388
|
+
if (d == null) {
|
389
|
+
const u = w(this), v = u?.$flags$;
|
390
|
+
if (v && !(v & 8) && v & 128 && c !== $) {
|
391
|
+
const g = u.$lazyInstance$, m = (f = t.$watchers$) == null ? void 0 : f[a];
|
392
|
+
m?.forEach((h) => {
|
393
|
+
g[h] != null && g[h].call(g, c, $, a);
|
394
|
+
});
|
395
|
+
}
|
396
|
+
return;
|
397
|
+
}
|
398
|
+
}
|
399
|
+
this[d] = c === null && typeof this[d] == "boolean" ? !1 : c;
|
400
|
+
});
|
401
|
+
}, e.observedAttributes = Array.from(
|
402
|
+
/* @__PURE__ */ new Set([
|
403
|
+
...Object.keys((n = t.$watchers$) != null ? n : {}),
|
404
|
+
...l.filter(
|
405
|
+
([a, $]) => $[0] & 15
|
406
|
+
/* HasAttribute */
|
407
|
+
).map(([a, $]) => {
|
408
|
+
var c;
|
409
|
+
const f = $[1] || a;
|
410
|
+
return o.set(f, a), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([a, f])), f;
|
411
|
+
})
|
412
|
+
])
|
413
|
+
);
|
414
|
+
}
|
415
|
+
}
|
416
|
+
return e;
|
417
|
+
}, Ve = async (e, t, r, s) => {
|
418
|
+
let n;
|
419
|
+
if (!(t.$flags$ & 32)) {
|
420
|
+
if (t.$flags$ |= 32, r.$lazyBundleId$) {
|
421
|
+
const a = me(r);
|
422
|
+
if (a && "then" in a) {
|
423
|
+
const c = Oe();
|
424
|
+
n = await a, c();
|
425
|
+
} else
|
426
|
+
n = a;
|
427
|
+
if (!n)
|
428
|
+
throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);
|
429
|
+
n.isProxied || (r.$watchers$ = n.watchers, de(
|
430
|
+
n,
|
431
|
+
r,
|
432
|
+
2
|
433
|
+
/* proxyState */
|
434
|
+
), n.isProxied = !0);
|
435
|
+
const $ = E("createInstance", r.$tagName$);
|
436
|
+
t.$flags$ |= 8;
|
437
|
+
try {
|
438
|
+
new n(t);
|
439
|
+
} catch (c) {
|
440
|
+
b(c);
|
441
|
+
}
|
442
|
+
t.$flags$ &= -9, t.$flags$ |= 128, $();
|
443
|
+
} else {
|
444
|
+
n = e.constructor;
|
445
|
+
const a = e.localName;
|
446
|
+
customElements.whenDefined(a).then(
|
447
|
+
() => t.$flags$ |= 128
|
448
|
+
/* isWatchReady */
|
449
|
+
);
|
450
|
+
}
|
451
|
+
if (n && n.style) {
|
452
|
+
let a;
|
453
|
+
typeof n.style == "string" && (a = n.style);
|
454
|
+
const $ = ne(r);
|
455
|
+
if (!L.has($)) {
|
456
|
+
const c = E("registerStyles", r.$tagName$);
|
457
|
+
Ce($, a, !!(r.$flags$ & 1)), c();
|
458
|
+
}
|
459
|
+
}
|
460
|
+
}
|
461
|
+
const i = t.$ancestorComponent$, l = () => D(t, !0);
|
462
|
+
i && i["s-rc"] ? i["s-rc"].push(l) : l();
|
463
|
+
}, et = (e) => {
|
464
|
+
}, tt = (e) => {
|
465
|
+
if (!(p.$flags$ & 1)) {
|
466
|
+
const t = w(e), r = t.$cmpMeta$, s = E("connectedCallback", r.$tagName$);
|
467
|
+
if (t.$flags$ & 1)
|
468
|
+
t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => et());
|
469
|
+
else {
|
470
|
+
t.$flags$ |= 1;
|
471
|
+
{
|
472
|
+
let n = e;
|
473
|
+
for (; n = n.parentNode || n.host; )
|
474
|
+
if (n["s-p"]) {
|
475
|
+
$e(t, t.$ancestorComponent$ = n);
|
476
|
+
break;
|
477
|
+
}
|
478
|
+
}
|
479
|
+
r.$members$ && Object.entries(r.$members$).map(([n, [i]]) => {
|
480
|
+
if (i & 31 && e.hasOwnProperty(n)) {
|
481
|
+
const l = e[n];
|
482
|
+
delete e[n], e[n] = l;
|
483
|
+
}
|
484
|
+
}), Ve(e, t, r);
|
485
|
+
}
|
486
|
+
s();
|
487
|
+
}
|
488
|
+
}, N = (e) => {
|
489
|
+
W(e, "disconnectedCallback");
|
490
|
+
}, st = async (e) => {
|
491
|
+
if (!(p.$flags$ & 1)) {
|
492
|
+
const t = w(e);
|
493
|
+
t?.$lazyInstance$ ? N(t.$lazyInstance$) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => N(t.$lazyInstance$));
|
494
|
+
}
|
495
|
+
}, rt = (e, t = {}) => {
|
496
|
+
var r;
|
497
|
+
const s = E(), n = [], i = t.exclude || [], l = O.customElements, o = S.head, a = /* @__PURE__ */ o.querySelector("meta[charset]"), $ = /* @__PURE__ */ S.createElement("style"), c = [];
|
498
|
+
let f, d = !0;
|
499
|
+
Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", S.baseURI).href;
|
500
|
+
let u = !1;
|
501
|
+
if (e.map((v) => {
|
502
|
+
v[1].map((g) => {
|
503
|
+
var m;
|
504
|
+
const h = {
|
505
|
+
$flags$: g[0],
|
506
|
+
$tagName$: g[1],
|
507
|
+
$members$: g[2],
|
508
|
+
$listeners$: g[3]
|
509
|
+
};
|
510
|
+
h.$flags$ & 4 && (u = !0), h.$members$ = g[2], h.$attrsToReflect$ = [], h.$watchers$ = (m = g[4]) != null ? m : {};
|
511
|
+
const T = h.$tagName$, ue = class extends HTMLElement {
|
512
|
+
// StencilLazyHost
|
513
|
+
constructor(k) {
|
514
|
+
if (super(k), this.hasRegisteredEventListeners = !1, k = this, ye(k, h), h.$flags$ & 1) {
|
515
|
+
if (!k.shadowRoot)
|
516
|
+
k.attachShadow({ mode: "open" });
|
517
|
+
else if (k.shadowRoot.mode !== "open")
|
518
|
+
throw new Error(
|
519
|
+
`Unable to re-use existing shadow root for ${h.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
520
|
+
);
|
521
|
+
}
|
522
|
+
}
|
523
|
+
connectedCallback() {
|
524
|
+
w(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? c.push(this) : p.jmp(() => tt(this));
|
525
|
+
}
|
526
|
+
disconnectedCallback() {
|
527
|
+
p.jmp(() => st(this));
|
528
|
+
}
|
529
|
+
componentOnReady() {
|
530
|
+
return w(this).$onReadyPromise$;
|
531
|
+
}
|
532
|
+
};
|
533
|
+
h.$lazyBundleId$ = v[0], !i.includes(T) && !l.get(T) && (n.push(T), l.define(
|
534
|
+
T,
|
535
|
+
de(
|
536
|
+
ue,
|
537
|
+
h,
|
538
|
+
1
|
539
|
+
/* isElementConstructor */
|
540
|
+
)
|
541
|
+
));
|
542
|
+
});
|
543
|
+
}), n.length > 0 && (u && ($.textContent += V), $.textContent += n.sort() + Se, $.innerHTML.length)) {
|
544
|
+
$.setAttribute("data-styles", "");
|
545
|
+
const v = (r = p.$nonce$) != null ? r : te(S);
|
546
|
+
v != null && $.setAttribute("nonce", v), o.insertBefore($, a ? a.nextSibling : o.firstChild);
|
547
|
+
}
|
548
|
+
d = !1, c.length ? c.map((v) => v.connectedCallback()) : p.jmp(() => f = setTimeout(ce, 30)), s();
|
549
|
+
};
|
550
|
+
export {
|
551
|
+
Ue as H,
|
552
|
+
rt as b,
|
553
|
+
Ie as h,
|
554
|
+
Ee as p,
|
555
|
+
nt as r
|
556
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{o(n.next(a))}catch($){r($)}},l=a=>{try{o(n.throw(a))}catch($){r($)}},o=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);o((n=n.apply(e,t)).next())});const ye="user-deposit-withdrawal",me={hydratedSelectorName:"hydrated"};var Se=Object.defineProperty,Ee=(e,t)=>{for(var n in t)Se(e,n,{get:t[n],enumerable:!0})},q=new WeakMap,w=e=>q.get(e),ke=(e,t)=>q.set(t.$lazyInstance$=e,t),we=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],q.set(e,n)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),U=new Map,be=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=U.get(r);if(i)return i[s];{const l=o=>(U.set(r,o),o[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-jRWOVoij.cjs")).then(l,b)}}return import(`./${r}.entry.js`).then(l=>(U.set(r,l),l[s]),b)},j=new Map,Te="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},S=I.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Pe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),H=!1,X=[],se=[],xe=(e,t)=>n=>{e.push(n),H||(H=!0,h.$flags$&4?R(z):h.raf(z))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){b(n)}e.length=0},z=()=>{Y(X),Y(se),(H=X.length>0)&&h.raf(z)},R=e=>te().then(e),_e=xe(se),J={},Le="http://www.w3.org/2000/svg",Ae="http://www.w3.org/1999/xhtml",je=e=>e!=null,M=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Oe={};Ee(Oe,{err:()=>re,map:()=>Ie,ok:()=>B,unwrap:()=>Ue,unwrapErr:()=>He});var B=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function Ie(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>B(s)):B(n)}if(e.isErr){const n=e.value;return re(n)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},ze=(e,t)=>()=>{},le=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const o=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!M(s))&&(s=String(s)),i&&l?o[o.length-1].$text$+=s:o.push(i?C(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=C(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$},C=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ae={},Be=e=>e&&e.$tag$===ae,Ce=(e,t)=>e!=null&&!M(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,qe=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},K=new WeakMap,Re=(e,t,n)=>{let s=j.get(e);Pe&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,j.set(e,s)},Me=(e,t,n)=>{var s;const r=ie(t),i=j.get(r);if(e=e.nodeType===11?e:S,i)if(typeof i=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(r)){{o=S.createElement("style"),o.innerHTML=i;const a=(s=h.$nonce$)!=null?s:ne(S);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},De=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=E("attachStyles",t.$tagName$),i=Me(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(n["s-sc"]=i,n.classList.add(i+"-h")),r()},ie=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,n,s,r,i)=>{if(n!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,$=Z(n),c=Z(s);a.remove(...$.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!$.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(I,o)?t=o.slice(2):t=o[2]+t.slice(3),n||s){const a=t.endsWith(oe);t=t.replace(Fe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=M(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],oe="Capture",Fe=new RegExp(oe+"$"),$e=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||J,i=t.$attrs$||J;for(const l of N(Object.keys(r)))l in i||Q(s,l,r[l],void 0,n,t.$flags$);for(const l of N(Object.keys(i)))Q(s,l,r[l],i[l],n,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,D,y=!1,O=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,o;if(r.$text$!==null)l=r.$elm$=S.createTextNode(r.$text$);else{if(y||(y=r.$tag$==="svg"),l=r.$elm$=S.createElementNS(y?Le:Ae,r.$tag$),y&&r.$tag$==="foreignObject"&&(y=!1),$e(null,r,y),je(L)&&l["s-si"]!==L&&l.classList.add(l["s-si"]=L),r.$children$)for(i=0;i<r.$children$.length;++i)o=O(e,r,i),o&&l.appendChild(o);r.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=D,l},ce=(e,t,n,s,r,i)=>{let l=e,o;for(l.shadowRoot&&l.tagName===D&&(l=l.shadowRoot);r<=i;++r)s[r]&&(o=O(null,n,r),o&&(s[r].$elm$=o,A(l,o,t)))},fe=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;de(r),i&&i.remove()}}},Ge=(e,t,n,s,r=!1)=>{let i=0,l=0,o=0,a=0,$=t.length-1,c=t[0],f=t[$],d=s.length-1,u=s[0],v=s[d],g,m;for(;i<=$&&l<=d;)if(c==null)c=t[++i];else if(f==null)f=t[--$];else if(u==null)u=s[++l];else if(v==null)v=s[--d];else if(_(c,u,r))T(c,u,r),c=t[++i],u=s[++l];else if(_(f,v,r))T(f,v,r),f=t[--$],v=s[--d];else if(_(c,v,r))T(c,v,r),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--d];else if(_(f,u,r))T(f,u,r),A(e,f.$elm$,c.$elm$),f=t[--$],u=s[++l];else{for(o=-1,a=i;a<=$;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){o=a;break}o>=0?(m=t[o],m.$tag$!==u.$tag$?g=O(t&&t[l],n,o):(T(m,u,r),t[o]=void 0,g=m.$elm$),u=s[++l]):(g=O(t&&t[l],n,l),u=s[++l]),g&&A(c.$elm$.parentNode,g,c.$elm$)}i>$?ce(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&fe(t,i,$)},_=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,T=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$tag$,o=t.$text$;o===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,$e(e,t,y),r!==null&&i!==null?Ge(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ce(s,null,t,i,0,i.length-1)):r!==null&&fe(r,0,r.length-1),y&&l==="svg"&&(y=!1)):e.$text$!==o&&(s.data=o)},de=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(de)},A=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Xe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,i=e.$vnode$||C(null,null),l=Be(t)?t:le(null,null,t);if(D=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([o,a])=>l.$attrs$[a]=s[o])),n&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=i.$elm$=s.shadowRoot||s,L=s["s-sc"],r.$flags$&1,T(i,l,n)},ue=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ue(e,e.$ancestorComponent$),_e(()=>Ye(e,t))},Ye=(e,t)=>{const n=e.$hostElement$,s=E("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`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`);let i;return t&&(i=F(r,"componentWillLoad")),s(),Je(i,()=>Qe(e,r,t))},Je=(e,t)=>Ke(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=E("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&De(e);const o=E("render",e.$cmpMeta$.$tagName$);Ze(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),o(),i();{const a=(s=r["s-p"])!=null?s:[],$=()=>Ne(e);a.length===0?$():(Promise.all(a).then($),e.$flags$|=4,a.length=0)}}),Ze=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Xe(e,t,s)}catch(r){b(r,e.$hostElement$)}return null},Ne=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=E("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ge(n),F(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||ve()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&R(()=>W(e,!1)),e.$flags$&=-517},ve=e=>{ge(S.documentElement),R(()=>qe(I,"appload",{detail:{namespace:ye}}))},F=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){b(s)}},ge=e=>{var t;return e.classList.add((t=me.hydratedSelectorName)!=null?t:"hydrated")},Ve=(e,t)=>w(e).$instanceValues$.get(t),et=(e,t,n,s)=>{const r=w(e);if(!r)throw new Error(`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).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),o=r.$flags$,a=r.$lazyInstance$;n=Ce(n,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!$;if((!(o&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](n,l,t)}catch(u){b(u,i)}})}(o&18)===2&&W(r,!1)}},he=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,o,{get(){return Ve(this,o)},set($){et(this,o,$,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;i.attributeChangedCallback=function(a,$,c){h.jmp(()=>{var f;const d=o.get(a);if(this.hasOwnProperty(d))c=this[d],delete this[d];else{if(i.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const u=w(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const g=u.$lazyInstance$,m=(f=t.$watchers$)==null?void 0:f[a];m==null||m.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,a)})}return}}this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,$])=>$[0]&15).map(([a,$])=>{var c;const f=$[1]||a;return o.set(f,a),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([a,f])),f})]))}}return e},tt=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=be(n);if(a&&"then"in a){const c=ze();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,he(r,n,2),r.isProxied=!0);const $=E("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const $=ie(n);if(!j.has($)){const c=E("registerStyles",n.$tagName$);Re($,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>W(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),st=e=>{},nt=e=>{if(!(h.$flags$&1)){const t=w(e),n=t.$cmpMeta$,s=E("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>st());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ue(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),tt(e,t,n)}s()}},V=e=>{F(e,"disconnectedCallback")},rt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=w(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var n;const s=E(),r=[],i=t.exclude||[],l=I.customElements,o=S.head,a=o.querySelector("meta[charset]"),$=S.createElement("style"),c=[];let f,d=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",S.baseURI).href;let u=!1;if(e.map(v=>{v[1].map(g=>{var m;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(u=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(m=g[4])!=null?m:{};const P=p.$tagName$,pe=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,we(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){w(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?c.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>rt(this))}componentOnReady(){return w(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,he(pe,p,1)))})}),r.length>0&&(u&&($.textContent+=ee),$.textContent+=r.sort()+Te,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:ne(S);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,a?a.nextSibling:o.firstChild)}d=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(ve,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.h=le;exports.promiseResolve=te;exports.registerInstance=ke;
|