@everymatrix/player-account-timeout 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/PlayerAccountGeneralConfirmationModal-BFNeYxW-.cjs +5 -0
- package/components/{PlayerAccountGeneralConfirmationModal-ChB7aHS1.js → PlayerAccountGeneralConfirmationModal-BMfVGVNy.js} +884 -873
- package/components/{PlayerAccountGeneralConfirmationModal-0bB89rMF.js → PlayerAccountGeneralConfirmationModal-CHHl3cC2.js} +894 -883
- package/components/{PlayerAccountTimeout-kakTUp8_.js → PlayerAccountTimeout-CWUvNaQm.js} +10576 -10800
- package/components/PlayerAccountTimeout-DZUYC3Pl.cjs +3557 -0
- package/components/{PlayerAccountTimeout-DdqP9yaE.js → PlayerAccountTimeout-XQj4Cdw_.js} +10565 -10835
- package/es2015/player-account-timeout.cjs +1 -1
- package/es2015/player-account-timeout.js +1 -1
- package/esnext/player-account-timeout.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-db5752f9--Bvt52z2.js +610 -0
- package/stencil/index-db5752f9-CAzJb5N3.js +594 -0
- package/stencil/index-db5752f9-CEbtfUsZ.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-BH4FIF5y.js +122 -0
- package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +1 -0
- package/stencil/ui-skeleton-982450d2-DGJAETMx.js +122 -0
- package/stencil/ui-skeleton-DlfwJJb1.js +29 -0
- package/stencil/ui-skeleton-DtnYQAt6.cjs +1 -0
- package/stencil/ui-skeleton-rqI1NmdA.js +11 -0
- package/components/PlayerAccountGeneralConfirmationModal-DMLHphU8.cjs +0 -5
- package/components/PlayerAccountTimeout-4d7gE7Sk.cjs +0 -4171
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountTimeout-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountTimeout-DZUYC3Pl.cjs")).then(({default:t})=>{!customElements.get("player-account-timeout")&&customElements.define("player-account-timeout",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountTimeout-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountTimeout-CWUvNaQm.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-timeout") && customElements.define("player-account-timeout", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=()=>{};exports.globalScripts=s;
|
|
@@ -0,0 +1,610 @@
|
|
|
1
|
+
var j = (e, t, s) => new Promise((n, r) => {
|
|
2
|
+
var i = (o) => {
|
|
3
|
+
try {
|
|
4
|
+
l(s.next(o));
|
|
5
|
+
} catch (c) {
|
|
6
|
+
r(c);
|
|
7
|
+
}
|
|
8
|
+
}, a = (o) => {
|
|
9
|
+
try {
|
|
10
|
+
l(s.throw(o));
|
|
11
|
+
} catch (c) {
|
|
12
|
+
r(c);
|
|
13
|
+
}
|
|
14
|
+
}, l = (o) => o.done ? n(o.value) : Promise.resolve(o.value).then(i, a);
|
|
15
|
+
l((s = s.apply(e, t)).next());
|
|
16
|
+
});
|
|
17
|
+
const he = "ui-skeleton", W = (
|
|
18
|
+
/* ui-skeleton */
|
|
19
|
+
{ hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
|
|
20
|
+
);
|
|
21
|
+
var ve = Object.defineProperty, ye = (e, t) => {
|
|
22
|
+
for (var s in t)
|
|
23
|
+
ve(e, s, { get: t[s], enumerable: !0 });
|
|
24
|
+
}, Y = /* @__PURE__ */ new WeakMap(), S = (e) => Y.get(e), et = (e, t) => {
|
|
25
|
+
Y.set(t.$lazyInstance$ = e, t);
|
|
26
|
+
}, pe = (e, t) => {
|
|
27
|
+
const s = {
|
|
28
|
+
$flags$: 0,
|
|
29
|
+
$hostElement$: e,
|
|
30
|
+
$cmpMeta$: t,
|
|
31
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
32
|
+
};
|
|
33
|
+
return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], Y.set(e, s);
|
|
34
|
+
}, b = (e, t) => (0, console.error)(e, t), A = /* @__PURE__ */ new Map(), ge = (e, t, s) => {
|
|
35
|
+
const n = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
36
|
+
if (!r)
|
|
37
|
+
return;
|
|
38
|
+
const i = A.get(r);
|
|
39
|
+
if (i)
|
|
40
|
+
return i[n];
|
|
41
|
+
{
|
|
42
|
+
const a = (l) => (A.set(r, l), l[n]);
|
|
43
|
+
switch (r) {
|
|
44
|
+
case "ui-skeleton":
|
|
45
|
+
return import(
|
|
46
|
+
/* webpackMode: "lazy" */
|
|
47
|
+
"./ui-skeleton-DlfwJJb1.js"
|
|
48
|
+
).then(a, b);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return import(
|
|
52
|
+
/* @vite-ignore */
|
|
53
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
54
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
55
|
+
/* webpackMode: "lazy" */
|
|
56
|
+
`./${r}.entry.js`
|
|
57
|
+
).then(
|
|
58
|
+
(a) => (A.set(r, a), a[n]),
|
|
59
|
+
(a) => {
|
|
60
|
+
b(a, t.$hostElement$);
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}, I = /* @__PURE__ */ new Map(), Se = "sty-id", me = "{visibility:hidden}.hydrated{visibility:inherit}", M = "slot-fb{display:contents}slot-fb[hidden]{display:none}", G = typeof window != "undefined" ? window : {}, k = G.document || { head: {} }, y = {
|
|
64
|
+
$flags$: 0,
|
|
65
|
+
$resourcesUrl$: "",
|
|
66
|
+
jmp: (e) => e(),
|
|
67
|
+
raf: (e) => requestAnimationFrame(e),
|
|
68
|
+
ael: (e, t, s, n) => e.addEventListener(t, s, n),
|
|
69
|
+
rel: (e, t, s, n) => e.removeEventListener(t, s, n),
|
|
70
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
71
|
+
}, ke = (e) => Promise.resolve(e), V = /* @__PURE__ */ (() => {
|
|
72
|
+
try {
|
|
73
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
74
|
+
} catch (e) {
|
|
75
|
+
}
|
|
76
|
+
return !1;
|
|
77
|
+
})(), H = !1, X = [], N = [], Ee = (e, t) => (s) => {
|
|
78
|
+
e.push(s), H || (H = !0, y.$flags$ & 4 ? J(U) : y.raf(U));
|
|
79
|
+
}, Z = (e) => {
|
|
80
|
+
for (let t = 0; t < e.length; t++)
|
|
81
|
+
try {
|
|
82
|
+
e[t](performance.now());
|
|
83
|
+
} catch (s) {
|
|
84
|
+
b(s);
|
|
85
|
+
}
|
|
86
|
+
e.length = 0;
|
|
87
|
+
}, U = () => {
|
|
88
|
+
Z(X), Z(N), (H = X.length > 0) && y.raf(U);
|
|
89
|
+
}, J = (e) => ke().then(e), be = /* @__PURE__ */ Ee(N), ee = (e) => (e = typeof e, e === "object" || e === "function");
|
|
90
|
+
function te(e) {
|
|
91
|
+
var t, s, n;
|
|
92
|
+
return (n = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? n : void 0;
|
|
93
|
+
}
|
|
94
|
+
var we = {};
|
|
95
|
+
ye(we, {
|
|
96
|
+
err: () => ne,
|
|
97
|
+
map: () => Pe,
|
|
98
|
+
ok: () => q,
|
|
99
|
+
unwrap: () => Le,
|
|
100
|
+
unwrapErr: () => xe
|
|
101
|
+
});
|
|
102
|
+
var q = (e) => ({
|
|
103
|
+
isOk: !0,
|
|
104
|
+
isErr: !1,
|
|
105
|
+
value: e
|
|
106
|
+
}), ne = (e) => ({
|
|
107
|
+
isOk: !1,
|
|
108
|
+
isErr: !0,
|
|
109
|
+
value: e
|
|
110
|
+
});
|
|
111
|
+
function Pe(e, t) {
|
|
112
|
+
if (e.isOk) {
|
|
113
|
+
const s = t(e.value);
|
|
114
|
+
return s instanceof Promise ? s.then((n) => q(n)) : q(s);
|
|
115
|
+
}
|
|
116
|
+
if (e.isErr) {
|
|
117
|
+
const s = e.value;
|
|
118
|
+
return ne(s);
|
|
119
|
+
}
|
|
120
|
+
throw "should never get here";
|
|
121
|
+
}
|
|
122
|
+
var Le = (e) => {
|
|
123
|
+
if (e.isOk)
|
|
124
|
+
return e.value;
|
|
125
|
+
throw e.value;
|
|
126
|
+
}, xe = (e) => {
|
|
127
|
+
if (e.isErr)
|
|
128
|
+
return e.value;
|
|
129
|
+
throw e.value;
|
|
130
|
+
}, m = (e, t = "") => () => {
|
|
131
|
+
}, je = (e, t) => () => {
|
|
132
|
+
}, Oe = (e, t, ...s) => {
|
|
133
|
+
let n = null, r = null, i = !1, a = !1;
|
|
134
|
+
const l = [], o = ($) => {
|
|
135
|
+
for (let u = 0; u < $.length; u++)
|
|
136
|
+
n = $[u], Array.isArray(n) ? o(n) : n != null && typeof n != "boolean" && ((i = typeof e != "function" && !ee(n)) && (n = String(n)), i && a ? l[l.length - 1].$text$ += n : l.push(i ? B(null, n) : n), a = i);
|
|
137
|
+
};
|
|
138
|
+
if (o(s), t) {
|
|
139
|
+
t.key && (r = t.key);
|
|
140
|
+
{
|
|
141
|
+
const $ = t.className || t.class;
|
|
142
|
+
$ && (t.class = typeof $ != "object" ? $ : Object.keys($).filter((u) => $[u]).join(" "));
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
const c = B(e, null);
|
|
146
|
+
return c.$attrs$ = t, l.length > 0 && (c.$children$ = l), c.$key$ = r, c;
|
|
147
|
+
}, B = (e, t) => {
|
|
148
|
+
const s = {
|
|
149
|
+
$flags$: 0,
|
|
150
|
+
$tag$: e,
|
|
151
|
+
$text$: t,
|
|
152
|
+
$elm$: null,
|
|
153
|
+
$children$: null
|
|
154
|
+
};
|
|
155
|
+
return s.$attrs$ = null, s.$key$ = null, s;
|
|
156
|
+
}, Te = {}, Ie = (e) => e && e.$tag$ === Te, D = (e, t) => e != null && !ee(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, _e = (e, t, s) => {
|
|
157
|
+
const n = y.ce(t, s);
|
|
158
|
+
return e.dispatchEvent(n), n;
|
|
159
|
+
}, L = /* @__PURE__ */ new WeakMap(), Ae = (e, t, s) => {
|
|
160
|
+
let n = I.get(e);
|
|
161
|
+
V && s ? (n = n || new CSSStyleSheet(), typeof n == "string" ? n = t : n.replaceSync(t)) : n = t, I.set(e, n);
|
|
162
|
+
}, ze = (e, t, s) => {
|
|
163
|
+
var n;
|
|
164
|
+
const r = se(t), i = I.get(r);
|
|
165
|
+
if (e = e.nodeType === 11 ? e : k, i)
|
|
166
|
+
if (typeof i == "string") {
|
|
167
|
+
e = e.head || e;
|
|
168
|
+
let a = L.get(e), l;
|
|
169
|
+
if (a || L.set(e, a = /* @__PURE__ */ new Set()), !a.has(r)) {
|
|
170
|
+
{
|
|
171
|
+
l = document.querySelector(`[${Se}="${r}"]`) || k.createElement("style"), l.innerHTML = i;
|
|
172
|
+
const o = (n = y.$nonce$) != null ? n : te(k);
|
|
173
|
+
if (o != null && l.setAttribute("nonce", o), !(t.$flags$ & 1))
|
|
174
|
+
if (e.nodeName === "HEAD") {
|
|
175
|
+
const c = e.querySelectorAll("link[rel=preconnect]"), $ = c.length > 0 ? c[c.length - 1].nextSibling : e.querySelector("style");
|
|
176
|
+
e.insertBefore(
|
|
177
|
+
l,
|
|
178
|
+
($ == null ? void 0 : $.parentNode) === e ? $ : null
|
|
179
|
+
);
|
|
180
|
+
} else if ("host" in e)
|
|
181
|
+
if (V) {
|
|
182
|
+
const c = new CSSStyleSheet();
|
|
183
|
+
c.replaceSync(i), e.adoptedStyleSheets = [c, ...e.adoptedStyleSheets];
|
|
184
|
+
} else {
|
|
185
|
+
const c = e.querySelector("style");
|
|
186
|
+
c ? c.innerHTML = i + c.innerHTML : e.prepend(l);
|
|
187
|
+
}
|
|
188
|
+
else
|
|
189
|
+
e.append(l);
|
|
190
|
+
t.$flags$ & 1 && e.insertBefore(l, null);
|
|
191
|
+
}
|
|
192
|
+
t.$flags$ & 4 && (l.innerHTML += M), a && a.add(r);
|
|
193
|
+
}
|
|
194
|
+
} else e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
|
|
195
|
+
return r;
|
|
196
|
+
}, He = (e) => {
|
|
197
|
+
const t = e.$cmpMeta$, s = e.$hostElement$, n = m("attachStyles", t.$tagName$);
|
|
198
|
+
ze(
|
|
199
|
+
s.getRootNode(),
|
|
200
|
+
t
|
|
201
|
+
), n();
|
|
202
|
+
}, se = (e, t) => "sc-" + e.$tagName$, F = (e, t, s, n, r, i, a) => {
|
|
203
|
+
if (s !== n)
|
|
204
|
+
if (t.toLowerCase(), t === "class") {
|
|
205
|
+
const l = e.classList, o = C(s);
|
|
206
|
+
let c = C(n);
|
|
207
|
+
l.remove(...o.filter(($) => $ && !c.includes($))), l.add(...c.filter(($) => $ && !o.includes($)));
|
|
208
|
+
} else if (t === "style") {
|
|
209
|
+
for (const l in s)
|
|
210
|
+
(!n || n[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
|
|
211
|
+
for (const l in n)
|
|
212
|
+
(!s || n[l] !== s[l]) && (l.includes("-") ? e.style.setProperty(l, n[l]) : e.style[l] = n[l]);
|
|
213
|
+
} else t === "key" || t === "ref" && n && n(e);
|
|
214
|
+
}, Ue = /\s/, C = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(Ue)), re = (e, t, s, n) => {
|
|
215
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, a = t.$attrs$ || {};
|
|
216
|
+
for (const l of R(Object.keys(i)))
|
|
217
|
+
l in a || F(
|
|
218
|
+
r,
|
|
219
|
+
l,
|
|
220
|
+
i[l],
|
|
221
|
+
void 0
|
|
222
|
+
);
|
|
223
|
+
for (const l of R(Object.keys(a)))
|
|
224
|
+
F(
|
|
225
|
+
r,
|
|
226
|
+
l,
|
|
227
|
+
i[l],
|
|
228
|
+
a[l]
|
|
229
|
+
);
|
|
230
|
+
};
|
|
231
|
+
function R(e) {
|
|
232
|
+
return e.includes("ref") ? (
|
|
233
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
234
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
235
|
+
) : (
|
|
236
|
+
// no need to sort, return the original array
|
|
237
|
+
e
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
var le, _ = (e, t, s) => {
|
|
241
|
+
const n = t.$children$[s];
|
|
242
|
+
let r = 0, i, a;
|
|
243
|
+
if (i = n.$elm$ = k.createElement(
|
|
244
|
+
n.$tag$
|
|
245
|
+
), re(null, n), n.$children$)
|
|
246
|
+
for (r = 0; r < n.$children$.length; ++r)
|
|
247
|
+
a = _(e, n, r), a && i.appendChild(a);
|
|
248
|
+
return i["s-hn"] = le, i;
|
|
249
|
+
}, ie = (e, t, s, n, r, i) => {
|
|
250
|
+
let a = e, l;
|
|
251
|
+
for (; r <= i; ++r)
|
|
252
|
+
n[r] && (l = _(null, s, r), l && (n[r].$elm$ = l, T(a, l, t)));
|
|
253
|
+
}, ae = (e, t, s) => {
|
|
254
|
+
for (let n = t; n <= s; ++n) {
|
|
255
|
+
const r = e[n];
|
|
256
|
+
if (r) {
|
|
257
|
+
const i = r.$elm$;
|
|
258
|
+
$e(r), i && i.remove();
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}, qe = (e, t, s, n, r = !1) => {
|
|
262
|
+
let i = 0, a = 0, l = 0, o = 0, c = t.length - 1, $ = t[0], u = t[c], f = n.length - 1, d = n[0], h = n[f], v, p;
|
|
263
|
+
for (; i <= c && a <= f; )
|
|
264
|
+
if ($ == null)
|
|
265
|
+
$ = t[++i];
|
|
266
|
+
else if (u == null)
|
|
267
|
+
u = t[--c];
|
|
268
|
+
else if (d == null)
|
|
269
|
+
d = n[++a];
|
|
270
|
+
else if (h == null)
|
|
271
|
+
h = n[--f];
|
|
272
|
+
else if (O($, d, r))
|
|
273
|
+
P($, d, r), $ = t[++i], d = n[++a];
|
|
274
|
+
else if (O(u, h, r))
|
|
275
|
+
P(u, h, r), u = t[--c], h = n[--f];
|
|
276
|
+
else if (O($, h, r))
|
|
277
|
+
P($, h, r), T(e, $.$elm$, u.$elm$.nextSibling), $ = t[++i], h = n[--f];
|
|
278
|
+
else if (O(u, d, r))
|
|
279
|
+
P(u, d, r), T(e, u.$elm$, $.$elm$), u = t[--c], d = n[++a];
|
|
280
|
+
else {
|
|
281
|
+
for (l = -1, o = i; o <= c; ++o)
|
|
282
|
+
if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
|
|
283
|
+
l = o;
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
286
|
+
l >= 0 ? (p = t[l], p.$tag$ !== d.$tag$ ? v = _(t && t[a], s, l) : (P(p, d, r), t[l] = void 0, v = p.$elm$), d = n[++a]) : (v = _(t && t[a], s, a), d = n[++a]), v && T($.$elm$.parentNode, v, $.$elm$);
|
|
287
|
+
}
|
|
288
|
+
i > c ? ie(
|
|
289
|
+
e,
|
|
290
|
+
n[f + 1] == null ? null : n[f + 1].$elm$,
|
|
291
|
+
s,
|
|
292
|
+
n,
|
|
293
|
+
a,
|
|
294
|
+
f
|
|
295
|
+
) : a > f && ae(t, i, c);
|
|
296
|
+
}, O = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? (s && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, P = (e, t, s = !1) => {
|
|
297
|
+
const n = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$;
|
|
298
|
+
re(e, t), r !== null && i !== null ? qe(n, r, t, i, s) : i !== null ? ie(n, null, t, i, 0, i.length - 1) : (
|
|
299
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
300
|
+
!s && W.updatable && r !== null && ae(r, 0, r.length - 1)
|
|
301
|
+
);
|
|
302
|
+
}, $e = (e) => {
|
|
303
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map($e);
|
|
304
|
+
}, T = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), Be = (e, t, s = !1) => {
|
|
305
|
+
const n = e.$hostElement$, r = e.$vnode$ || B(null, null), i = Ie(t) ? t : Oe(null, null, t);
|
|
306
|
+
if (le = n.tagName, s && i.$attrs$)
|
|
307
|
+
for (const a of Object.keys(i.$attrs$))
|
|
308
|
+
n.hasAttribute(a) && !["key", "ref", "style", "class"].includes(a) && (i.$attrs$[a] = n[a]);
|
|
309
|
+
i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = r.$elm$ = n, P(r, i, s);
|
|
310
|
+
}, oe = (e, t) => {
|
|
311
|
+
if (t && !e.$onRenderResolve$ && t["s-p"]) {
|
|
312
|
+
const s = t["s-p"].push(
|
|
313
|
+
new Promise(
|
|
314
|
+
(n) => e.$onRenderResolve$ = () => {
|
|
315
|
+
t["s-p"].splice(s - 1, 1), n();
|
|
316
|
+
}
|
|
317
|
+
)
|
|
318
|
+
);
|
|
319
|
+
}
|
|
320
|
+
}, K = (e, t) => {
|
|
321
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
322
|
+
e.$flags$ |= 512;
|
|
323
|
+
return;
|
|
324
|
+
}
|
|
325
|
+
return oe(e, e.$ancestorComponent$), be(() => De(e, t));
|
|
326
|
+
}, De = (e, t) => {
|
|
327
|
+
const s = e.$hostElement$, n = m("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
328
|
+
if (!r)
|
|
329
|
+
throw new Error(
|
|
330
|
+
`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
331
|
+
);
|
|
332
|
+
let i;
|
|
333
|
+
return n(), We(i, () => Ge(e, r, t));
|
|
334
|
+
}, We = (e, t) => Ye(e) ? e.then(t).catch((s) => {
|
|
335
|
+
console.error(s), t();
|
|
336
|
+
}) : t(), Ye = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ge = (e, t, s) => j(void 0, null, function* () {
|
|
337
|
+
var n;
|
|
338
|
+
const r = e.$hostElement$, i = m("update", e.$cmpMeta$.$tagName$), a = r["s-rc"];
|
|
339
|
+
s && He(e);
|
|
340
|
+
const l = m("render", e.$cmpMeta$.$tagName$);
|
|
341
|
+
Je(e, t, r, s), a && (a.map((o) => o()), r["s-rc"] = void 0), l(), i();
|
|
342
|
+
{
|
|
343
|
+
const o = (n = r["s-p"]) != null ? n : [], c = () => Ke(e);
|
|
344
|
+
o.length === 0 ? c() : (Promise.all(o).then(c), e.$flags$ |= 4, o.length = 0);
|
|
345
|
+
}
|
|
346
|
+
}), Je = (e, t, s, n) => {
|
|
347
|
+
try {
|
|
348
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Be(e, t, n);
|
|
349
|
+
} catch (r) {
|
|
350
|
+
b(r, e.$hostElement$);
|
|
351
|
+
}
|
|
352
|
+
return null;
|
|
353
|
+
}, Ke = (e) => {
|
|
354
|
+
const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = m("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
|
|
355
|
+
e.$flags$ & 64 ? n() : (e.$flags$ |= 64, Xe(s), Qe(r, "componentDidLoad", void 0, s), n(), e.$onReadyResolve$(s), i || ce()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && J(() => K(e, !1)), e.$flags$ &= -517;
|
|
356
|
+
}, ce = (e) => {
|
|
357
|
+
J(() => _e(G, "appload", { detail: { namespace: he } }));
|
|
358
|
+
}, Qe = (e, t, s, n) => {
|
|
359
|
+
if (e && e[t])
|
|
360
|
+
try {
|
|
361
|
+
return e[t](s);
|
|
362
|
+
} catch (r) {
|
|
363
|
+
b(r, n);
|
|
364
|
+
}
|
|
365
|
+
}, Xe = (e) => {
|
|
366
|
+
var t;
|
|
367
|
+
return e.classList.add((t = W.hydratedSelectorName) != null ? t : "hydrated");
|
|
368
|
+
}, Ze = (e, t) => S(e).$instanceValues$.get(t), z = (e, t, s, n) => {
|
|
369
|
+
const r = S(e);
|
|
370
|
+
if (!r)
|
|
371
|
+
throw new Error(
|
|
372
|
+
`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
|
|
373
|
+
);
|
|
374
|
+
const i = r.$hostElement$, a = r.$instanceValues$.get(t), l = r.$flags$, o = r.$lazyInstance$;
|
|
375
|
+
s = D(s, n.$members$[t][0]);
|
|
376
|
+
const c = Number.isNaN(a) && Number.isNaN(s), $ = s !== a && !c;
|
|
377
|
+
if ((!(l & 8) || a === void 0) && $ && (r.$instanceValues$.set(t, s), o)) {
|
|
378
|
+
if (n.$watchers$ && l & 128) {
|
|
379
|
+
const u = n.$watchers$[t];
|
|
380
|
+
u && u.map((f) => {
|
|
381
|
+
try {
|
|
382
|
+
o[f](s, a, t);
|
|
383
|
+
} catch (d) {
|
|
384
|
+
b(d, i);
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
(l & 18) === 2 && K(r, !1);
|
|
389
|
+
}
|
|
390
|
+
}, fe = (e, t, s) => {
|
|
391
|
+
var n, r;
|
|
392
|
+
const i = e.prototype;
|
|
393
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
394
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
395
|
+
const a = Object.entries((n = t.$members$) != null ? n : {});
|
|
396
|
+
if (a.map(([l, [o]]) => {
|
|
397
|
+
if (o & 31 || s & 2 && o & 32) {
|
|
398
|
+
const { get: c, set: $ } = Object.getOwnPropertyDescriptor(i, l) || {};
|
|
399
|
+
c && (t.$members$[l][0] |= 2048), $ && (t.$members$[l][0] |= 4096), (s & 1 || !c) && Object.defineProperty(i, l, {
|
|
400
|
+
get() {
|
|
401
|
+
{
|
|
402
|
+
if (!(t.$members$[l][0] & 2048))
|
|
403
|
+
return Ze(this, l);
|
|
404
|
+
const u = S(this), f = u ? u.$lazyInstance$ : i;
|
|
405
|
+
return f ? f[l] : void 0;
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
configurable: !0,
|
|
409
|
+
enumerable: !0
|
|
410
|
+
}), Object.defineProperty(i, l, {
|
|
411
|
+
set(u) {
|
|
412
|
+
const f = S(this);
|
|
413
|
+
if ($) {
|
|
414
|
+
const d = o & 32 ? this[l] : f.$hostElement$[l];
|
|
415
|
+
typeof d == "undefined" && f.$instanceValues$.get(l) ? u = f.$instanceValues$.get(l) : !f.$instanceValues$.get(l) && d && f.$instanceValues$.set(l, d), $.apply(this, [D(u, o)]), u = o & 32 ? this[l] : f.$hostElement$[l], z(this, l, u, t);
|
|
416
|
+
return;
|
|
417
|
+
}
|
|
418
|
+
{
|
|
419
|
+
if (!(s & 1) || !(t.$members$[l][0] & 4096)) {
|
|
420
|
+
z(this, l, u, t), s & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
|
|
421
|
+
t.$members$[l][0] & 4096 && f.$lazyInstance$[l] !== f.$instanceValues$.get(l) && (f.$lazyInstance$[l] = u);
|
|
422
|
+
});
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
425
|
+
const d = () => {
|
|
426
|
+
const h = f.$lazyInstance$[l];
|
|
427
|
+
!f.$instanceValues$.get(l) && h && f.$instanceValues$.set(l, h), f.$lazyInstance$[l] = D(u, o), z(this, l, f.$lazyInstance$[l], t);
|
|
428
|
+
};
|
|
429
|
+
f.$lazyInstance$ ? d() : f.$onReadyPromise$.then(() => d());
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
}), s & 1) {
|
|
435
|
+
const l = /* @__PURE__ */ new Map();
|
|
436
|
+
i.attributeChangedCallback = function(o, c, $) {
|
|
437
|
+
y.jmp(() => {
|
|
438
|
+
var u;
|
|
439
|
+
const f = l.get(o);
|
|
440
|
+
if (this.hasOwnProperty(f) && W.lazyLoad)
|
|
441
|
+
$ = this[f], delete this[f];
|
|
442
|
+
else {
|
|
443
|
+
if (i.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
|
|
444
|
+
this[f] == $)
|
|
445
|
+
return;
|
|
446
|
+
if (f == null) {
|
|
447
|
+
const h = S(this), v = h == null ? void 0 : h.$flags$;
|
|
448
|
+
if (v && !(v & 8) && v & 128 && $ !== c) {
|
|
449
|
+
const p = h.$lazyInstance$, g = (u = t.$watchers$) == null ? void 0 : u[o];
|
|
450
|
+
g == null || g.forEach((E) => {
|
|
451
|
+
p[E] != null && p[E].call(p, $, c, o);
|
|
452
|
+
});
|
|
453
|
+
}
|
|
454
|
+
return;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
const d = Object.getOwnPropertyDescriptor(i, f);
|
|
458
|
+
$ = $ === null && typeof this[f] == "boolean" ? !1 : $, $ !== this[f] && (!d.get || d.set) && (this[f] = $);
|
|
459
|
+
});
|
|
460
|
+
}, e.observedAttributes = Array.from(
|
|
461
|
+
/* @__PURE__ */ new Set([
|
|
462
|
+
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
463
|
+
...a.filter(
|
|
464
|
+
([o, c]) => c[0] & 15
|
|
465
|
+
/* HasAttribute */
|
|
466
|
+
).map(([o, c]) => {
|
|
467
|
+
const $ = c[1] || o;
|
|
468
|
+
return l.set($, o), $;
|
|
469
|
+
})
|
|
470
|
+
])
|
|
471
|
+
);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
return e;
|
|
475
|
+
}, Fe = (e, t, s, n) => j(void 0, null, function* () {
|
|
476
|
+
let r;
|
|
477
|
+
if (!(t.$flags$ & 32)) {
|
|
478
|
+
if (t.$flags$ |= 32, s.$lazyBundleId$) {
|
|
479
|
+
const o = ge(s, t);
|
|
480
|
+
if (o && "then" in o) {
|
|
481
|
+
const $ = je();
|
|
482
|
+
r = yield o, $();
|
|
483
|
+
} else
|
|
484
|
+
r = o;
|
|
485
|
+
if (!r)
|
|
486
|
+
throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
|
|
487
|
+
r.isProxied || (s.$watchers$ = r.watchers, fe(
|
|
488
|
+
r,
|
|
489
|
+
s,
|
|
490
|
+
2
|
|
491
|
+
/* proxyState */
|
|
492
|
+
), r.isProxied = !0);
|
|
493
|
+
const c = m("createInstance", s.$tagName$);
|
|
494
|
+
t.$flags$ |= 8;
|
|
495
|
+
try {
|
|
496
|
+
new r(t);
|
|
497
|
+
} catch ($) {
|
|
498
|
+
b($, e);
|
|
499
|
+
}
|
|
500
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
501
|
+
} else {
|
|
502
|
+
r = e.constructor;
|
|
503
|
+
const o = e.localName;
|
|
504
|
+
customElements.whenDefined(o).then(
|
|
505
|
+
() => t.$flags$ |= 128
|
|
506
|
+
/* isWatchReady */
|
|
507
|
+
);
|
|
508
|
+
}
|
|
509
|
+
if (r && r.style) {
|
|
510
|
+
let o;
|
|
511
|
+
typeof r.style == "string" && (o = r.style);
|
|
512
|
+
const c = se(s);
|
|
513
|
+
if (!I.has(c)) {
|
|
514
|
+
const $ = m("registerStyles", s.$tagName$);
|
|
515
|
+
Ae(c, o, !!(s.$flags$ & 1)), $();
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
const i = t.$ancestorComponent$, a = () => K(t, !0);
|
|
520
|
+
i && i["s-rc"] ? i["s-rc"].push(a) : a();
|
|
521
|
+
}), Ce = (e, t) => {
|
|
522
|
+
}, Re = (e) => {
|
|
523
|
+
if (!(y.$flags$ & 1)) {
|
|
524
|
+
const t = S(e), s = t.$cmpMeta$, n = m("connectedCallback", s.$tagName$);
|
|
525
|
+
if (t.$flags$ & 1)
|
|
526
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Ce());
|
|
527
|
+
else {
|
|
528
|
+
t.$flags$ |= 1;
|
|
529
|
+
{
|
|
530
|
+
let r = e;
|
|
531
|
+
for (; r = r.parentNode || r.host; )
|
|
532
|
+
if (r["s-p"]) {
|
|
533
|
+
oe(t, t.$ancestorComponent$ = r);
|
|
534
|
+
break;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
s.$members$ && Object.entries(s.$members$).map(([r, [i]]) => {
|
|
538
|
+
if (i & 31 && e.hasOwnProperty(r)) {
|
|
539
|
+
const a = e[r];
|
|
540
|
+
delete e[r], e[r] = a;
|
|
541
|
+
}
|
|
542
|
+
}), Fe(e, t, s);
|
|
543
|
+
}
|
|
544
|
+
n();
|
|
545
|
+
}
|
|
546
|
+
}, Me = (e, t) => {
|
|
547
|
+
}, Ve = (e) => j(void 0, null, function* () {
|
|
548
|
+
if (!(y.$flags$ & 1)) {
|
|
549
|
+
const t = S(e);
|
|
550
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Me());
|
|
551
|
+
}
|
|
552
|
+
L.has(e) && L.delete(e), e.shadowRoot && L.has(e.shadowRoot) && L.delete(e.shadowRoot);
|
|
553
|
+
}), tt = (e, t = {}) => {
|
|
554
|
+
var s;
|
|
555
|
+
const n = m(), r = [], i = t.exclude || [], a = G.customElements, l = k.head, o = /* @__PURE__ */ l.querySelector("meta[charset]"), c = /* @__PURE__ */ k.createElement("style"), $ = [];
|
|
556
|
+
let u, f = !0;
|
|
557
|
+
Object.assign(y, t), y.$resourcesUrl$ = new URL(t.resourcesUrl || "./", k.baseURI).href;
|
|
558
|
+
let d = !1;
|
|
559
|
+
if (e.map((h) => {
|
|
560
|
+
h[1].map((v) => {
|
|
561
|
+
var p;
|
|
562
|
+
const g = {
|
|
563
|
+
$flags$: v[0],
|
|
564
|
+
$tagName$: v[1],
|
|
565
|
+
$members$: v[2],
|
|
566
|
+
$listeners$: v[3]
|
|
567
|
+
};
|
|
568
|
+
g.$flags$ & 4 && (d = !0), g.$members$ = v[2], g.$watchers$ = (p = v[4]) != null ? p : {};
|
|
569
|
+
const E = g.$tagName$, ue = class extends HTMLElement {
|
|
570
|
+
// StencilLazyHost
|
|
571
|
+
constructor(w) {
|
|
572
|
+
super(w), this.hasRegisteredEventListeners = !1, w = this, pe(w, g);
|
|
573
|
+
}
|
|
574
|
+
connectedCallback() {
|
|
575
|
+
S(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), u && (clearTimeout(u), u = null), f ? $.push(this) : y.jmp(() => Re(this));
|
|
576
|
+
}
|
|
577
|
+
disconnectedCallback() {
|
|
578
|
+
y.jmp(() => Ve(this)), y.raf(() => {
|
|
579
|
+
var w;
|
|
580
|
+
const x = S(this), Q = $.findIndex((de) => de === this);
|
|
581
|
+
Q > -1 && $.splice(Q, 1), ((w = x == null ? void 0 : x.$vnode$) == null ? void 0 : w.$elm$) instanceof Node && !x.$vnode$.$elm$.isConnected && delete x.$vnode$.$elm$;
|
|
582
|
+
});
|
|
583
|
+
}
|
|
584
|
+
componentOnReady() {
|
|
585
|
+
return S(this).$onReadyPromise$;
|
|
586
|
+
}
|
|
587
|
+
};
|
|
588
|
+
g.$lazyBundleId$ = h[0], !i.includes(E) && !a.get(E) && (r.push(E), a.define(
|
|
589
|
+
E,
|
|
590
|
+
fe(
|
|
591
|
+
ue,
|
|
592
|
+
g,
|
|
593
|
+
1
|
|
594
|
+
/* isElementConstructor */
|
|
595
|
+
)
|
|
596
|
+
));
|
|
597
|
+
});
|
|
598
|
+
}), r.length > 0 && (d && (c.textContent += M), c.textContent += r.sort() + me, c.innerHTML.length)) {
|
|
599
|
+
c.setAttribute("data-styles", "");
|
|
600
|
+
const h = (s = y.$nonce$) != null ? s : te(k);
|
|
601
|
+
h != null && c.setAttribute("nonce", h), l.insertBefore(c, o ? o.nextSibling : l.firstChild);
|
|
602
|
+
}
|
|
603
|
+
f = !1, $.length ? $.map((h) => h.connectedCallback()) : y.jmp(() => u = setTimeout(ce, 30)), n();
|
|
604
|
+
};
|
|
605
|
+
export {
|
|
606
|
+
tt as b,
|
|
607
|
+
Oe as h,
|
|
608
|
+
ke as p,
|
|
609
|
+
et as r
|
|
610
|
+
};
|