@everymatrix/player-account-controller 1.54.6 → 1.54.8
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/{GeneralLogout-Ddt-oH9k.js → GeneralLogout-ChXyfO7j.js} +504 -512
- package/components/GeneralLogout-CoXr5Hra.js +4819 -0
- package/components/GeneralLogout-JiIri-az.cjs +8 -0
- package/components/PlayerAccountBettingHistory-C4SfQEr4.js +333 -0
- package/components/{PlayerAccountBettingHistory-C7xwYi03.js → PlayerAccountBettingHistory-CElNilNd.js} +24 -24
- package/components/PlayerAccountBettingHistory-CSI5k3hd.cjs +1 -0
- package/components/PlayerAccountBiometrics-BS3jkUXn.cjs +1 -0
- package/components/{PlayerAccountBiometrics-D7WS5cnI.js → PlayerAccountBiometrics-D9kYcZXR.js} +26 -26
- package/components/PlayerAccountBiometrics-orQ-qG9h.js +307 -0
- package/components/{PlayerAccountClosure-yRlo8hXR.js → PlayerAccountClosure-CHUq23nB.js} +13 -13
- package/components/PlayerAccountClosure-CWd3utu_.js +347 -0
- package/components/PlayerAccountClosure-DdfqiT7d.cjs +1 -0
- package/components/{PlayerAccountController-BEYNBwE6.js → PlayerAccountController-BclvS237.js} +126 -126
- package/components/PlayerAccountController-DEXL47fX.js +6671 -0
- package/components/PlayerAccountController-DX3vsM6e.cjs +1 -0
- package/components/PlayerAccountGamingLimits-CKnItii4.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-CTBhVGgC.js → PlayerAccountGamingLimits-DXQNmZKD.js} +19 -19
- package/components/PlayerAccountGamingLimits-Db6qUAS-.js +766 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js → PlayerAccountGamingLimitsConfirmationModal-i09zMH6w.js} +59 -59
- package/components/PlayerAccountGamingLimitsConfirmationModal-jZS53-sU.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-l4fu3WOl.js +310 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js → PlayerAccountGamingLimitsGroupEdit-BIt0U7Ia.js} +51 -51
- package/components/PlayerAccountGamingLimitsGroupEdit-CsnzS7iF.js +4170 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DZlV6G_9.cjs +10 -0
- package/components/PlayerAccountGamingLimitsHistory2-CrW3EIzV.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsHistory2-CXKA0L0d.js → PlayerAccountGamingLimitsHistory2-D04L-msb.js} +44 -44
- package/components/PlayerAccountGamingLimitsHistory2-DA5YY1gv.js +767 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js → PlayerAccountGamingLimitsInfoCard-B2YB4bdP.js} +95 -95
- package/components/PlayerAccountGamingLimitsInfoCard-B4t7J9Ea.js +1513 -0
- package/components/PlayerAccountGamingLimitsInfoCard-CaJYYEdy.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-B1GlGvDK.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-CbtwzTC5.js +3283 -0
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js → PlayerAccountGamingLimitsPage2Gm16-D8OKZxQt.js} +90 -90
- package/components/{PlayerAccountGamingLimitsPopup-CJu5RRl6.js → PlayerAccountGamingLimitsPopup-B7ZXSiK5.js} +17 -17
- package/components/PlayerAccountGamingLimitsPopup-C9KoZcRj.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPopup-DxXAP_Yw.js +344 -0
- package/components/{PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js → PlayerAccountGamingLimitsWrapper2-BoFnZpPK.js} +8 -8
- package/components/PlayerAccountGamingLimitsWrapper2-Dll6Amu9.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-eSNYZCaw.js +866 -0
- package/components/PlayerAccountGeneralConfirmationModal-B-p3sJZ3.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DG0N686t.js → PlayerAccountGeneralConfirmationModal-DLBQH_sl.js} +66 -66
- package/components/PlayerAccountGeneralConfirmationModal-DhTWcbuE.js +365 -0
- package/components/PlayerAccountMenu-BGRoL3Yz.js +579 -0
- package/components/{PlayerAccountMenu-CZBa8_5G.js → PlayerAccountMenu-BxjdHhZ_.js} +17 -17
- package/components/PlayerAccountMenu-Csb1tUf_.cjs +1 -0
- package/components/{PlayerAccountModal-BmKjtXKT.js → PlayerAccountModal-C4nIa5u0.js} +28 -28
- package/components/PlayerAccountModal-D29fr970.js +213 -0
- package/components/PlayerAccountModal-DabmJiP4.cjs +1 -0
- package/components/{PlayerAccountNotifications-B4Ht-hHj.js → PlayerAccountNotifications-4sGKSJWy.js} +16 -16
- package/components/PlayerAccountNotifications-C3rPIsKp.js +261 -0
- package/components/PlayerAccountNotifications-O92_s-dm.cjs +1 -0
- package/components/PlayerAccountSelfExclusion-BkBWGAy2.cjs +3557 -0
- package/components/PlayerAccountSelfExclusion-CpKuxBrZ.js +16678 -0
- package/components/{PlayerAccountSelfExclusion-DxGHXTb8.js → PlayerAccountSelfExclusion-U9dfheYH.js} +11029 -12570
- package/components/PlayerAccountTimeout-CucYpS_w.cjs +1 -0
- package/components/{PlayerAccountTimeout-DOSjICsY.js → PlayerAccountTimeout-DIRXKowJ.js} +25 -25
- package/components/PlayerAccountTimeout-c2osWNku.js +819 -0
- package/components/{PlayerActiveBonuses-DMAG7NUP.js → PlayerActiveBonuses-B2QAPJxC.js} +49 -49
- package/components/PlayerActiveBonuses-DDcAwy_n.js +1089 -0
- package/components/PlayerActiveBonuses-cecVnp46.cjs +1 -0
- package/components/{PlayerBonusCard-Dss1REmn.js → PlayerBonusCard-BQU7JBPr.js} +50 -50
- package/components/PlayerBonusCard-C9Xdv-lu.cjs +1 -0
- package/components/PlayerBonusCard-TYI-WkBy.js +701 -0
- package/components/{PlayerBonusHistory-bS_5m4-D.js → PlayerBonusHistory-Boz8c3tb.js} +30 -30
- package/components/PlayerBonusHistory-CMPf8GQz.cjs +1 -0
- package/components/PlayerBonusHistory-cNqY_wfD.js +920 -0
- package/components/{PlayerChangePassword-DnCj-wcc.js → PlayerChangePassword-BGxYGFs-.js} +103 -103
- package/components/PlayerChangePassword-Dl3Pgpul.js +1177 -0
- package/components/PlayerChangePassword-X_GfgxAV.cjs +3 -0
- package/components/{PlayerDeposit-CHIQ8EaC.js → PlayerDeposit-BzSW3HMj.js} +25 -25
- package/components/PlayerDeposit-CqpNLpaq.cjs +1 -0
- package/components/PlayerDeposit-kjy658sM.js +395 -0
- package/components/PlayerGamingHistory-B6KJDVn0.cjs +1 -0
- package/components/PlayerGamingHistory-BW5rigFC.js +986 -0
- package/components/{PlayerGamingHistory-ByyLQwtw.js → PlayerGamingHistory-DIgLxCfL.js} +31 -31
- package/components/PlayerPendingWithdrawals--W6Dfn3K.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-BbTa7_8U.js → PlayerPendingWithdrawals-BzOmRYiC.js} +33 -33
- package/components/PlayerPendingWithdrawals-pV1C12y5.js +311 -0
- package/components/PlayerProfileInfo-BTgis7wR.cjs +1 -0
- package/components/{PlayerProfileInfo-CvAqD3Dk.js → PlayerProfileInfo-CTgSfW-l.js} +45 -45
- package/components/PlayerProfileInfo-DkVAYiPX.js +1753 -0
- package/components/PlayerRealityCheck-BcsDhvm0.cjs +1 -0
- package/components/{PlayerRealityCheck-3d-B64ie.js → PlayerRealityCheck-BdZDs3Tl.js} +26 -26
- package/components/PlayerRealityCheck-DT3kOky2.js +598 -0
- package/components/PlayerTransactionHistory-BL92RRLF.cjs +1 -0
- package/components/{PlayerTransactionHistory-BYJNabMB.js → PlayerTransactionHistory-BQIA4QRw.js} +23 -23
- package/components/PlayerTransactionHistory-Yhwt7kUa.js +315 -0
- package/components/{PlayerWithdrawal-DDWroufG.js → PlayerWithdrawal-Cgv9nZE8.js} +20 -20
- package/components/PlayerWithdrawal-KgqM9wo-.cjs +1 -0
- package/components/PlayerWithdrawal-uB46JhmK.js +369 -0
- package/es2015/player-account-controller.cjs +1 -0
- package/es2015/player-account-controller.js +16 -0
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-8artnnwr.cjs +1 -0
- package/stencil/checkbox-group-input_9-AKw0biZc.cjs +2045 -0
- package/stencil/checkbox-group-input_9-BewIfW-f.js +13203 -0
- package/stencil/checkbox-group-input_9-CbFpcwPG.js +13237 -0
- package/stencil/{general-input-CQlnWzpy.js → general-input-BEcUF0Mm.js} +1 -1
- package/stencil/general-input-DI0pw0ot.cjs +1 -0
- package/stencil/general-input-DKyA-W8i.js +48 -0
- package/stencil/index-581287aa-CC7128Vz.js +654 -0
- package/stencil/index-581287aa-D5QW29QV.cjs +1 -0
- package/stencil/index-581287aa-D8NTWa_9.js +638 -0
- package/stencil/index-8b4525de-BFiXEsaX.cjs +1 -0
- package/stencil/index-8b4525de-C2xAv-3x.js +708 -0
- package/stencil/index-8b4525de-DeHXGvRF.js +692 -0
- package/stencil/index-a76d30c7-CFX9mSqu.cjs +1 -0
- package/stencil/index-a76d30c7-CQrAWNu0.js +658 -0
- package/stencil/index-a76d30c7-PfqrSVyu.js +631 -0
- package/stencil/index-c0196f50-3kAjMpUS.cjs +1 -0
- package/stencil/index-c0196f50-BjscP7kj.js +697 -0
- package/stencil/index-c0196f50-aE1zPmtS.js +724 -0
- package/stencil/locale-B5abSHU_.cjs +1 -0
- package/stencil/password-input_2-D97O8QAr.cjs +105 -0
- package/stencil/password-input_2-eDchPH-o.js +569 -0
- package/stencil/password-input_2-vTvSUJey.js +569 -0
- package/stencil/{player-change-password-gm2-BaQUJaH1.js → player-change-password-gm2-D4jpQFwb.js} +1 -1
- package/stencil/player-change-password-gm2-DSTqyOhE.js +25 -0
- package/stencil/player-change-password-gm2-Dw3D3ckz.cjs +1 -0
- package/stencil/{player-change-password-gm2-98dcb7bc-pj_6Z40p.js → player-change-password-gm2-e732ee8e-BjoYj-89.js} +1 -1
- package/stencil/player-change-password-gm2-e732ee8e-BqRUxIre.cjs +1 -0
- package/stencil/player-change-password-gm2-e732ee8e-Df6ljnLL.js +253 -0
- package/stencil/player-kyc-verification-B2FHAsrR.cjs +180 -0
- package/stencil/player-kyc-verification-CVqP43FY.js +865 -0
- package/stencil/{player-kyc-verification-BQZdJFEJ.js → player-kyc-verification-D6Au6XVN.js} +1 -1
- package/stencil/{toggle-checkbox-input-Sy9vd4Jp.js → toggle-checkbox-input-BckTBwKu.js} +1 -1
- package/stencil/toggle-checkbox-input-D8fVk4wA.js +46 -0
- package/stencil/toggle-checkbox-input-kw5Y1n3x.cjs +1 -0
- package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +1 -0
- package/stencil/user-deposit-withdrawal-BpAi0dc-.js +668 -0
- package/stencil/{user-deposit-withdrawal-CmF0LoNb.js → user-deposit-withdrawal-CrMPR6xn.js} +1 -1
- package/stencil/user-deposit-withdrawal-DrKFN7wp.cjs +59 -0
- package/stencil/{user-transaction-history-BgV-k2Cl.js → user-transaction-history-BgYG3IxS.js} +1 -1
- package/stencil/user-transaction-history-CBxwJE34.cjs +1 -0
- package/stencil/user-transaction-history-D8ebS-DZ.js +355 -0
- package/stencil/{active-mixin-59dfae2a-BphP4pp5.js → vaadin-button-mixin-d131076c-C559kyH3.js} +3523 -3021
- package/stencil/vaadin-button-mixin-d131076c-brSraXp5.js +10277 -0
- package/stencil/vaadin-button-mixin-d131076c-zI_s2YZ5.cjs +2385 -0
- package/stencil/checkbox-group-input_9-i8KmOWKn.js +0 -15610
- package/stencil/index-062e829b-CboMDKTu.js +0 -686
- package/stencil/index-33f005e1-fFxPaeNy.js +0 -632
- package/stencil/index-9b3245b3-rzHgwqlB.js +0 -625
- package/stencil/index-fc58390d-BSwfXuUs.js +0 -691
- package/stencil/password-input_2-sxSehMYk.js +0 -2359
|
@@ -0,0 +1,697 @@
|
|
|
1
|
+
const ke = "user-transaction-history", X = (
|
|
2
|
+
/* user-transaction-history */
|
|
3
|
+
{ hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
|
|
4
|
+
);
|
|
5
|
+
var Le = Object.defineProperty, xe = (e, t) => {
|
|
6
|
+
for (var n in t)
|
|
7
|
+
Le(e, n, { get: t[n], enumerable: !0 });
|
|
8
|
+
}, Pe = "http://www.w3.org/2000/svg", we = "http://www.w3.org/1999/xhtml", Y = /* @__PURE__ */ new WeakMap(), k = (e) => Y.get(e), dt = (e, t) => {
|
|
9
|
+
Y.set(t.$lazyInstance$ = e, t);
|
|
10
|
+
}, Te = (e, t) => {
|
|
11
|
+
const n = {
|
|
12
|
+
$flags$: 0,
|
|
13
|
+
$hostElement$: e,
|
|
14
|
+
$cmpMeta$: t,
|
|
15
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
16
|
+
};
|
|
17
|
+
return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], Y.set(e, n);
|
|
18
|
+
}, Z = (e, t) => t in e, P = (e, t) => (0, console.error)(e, t), U = /* @__PURE__ */ new Map(), _e = (e, t, n) => {
|
|
19
|
+
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
20
|
+
if (!r)
|
|
21
|
+
return;
|
|
22
|
+
const $ = U.get(r);
|
|
23
|
+
if ($)
|
|
24
|
+
return $[s];
|
|
25
|
+
{
|
|
26
|
+
const l = (i) => (U.set(r, i), i[s]);
|
|
27
|
+
switch (r) {
|
|
28
|
+
case "user-transaction-history":
|
|
29
|
+
return import(
|
|
30
|
+
/* webpackMode: "lazy" */
|
|
31
|
+
"./user-transaction-history-BgYG3IxS.js"
|
|
32
|
+
).then(l, 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
|
+
(l) => (U.set(r, l), l[s]),
|
|
43
|
+
(l) => {
|
|
44
|
+
P(l, t.$hostElement$);
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}, b = /* @__PURE__ */ new Map(), Ae = "sty-id", Oe = "{visibility:hidden}.hydrated{visibility:inherit}", ne = "slot-fb{display:contents}slot-fb[hidden]{display:none}", m = "http://www.w3.org/1999/xlink", A = typeof window < "u" ? window : {}, L = A.document || { head: {} }, h = {
|
|
48
|
+
$flags$: 0,
|
|
49
|
+
$resourcesUrl$: "",
|
|
50
|
+
jmp: (e) => e(),
|
|
51
|
+
raf: (e) => requestAnimationFrame(e),
|
|
52
|
+
ael: (e, t, n, s) => e.addEventListener(t, n, s),
|
|
53
|
+
rel: (e, t, n, s) => e.removeEventListener(t, n, s),
|
|
54
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
55
|
+
}, je = /* @__PURE__ */ (() => {
|
|
56
|
+
let e = !1;
|
|
57
|
+
try {
|
|
58
|
+
L.addEventListener(
|
|
59
|
+
"e",
|
|
60
|
+
null,
|
|
61
|
+
Object.defineProperty({}, "passive", {
|
|
62
|
+
get() {
|
|
63
|
+
e = !0;
|
|
64
|
+
}
|
|
65
|
+
})
|
|
66
|
+
);
|
|
67
|
+
} catch {
|
|
68
|
+
}
|
|
69
|
+
return e;
|
|
70
|
+
})(), Ie = (e) => Promise.resolve(e), re = /* @__PURE__ */ (() => {
|
|
71
|
+
try {
|
|
72
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
73
|
+
} catch {
|
|
74
|
+
}
|
|
75
|
+
return !1;
|
|
76
|
+
})(), B = !1, M = [], ie = [], be = (e, t) => (n) => {
|
|
77
|
+
e.push(n), B || (B = !0, h.$flags$ & 4 ? C(D) : h.raf(D));
|
|
78
|
+
}, V = (e) => {
|
|
79
|
+
for (let t = 0; t < e.length; t++)
|
|
80
|
+
try {
|
|
81
|
+
e[t](performance.now());
|
|
82
|
+
} catch (n) {
|
|
83
|
+
P(n);
|
|
84
|
+
}
|
|
85
|
+
e.length = 0;
|
|
86
|
+
}, D = () => {
|
|
87
|
+
V(M), V(ie), (B = M.length > 0) && h.raf(D);
|
|
88
|
+
}, C = (e) => Ie().then(e), ze = /* @__PURE__ */ be(ie), pt = (e) => {
|
|
89
|
+
const t = new URL(e, h.$resourcesUrl$);
|
|
90
|
+
return t.origin !== A.location.origin ? t.href : t.pathname;
|
|
91
|
+
}, F = (e) => (e = typeof e, e === "object" || e === "function");
|
|
92
|
+
function $e(e) {
|
|
93
|
+
var t, n, s;
|
|
94
|
+
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;
|
|
95
|
+
}
|
|
96
|
+
var He = {};
|
|
97
|
+
xe(He, {
|
|
98
|
+
err: () => le,
|
|
99
|
+
map: () => Ue,
|
|
100
|
+
ok: () => R,
|
|
101
|
+
unwrap: () => qe,
|
|
102
|
+
unwrapErr: () => Be
|
|
103
|
+
});
|
|
104
|
+
var R = (e) => ({
|
|
105
|
+
isOk: !0,
|
|
106
|
+
isErr: !1,
|
|
107
|
+
value: e
|
|
108
|
+
}), le = (e) => ({
|
|
109
|
+
isOk: !1,
|
|
110
|
+
isErr: !0,
|
|
111
|
+
value: e
|
|
112
|
+
});
|
|
113
|
+
function Ue(e, t) {
|
|
114
|
+
if (e.isOk) {
|
|
115
|
+
const n = t(e.value);
|
|
116
|
+
return n instanceof Promise ? n.then((s) => R(s)) : R(n);
|
|
117
|
+
}
|
|
118
|
+
if (e.isErr) {
|
|
119
|
+
const n = e.value;
|
|
120
|
+
return le(n);
|
|
121
|
+
}
|
|
122
|
+
throw "should never get here";
|
|
123
|
+
}
|
|
124
|
+
var qe = (e) => {
|
|
125
|
+
if (e.isOk)
|
|
126
|
+
return e.value;
|
|
127
|
+
throw e.value;
|
|
128
|
+
}, Be = (e) => {
|
|
129
|
+
if (e.isErr)
|
|
130
|
+
return e.value;
|
|
131
|
+
throw e.value;
|
|
132
|
+
}, x = (e, t = "") => () => {
|
|
133
|
+
}, De = (e, t) => () => {
|
|
134
|
+
}, ae = (e, t, ...n) => {
|
|
135
|
+
let s = null, r = null, $ = !1, l = !1;
|
|
136
|
+
const i = [], o = (c) => {
|
|
137
|
+
for (let u = 0; u < c.length; u++)
|
|
138
|
+
s = c[u], Array.isArray(s) ? o(s) : s != null && typeof s != "boolean" && (($ = typeof e != "function" && !F(s)) && (s = String(s)), $ && l ? i[i.length - 1].$text$ += s : i.push($ ? z(null, s) : s), l = $);
|
|
139
|
+
};
|
|
140
|
+
if (o(n), t) {
|
|
141
|
+
t.key && (r = t.key);
|
|
142
|
+
{
|
|
143
|
+
const c = t.className || t.class;
|
|
144
|
+
c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
if (typeof e == "function")
|
|
148
|
+
return e(
|
|
149
|
+
t === null ? {} : t,
|
|
150
|
+
i,
|
|
151
|
+
Ge
|
|
152
|
+
);
|
|
153
|
+
const a = z(e, null);
|
|
154
|
+
return a.$attrs$ = t, i.length > 0 && (a.$children$ = i), a.$key$ = r, a;
|
|
155
|
+
}, z = (e, t) => {
|
|
156
|
+
const n = {
|
|
157
|
+
$flags$: 0,
|
|
158
|
+
$tag$: e,
|
|
159
|
+
$text$: t,
|
|
160
|
+
$elm$: null,
|
|
161
|
+
$children$: null
|
|
162
|
+
};
|
|
163
|
+
return n.$attrs$ = null, n.$key$ = null, n;
|
|
164
|
+
}, Re = {}, We = (e) => e && e.$tag$ === Re, Ge = {
|
|
165
|
+
forEach: (e, t) => e.map(N).forEach(t),
|
|
166
|
+
map: (e, t) => e.map(N).map(t).map(Xe)
|
|
167
|
+
}, N = (e) => ({
|
|
168
|
+
vattrs: e.$attrs$,
|
|
169
|
+
vchildren: e.$children$,
|
|
170
|
+
vkey: e.$key$,
|
|
171
|
+
vname: e.$name$,
|
|
172
|
+
vtag: e.$tag$,
|
|
173
|
+
vtext: e.$text$
|
|
174
|
+
}), Xe = (e) => {
|
|
175
|
+
if (typeof e.vtag == "function") {
|
|
176
|
+
const n = { ...e.vattrs };
|
|
177
|
+
return e.vkey && (n.key = e.vkey), e.vname && (n.name = e.vname), ae(e.vtag, n, ...e.vchildren || []);
|
|
178
|
+
}
|
|
179
|
+
const t = z(e.vtag, e.vtext);
|
|
180
|
+
return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
|
|
181
|
+
}, W = (e, t) => e != null && !F(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, ht = (e) => k(e).$hostElement$, Ye = (e, t, n) => {
|
|
182
|
+
const s = h.ce(t, n);
|
|
183
|
+
return e.dispatchEvent(s), s;
|
|
184
|
+
}, _ = /* @__PURE__ */ new WeakMap(), Ce = (e, t, n) => {
|
|
185
|
+
let s = b.get(e);
|
|
186
|
+
re && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, b.set(e, s);
|
|
187
|
+
}, Fe = (e, t, n) => {
|
|
188
|
+
var s;
|
|
189
|
+
const r = oe(t), $ = b.get(r);
|
|
190
|
+
if (e = e.nodeType === 11 ? e : L, $)
|
|
191
|
+
if (typeof $ == "string") {
|
|
192
|
+
e = e.head || e;
|
|
193
|
+
let l = _.get(e), i;
|
|
194
|
+
if (l || _.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
|
195
|
+
{
|
|
196
|
+
i = document.querySelector(`[${Ae}="${r}"]`) || L.createElement("style"), i.innerHTML = $;
|
|
197
|
+
const o = (s = h.$nonce$) != null ? s : $e(L);
|
|
198
|
+
if (o != null && i.setAttribute("nonce", o), !(t.$flags$ & 1))
|
|
199
|
+
if (e.nodeName === "HEAD") {
|
|
200
|
+
const a = e.querySelectorAll("link[rel=preconnect]"), c = a.length > 0 ? a[a.length - 1].nextSibling : e.querySelector("style");
|
|
201
|
+
e.insertBefore(
|
|
202
|
+
i,
|
|
203
|
+
c?.parentNode === e ? c : null
|
|
204
|
+
);
|
|
205
|
+
} else if ("host" in e)
|
|
206
|
+
if (re) {
|
|
207
|
+
const a = new CSSStyleSheet();
|
|
208
|
+
a.replaceSync($), e.adoptedStyleSheets = [a, ...e.adoptedStyleSheets];
|
|
209
|
+
} else {
|
|
210
|
+
const a = e.querySelector("style");
|
|
211
|
+
a ? a.innerHTML = $ + a.innerHTML : e.prepend(i);
|
|
212
|
+
}
|
|
213
|
+
else
|
|
214
|
+
e.append(i);
|
|
215
|
+
t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(i, null);
|
|
216
|
+
}
|
|
217
|
+
t.$flags$ & 4 && (i.innerHTML += ne), l && l.add(r);
|
|
218
|
+
}
|
|
219
|
+
} else e.adoptedStyleSheets.includes($) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, $]);
|
|
220
|
+
return r;
|
|
221
|
+
}, Ke = (e) => {
|
|
222
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = x("attachStyles", t.$tagName$), $ = Fe(
|
|
223
|
+
n.shadowRoot ? n.shadowRoot : n.getRootNode(),
|
|
224
|
+
t
|
|
225
|
+
);
|
|
226
|
+
s & 10 && s & 2 && (n["s-sc"] = $, n.classList.add($ + "-h")), r();
|
|
227
|
+
}, oe = (e, t) => "sc-" + e.$tagName$, ee = (e, t, n, s, r, $, l) => {
|
|
228
|
+
if (n !== s) {
|
|
229
|
+
let i = Z(e, t), o = t.toLowerCase();
|
|
230
|
+
if (t === "class") {
|
|
231
|
+
const a = e.classList, c = te(n);
|
|
232
|
+
let u = te(s);
|
|
233
|
+
a.remove(...c.filter((f) => f && !u.includes(f))), a.add(...u.filter((f) => f && !c.includes(f)));
|
|
234
|
+
} else if (t === "style") {
|
|
235
|
+
for (const a in n)
|
|
236
|
+
(!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
|
|
237
|
+
for (const a in s)
|
|
238
|
+
(!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
|
|
239
|
+
} else if (t !== "key") if (t === "ref")
|
|
240
|
+
s && s(e);
|
|
241
|
+
else if (!i && t[0] === "o" && t[1] === "n") {
|
|
242
|
+
if (t[2] === "-" ? t = t.slice(3) : Z(A, o) ? t = o.slice(2) : t = o[2] + t.slice(3), n || s) {
|
|
243
|
+
const a = t.endsWith(ce);
|
|
244
|
+
t = t.replace(Qe, ""), n && h.rel(e, t, n, a), s && h.ael(e, t, s, a);
|
|
245
|
+
}
|
|
246
|
+
} else {
|
|
247
|
+
const a = F(s);
|
|
248
|
+
if ((i || a && s !== null) && !r)
|
|
249
|
+
try {
|
|
250
|
+
if (e.tagName.includes("-"))
|
|
251
|
+
e[t] !== s && (e[t] = s);
|
|
252
|
+
else {
|
|
253
|
+
const u = s ?? "";
|
|
254
|
+
t === "list" ? i = !1 : (n == null || e[t] != u) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = u : e.setAttribute(t, u));
|
|
255
|
+
}
|
|
256
|
+
} catch {
|
|
257
|
+
}
|
|
258
|
+
let c = !1;
|
|
259
|
+
o !== (o = o.replace(/^xlink\:?/, "")) && (t = o, c = !0), s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && (c ? e.removeAttributeNS(m, t) : e.removeAttribute(t)) : (!i || $ & 4 || r) && !a && (s = s === !0 ? "" : s, c ? e.setAttributeNS(m, t, s) : e.setAttribute(t, s));
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}, Je = /\s/, te = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(Je)), ce = "Capture", Qe = new RegExp(ce + "$"), fe = (e, t, n, s) => {
|
|
263
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, $ = e && e.$attrs$ || {}, l = t.$attrs$ || {};
|
|
264
|
+
for (const i of se(Object.keys($)))
|
|
265
|
+
i in l || ee(
|
|
266
|
+
r,
|
|
267
|
+
i,
|
|
268
|
+
$[i],
|
|
269
|
+
void 0,
|
|
270
|
+
n,
|
|
271
|
+
t.$flags$
|
|
272
|
+
);
|
|
273
|
+
for (const i of se(Object.keys(l)))
|
|
274
|
+
ee(
|
|
275
|
+
r,
|
|
276
|
+
i,
|
|
277
|
+
$[i],
|
|
278
|
+
l[i],
|
|
279
|
+
n,
|
|
280
|
+
t.$flags$
|
|
281
|
+
);
|
|
282
|
+
};
|
|
283
|
+
function se(e) {
|
|
284
|
+
return e.includes("ref") ? (
|
|
285
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
286
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
287
|
+
) : (
|
|
288
|
+
// no need to sort, return the original array
|
|
289
|
+
e
|
|
290
|
+
);
|
|
291
|
+
}
|
|
292
|
+
var K, y = !1, H = (e, t, n) => {
|
|
293
|
+
const s = t.$children$[n];
|
|
294
|
+
let r = 0, $, l;
|
|
295
|
+
if (s.$text$ !== null)
|
|
296
|
+
$ = s.$elm$ = L.createTextNode(s.$text$);
|
|
297
|
+
else {
|
|
298
|
+
if (y || (y = s.$tag$ === "svg"), $ = s.$elm$ = L.createElementNS(
|
|
299
|
+
y ? Pe : we,
|
|
300
|
+
s.$tag$
|
|
301
|
+
), y && s.$tag$ === "foreignObject" && (y = !1), fe(null, s, y), s.$children$)
|
|
302
|
+
for (r = 0; r < s.$children$.length; ++r)
|
|
303
|
+
l = H(e, s, r), l && $.appendChild(l);
|
|
304
|
+
s.$tag$ === "svg" ? y = !1 : $.tagName === "foreignObject" && (y = !0);
|
|
305
|
+
}
|
|
306
|
+
return $["s-hn"] = K, $;
|
|
307
|
+
}, ue = (e, t, n, s, r, $) => {
|
|
308
|
+
let l = e, i;
|
|
309
|
+
for (l.shadowRoot && l.tagName === K && (l = l.shadowRoot); r <= $; ++r)
|
|
310
|
+
s[r] && (i = H(null, n, r), i && (s[r].$elm$ = i, I(l, i, t)));
|
|
311
|
+
}, de = (e, t, n) => {
|
|
312
|
+
for (let s = t; s <= n; ++s) {
|
|
313
|
+
const r = e[s];
|
|
314
|
+
if (r) {
|
|
315
|
+
const $ = r.$elm$;
|
|
316
|
+
pe(r), $ && $.remove();
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}, Ze = (e, t, n, s, r = !1) => {
|
|
320
|
+
let $ = 0, l = 0, i = 0, o = 0, a = t.length - 1, c = t[0], u = t[a], f = s.length - 1, d = s[0], p = s[f], g, E;
|
|
321
|
+
for (; $ <= a && l <= f; )
|
|
322
|
+
if (c == null)
|
|
323
|
+
c = t[++$];
|
|
324
|
+
else if (u == null)
|
|
325
|
+
u = t[--a];
|
|
326
|
+
else if (d == null)
|
|
327
|
+
d = s[++l];
|
|
328
|
+
else if (p == null)
|
|
329
|
+
p = s[--f];
|
|
330
|
+
else if (j(c, d, r))
|
|
331
|
+
T(c, d, r), c = t[++$], d = s[++l];
|
|
332
|
+
else if (j(u, p, r))
|
|
333
|
+
T(u, p, r), u = t[--a], p = s[--f];
|
|
334
|
+
else if (j(c, p, r))
|
|
335
|
+
T(c, p, r), I(e, c.$elm$, u.$elm$.nextSibling), c = t[++$], p = s[--f];
|
|
336
|
+
else if (j(u, d, r))
|
|
337
|
+
T(u, d, r), I(e, u.$elm$, c.$elm$), u = t[--a], d = s[++l];
|
|
338
|
+
else {
|
|
339
|
+
for (i = -1, o = $; o <= a; ++o)
|
|
340
|
+
if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
|
|
341
|
+
i = o;
|
|
342
|
+
break;
|
|
343
|
+
}
|
|
344
|
+
i >= 0 ? (E = t[i], E.$tag$ !== d.$tag$ ? g = H(t && t[l], n, i) : (T(E, d, r), t[i] = void 0, g = E.$elm$), d = s[++l]) : (g = H(t && t[l], n, l), d = s[++l]), g && I(c.$elm$.parentNode, g, c.$elm$);
|
|
345
|
+
}
|
|
346
|
+
$ > a ? ue(
|
|
347
|
+
e,
|
|
348
|
+
s[f + 1] == null ? null : s[f + 1].$elm$,
|
|
349
|
+
n,
|
|
350
|
+
s,
|
|
351
|
+
l,
|
|
352
|
+
f
|
|
353
|
+
) : l > f && de(t, $, a);
|
|
354
|
+
}, j = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? (n && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, T = (e, t, n = !1) => {
|
|
355
|
+
const s = t.$elm$ = e.$elm$, r = e.$children$, $ = t.$children$, l = t.$tag$, i = t.$text$;
|
|
356
|
+
i === null ? (y = l === "svg" ? !0 : l === "foreignObject" ? !1 : y, fe(e, t, y), r !== null && $ !== null ? Ze(s, r, t, $, n) : $ !== null ? (e.$text$ !== null && (s.textContent = ""), ue(s, null, t, $, 0, $.length - 1)) : (
|
|
357
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
358
|
+
!n && X.updatable && r !== null && de(r, 0, r.length - 1)
|
|
359
|
+
), y && l === "svg" && (y = !1)) : e.$text$ !== i && (s.data = i);
|
|
360
|
+
}, pe = (e) => {
|
|
361
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(pe);
|
|
362
|
+
}, I = (e, t, n) => e?.insertBefore(t, n), me = (e, t, n = !1) => {
|
|
363
|
+
const s = e.$hostElement$, r = e.$cmpMeta$, $ = e.$vnode$ || z(null, null), l = We(t) ? t : ae(null, null, t);
|
|
364
|
+
if (K = s.tagName, r.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, r.$attrsToReflect$.map(
|
|
365
|
+
([i, o]) => l.$attrs$[o] = s[i]
|
|
366
|
+
)), n && l.$attrs$)
|
|
367
|
+
for (const i of Object.keys(l.$attrs$))
|
|
368
|
+
s.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (l.$attrs$[i] = s[i]);
|
|
369
|
+
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = $.$elm$ = s.shadowRoot || s, r.$flags$ & 1, T($, l, n);
|
|
370
|
+
}, he = (e, t) => {
|
|
371
|
+
if (t && !e.$onRenderResolve$ && t["s-p"]) {
|
|
372
|
+
const n = t["s-p"].push(
|
|
373
|
+
new Promise(
|
|
374
|
+
(s) => e.$onRenderResolve$ = () => {
|
|
375
|
+
t["s-p"].splice(n - 1, 1), s();
|
|
376
|
+
}
|
|
377
|
+
)
|
|
378
|
+
);
|
|
379
|
+
}
|
|
380
|
+
}, J = (e, t) => {
|
|
381
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
382
|
+
e.$flags$ |= 512;
|
|
383
|
+
return;
|
|
384
|
+
}
|
|
385
|
+
return he(e, e.$ancestorComponent$), ze(() => Me(e, t));
|
|
386
|
+
}, Me = (e, t) => {
|
|
387
|
+
const n = e.$hostElement$, s = x("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
388
|
+
if (!r)
|
|
389
|
+
throw new Error(
|
|
390
|
+
`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`
|
|
391
|
+
);
|
|
392
|
+
let $;
|
|
393
|
+
return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([l, i]) => G(r, l, i, n)), e.$queuedListeners$ = void 0), $ = G(r, "componentWillLoad", void 0, n)), s(), Ve($, () => et(e, r, t));
|
|
394
|
+
}, Ve = (e, t) => Ne(e) ? e.then(t).catch((n) => {
|
|
395
|
+
console.error(n), t();
|
|
396
|
+
}) : t(), Ne = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", et = async (e, t, n) => {
|
|
397
|
+
var s;
|
|
398
|
+
const r = e.$hostElement$, $ = x("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
|
|
399
|
+
n && Ke(e);
|
|
400
|
+
const i = x("render", e.$cmpMeta$.$tagName$);
|
|
401
|
+
tt(e, t, r, n), l && (l.map((o) => o()), r["s-rc"] = void 0), i(), $();
|
|
402
|
+
{
|
|
403
|
+
const o = (s = r["s-p"]) != null ? s : [], a = () => st(e);
|
|
404
|
+
o.length === 0 ? a() : (Promise.all(o).then(a), e.$flags$ |= 4, o.length = 0);
|
|
405
|
+
}
|
|
406
|
+
}, tt = (e, t, n, s) => {
|
|
407
|
+
try {
|
|
408
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, me(e, t, s);
|
|
409
|
+
} catch (r) {
|
|
410
|
+
P(r, e.$hostElement$);
|
|
411
|
+
}
|
|
412
|
+
return null;
|
|
413
|
+
}, st = (e) => {
|
|
414
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = x("postUpdate", t), r = e.$lazyInstance$, $ = e.$ancestorComponent$;
|
|
415
|
+
G(r, "componentDidRender", void 0, n), e.$flags$ & 64 ? s() : (e.$flags$ |= 64, nt(n), s(), e.$onReadyResolve$(n), $ || ge()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && C(() => J(e, !1)), e.$flags$ &= -517;
|
|
416
|
+
}, ge = (e) => {
|
|
417
|
+
C(() => Ye(A, "appload", { detail: { namespace: ke } }));
|
|
418
|
+
}, G = (e, t, n, s) => {
|
|
419
|
+
if (e && e[t])
|
|
420
|
+
try {
|
|
421
|
+
return e[t](n);
|
|
422
|
+
} catch (r) {
|
|
423
|
+
P(r, s);
|
|
424
|
+
}
|
|
425
|
+
}, nt = (e) => {
|
|
426
|
+
var t;
|
|
427
|
+
return e.classList.add((t = X.hydratedSelectorName) != null ? t : "hydrated");
|
|
428
|
+
}, rt = (e, t) => k(e).$instanceValues$.get(t), q = (e, t, n, s) => {
|
|
429
|
+
const r = k(e);
|
|
430
|
+
if (!r)
|
|
431
|
+
throw new Error(
|
|
432
|
+
`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).`
|
|
433
|
+
);
|
|
434
|
+
const $ = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, o = r.$lazyInstance$;
|
|
435
|
+
n = W(n, s.$members$[t][0]);
|
|
436
|
+
const a = Number.isNaN(l) && Number.isNaN(n), c = n !== l && !a;
|
|
437
|
+
if ((!(i & 8) || l === void 0) && c && (r.$instanceValues$.set(t, n), o)) {
|
|
438
|
+
if (s.$watchers$ && i & 128) {
|
|
439
|
+
const u = s.$watchers$[t];
|
|
440
|
+
u && u.map((f) => {
|
|
441
|
+
try {
|
|
442
|
+
o[f](n, l, t);
|
|
443
|
+
} catch (d) {
|
|
444
|
+
P(d, $);
|
|
445
|
+
}
|
|
446
|
+
});
|
|
447
|
+
}
|
|
448
|
+
(i & 18) === 2 && J(r, !1);
|
|
449
|
+
}
|
|
450
|
+
}, ve = (e, t, n) => {
|
|
451
|
+
var s, r;
|
|
452
|
+
const $ = e.prototype;
|
|
453
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
454
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
455
|
+
const l = Object.entries((s = t.$members$) != null ? s : {});
|
|
456
|
+
if (l.map(([i, [o]]) => {
|
|
457
|
+
if (o & 31 || n & 2 && o & 32) {
|
|
458
|
+
const { get: a, set: c } = Object.getOwnPropertyDescriptor($, i) || {};
|
|
459
|
+
a && (t.$members$[i][0] |= 2048), c && (t.$members$[i][0] |= 4096), (n & 1 || !a) && Object.defineProperty($, i, {
|
|
460
|
+
get() {
|
|
461
|
+
{
|
|
462
|
+
if (!(t.$members$[i][0] & 2048))
|
|
463
|
+
return rt(this, i);
|
|
464
|
+
const u = k(this), f = u ? u.$lazyInstance$ : $;
|
|
465
|
+
return f ? f[i] : void 0;
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
configurable: !0,
|
|
469
|
+
enumerable: !0
|
|
470
|
+
}), Object.defineProperty($, i, {
|
|
471
|
+
set(u) {
|
|
472
|
+
const f = k(this);
|
|
473
|
+
if (c) {
|
|
474
|
+
const d = o & 32 ? this[i] : f.$hostElement$[i];
|
|
475
|
+
typeof d > "u" && f.$instanceValues$.get(i) ? u = f.$instanceValues$.get(i) : !f.$instanceValues$.get(i) && d && f.$instanceValues$.set(i, d), c.apply(this, [W(u, o)]), u = o & 32 ? this[i] : f.$hostElement$[i], q(this, i, u, t);
|
|
476
|
+
return;
|
|
477
|
+
}
|
|
478
|
+
{
|
|
479
|
+
if (!(n & 1) || !(t.$members$[i][0] & 4096)) {
|
|
480
|
+
q(this, i, u, t), n & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
|
|
481
|
+
t.$members$[i][0] & 4096 && f.$lazyInstance$[i] !== f.$instanceValues$.get(i) && (f.$lazyInstance$[i] = u);
|
|
482
|
+
});
|
|
483
|
+
return;
|
|
484
|
+
}
|
|
485
|
+
const d = () => {
|
|
486
|
+
const p = f.$lazyInstance$[i];
|
|
487
|
+
!f.$instanceValues$.get(i) && p && f.$instanceValues$.set(i, p), f.$lazyInstance$[i] = W(u, o), q(this, i, f.$lazyInstance$[i], t);
|
|
488
|
+
};
|
|
489
|
+
f.$lazyInstance$ ? d() : f.$onReadyPromise$.then(() => d());
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
});
|
|
493
|
+
}
|
|
494
|
+
}), n & 1) {
|
|
495
|
+
const i = /* @__PURE__ */ new Map();
|
|
496
|
+
$.attributeChangedCallback = function(o, a, c) {
|
|
497
|
+
h.jmp(() => {
|
|
498
|
+
var u;
|
|
499
|
+
const f = i.get(o);
|
|
500
|
+
if (this.hasOwnProperty(f) && X.lazyLoad)
|
|
501
|
+
c = this[f], delete this[f];
|
|
502
|
+
else {
|
|
503
|
+
if ($.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
|
|
504
|
+
this[f] == c)
|
|
505
|
+
return;
|
|
506
|
+
if (f == null) {
|
|
507
|
+
const p = k(this), g = p?.$flags$;
|
|
508
|
+
if (g && !(g & 8) && g & 128 && c !== a) {
|
|
509
|
+
const E = p.$lazyInstance$, v = (u = t.$watchers$) == null ? void 0 : u[o];
|
|
510
|
+
v?.forEach((w) => {
|
|
511
|
+
E[w] != null && E[w].call(E, c, a, o);
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
return;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
const d = Object.getOwnPropertyDescriptor($, f);
|
|
518
|
+
c = c === null && typeof this[f] == "boolean" ? !1 : c, c !== this[f] && (!d.get || d.set) && (this[f] = c);
|
|
519
|
+
});
|
|
520
|
+
}, e.observedAttributes = Array.from(
|
|
521
|
+
/* @__PURE__ */ new Set([
|
|
522
|
+
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
523
|
+
...l.filter(
|
|
524
|
+
([o, a]) => a[0] & 15
|
|
525
|
+
/* HasAttribute */
|
|
526
|
+
).map(([o, a]) => {
|
|
527
|
+
var c;
|
|
528
|
+
const u = a[1] || o;
|
|
529
|
+
return i.set(u, o), a[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([o, u])), u;
|
|
530
|
+
})
|
|
531
|
+
])
|
|
532
|
+
);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
return e;
|
|
536
|
+
}, it = async (e, t, n, s) => {
|
|
537
|
+
let r;
|
|
538
|
+
if (!(t.$flags$ & 32)) {
|
|
539
|
+
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
|
540
|
+
const o = _e(n, t);
|
|
541
|
+
if (o && "then" in o) {
|
|
542
|
+
const c = De();
|
|
543
|
+
r = await o, c();
|
|
544
|
+
} else
|
|
545
|
+
r = o;
|
|
546
|
+
if (!r)
|
|
547
|
+
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
548
|
+
r.isProxied || (n.$watchers$ = r.watchers, ve(
|
|
549
|
+
r,
|
|
550
|
+
n,
|
|
551
|
+
2
|
|
552
|
+
/* proxyState */
|
|
553
|
+
), r.isProxied = !0);
|
|
554
|
+
const a = x("createInstance", n.$tagName$);
|
|
555
|
+
t.$flags$ |= 8;
|
|
556
|
+
try {
|
|
557
|
+
new r(t);
|
|
558
|
+
} catch (c) {
|
|
559
|
+
P(c, e);
|
|
560
|
+
}
|
|
561
|
+
t.$flags$ &= -9, t.$flags$ |= 128, a();
|
|
562
|
+
} else {
|
|
563
|
+
r = e.constructor;
|
|
564
|
+
const o = e.localName;
|
|
565
|
+
customElements.whenDefined(o).then(
|
|
566
|
+
() => t.$flags$ |= 128
|
|
567
|
+
/* isWatchReady */
|
|
568
|
+
);
|
|
569
|
+
}
|
|
570
|
+
if (r && r.style) {
|
|
571
|
+
let o;
|
|
572
|
+
typeof r.style == "string" && (o = r.style);
|
|
573
|
+
const a = oe(n);
|
|
574
|
+
if (!b.has(a)) {
|
|
575
|
+
const c = x("registerStyles", n.$tagName$);
|
|
576
|
+
Ce(a, o, !!(n.$flags$ & 1)), c();
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
const $ = t.$ancestorComponent$, l = () => J(t, !0);
|
|
581
|
+
$ && $["s-rc"] ? $["s-rc"].push(l) : l();
|
|
582
|
+
}, $t = (e, t) => {
|
|
583
|
+
}, lt = (e) => {
|
|
584
|
+
if (!(h.$flags$ & 1)) {
|
|
585
|
+
const t = k(e), n = t.$cmpMeta$, s = x("connectedCallback", n.$tagName$);
|
|
586
|
+
if (t.$flags$ & 1)
|
|
587
|
+
ye(e, t, n.$listeners$), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => $t());
|
|
588
|
+
else {
|
|
589
|
+
t.$flags$ |= 1;
|
|
590
|
+
{
|
|
591
|
+
let r = e;
|
|
592
|
+
for (; r = r.parentNode || r.host; )
|
|
593
|
+
if (r["s-p"]) {
|
|
594
|
+
he(t, t.$ancestorComponent$ = r);
|
|
595
|
+
break;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
n.$members$ && Object.entries(n.$members$).map(([r, [$]]) => {
|
|
599
|
+
if ($ & 31 && e.hasOwnProperty(r)) {
|
|
600
|
+
const l = e[r];
|
|
601
|
+
delete e[r], e[r] = l;
|
|
602
|
+
}
|
|
603
|
+
}), it(e, t, n);
|
|
604
|
+
}
|
|
605
|
+
s();
|
|
606
|
+
}
|
|
607
|
+
}, at = (e, t) => {
|
|
608
|
+
}, ot = async (e) => {
|
|
609
|
+
if (!(h.$flags$ & 1)) {
|
|
610
|
+
const t = k(e);
|
|
611
|
+
t.$rmListeners$ && (t.$rmListeners$.map((n) => n()), t.$rmListeners$ = void 0), t?.$lazyInstance$ || t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => at());
|
|
612
|
+
}
|
|
613
|
+
_.has(e) && _.delete(e), e.shadowRoot && _.has(e.shadowRoot) && _.delete(e.shadowRoot);
|
|
614
|
+
}, gt = (e, t = {}) => {
|
|
615
|
+
var n;
|
|
616
|
+
const s = x(), r = [], $ = t.exclude || [], l = A.customElements, i = L.head, o = /* @__PURE__ */ i.querySelector("meta[charset]"), a = /* @__PURE__ */ L.createElement("style"), c = [];
|
|
617
|
+
let u, f = !0;
|
|
618
|
+
Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", L.baseURI).href;
|
|
619
|
+
let d = !1;
|
|
620
|
+
if (e.map((p) => {
|
|
621
|
+
p[1].map((g) => {
|
|
622
|
+
var E;
|
|
623
|
+
const v = {
|
|
624
|
+
$flags$: g[0],
|
|
625
|
+
$tagName$: g[1],
|
|
626
|
+
$members$: g[2],
|
|
627
|
+
$listeners$: g[3]
|
|
628
|
+
};
|
|
629
|
+
v.$flags$ & 4 && (d = !0), v.$members$ = g[2], v.$listeners$ = g[3], v.$attrsToReflect$ = [], v.$watchers$ = (E = g[4]) != null ? E : {};
|
|
630
|
+
const w = v.$tagName$, Se = class extends HTMLElement {
|
|
631
|
+
// StencilLazyHost
|
|
632
|
+
constructor(S) {
|
|
633
|
+
if (super(S), this.hasRegisteredEventListeners = !1, S = this, Te(S, v), v.$flags$ & 1) {
|
|
634
|
+
if (!S.shadowRoot)
|
|
635
|
+
S.attachShadow({ mode: "open" });
|
|
636
|
+
else if (S.shadowRoot.mode !== "open")
|
|
637
|
+
throw new Error(
|
|
638
|
+
`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${S.shadowRoot.mode} but Stencil only supports open shadow roots.`
|
|
639
|
+
);
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
connectedCallback() {
|
|
643
|
+
const S = k(this);
|
|
644
|
+
this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, ye(this, S, v.$listeners$)), u && (clearTimeout(u), u = null), f ? c.push(this) : h.jmp(() => lt(this));
|
|
645
|
+
}
|
|
646
|
+
disconnectedCallback() {
|
|
647
|
+
h.jmp(() => ot(this)), h.raf(() => {
|
|
648
|
+
var S;
|
|
649
|
+
const O = k(this), Q = c.findIndex((Ee) => Ee === this);
|
|
650
|
+
Q > -1 && c.splice(Q, 1), ((S = O?.$vnode$) == null ? void 0 : S.$elm$) instanceof Node && !O.$vnode$.$elm$.isConnected && delete O.$vnode$.$elm$;
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
componentOnReady() {
|
|
654
|
+
return k(this).$onReadyPromise$;
|
|
655
|
+
}
|
|
656
|
+
};
|
|
657
|
+
v.$lazyBundleId$ = p[0], !$.includes(w) && !l.get(w) && (r.push(w), l.define(
|
|
658
|
+
w,
|
|
659
|
+
ve(
|
|
660
|
+
Se,
|
|
661
|
+
v,
|
|
662
|
+
1
|
|
663
|
+
/* isElementConstructor */
|
|
664
|
+
)
|
|
665
|
+
));
|
|
666
|
+
});
|
|
667
|
+
}), r.length > 0 && (d && (a.textContent += ne), a.textContent += r.sort() + Oe, a.innerHTML.length)) {
|
|
668
|
+
a.setAttribute("data-styles", "");
|
|
669
|
+
const p = (n = h.$nonce$) != null ? n : $e(L);
|
|
670
|
+
p != null && a.setAttribute("nonce", p), i.insertBefore(a, o ? o.nextSibling : i.firstChild);
|
|
671
|
+
}
|
|
672
|
+
f = !1, c.length ? c.map((p) => p.connectedCallback()) : h.jmp(() => u = setTimeout(ge, 30)), s();
|
|
673
|
+
}, ye = (e, t, n, s) => {
|
|
674
|
+
n && n.map(([r, $, l]) => {
|
|
675
|
+
const i = ft(e, r), o = ct(t, l), a = ut(r);
|
|
676
|
+
h.ael(i, $, o, a), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => h.rel(i, $, o, a));
|
|
677
|
+
});
|
|
678
|
+
}, ct = (e, t) => (n) => {
|
|
679
|
+
var s;
|
|
680
|
+
try {
|
|
681
|
+
e.$flags$ & 256 ? (s = e.$lazyInstance$) == null || s[t](n) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, n]);
|
|
682
|
+
} catch (r) {
|
|
683
|
+
P(r, e.$hostElement$);
|
|
684
|
+
}
|
|
685
|
+
}, ft = (e, t) => t & 8 ? A : e, ut = (e) => je ? {
|
|
686
|
+
passive: (e & 1) !== 0,
|
|
687
|
+
capture: (e & 2) !== 0
|
|
688
|
+
} : (e & 2) !== 0;
|
|
689
|
+
export {
|
|
690
|
+
Re as H,
|
|
691
|
+
ht as a,
|
|
692
|
+
gt as b,
|
|
693
|
+
pt as g,
|
|
694
|
+
ae as h,
|
|
695
|
+
Ie as p,
|
|
696
|
+
dt as r
|
|
697
|
+
};
|