@everymatrix/player-account-controller 1.47.0 → 1.47.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,650 @@
1
+ var be = Object.defineProperty;
2
+ var G = Object.getOwnPropertySymbols;
3
+ var Le = Object.prototype.hasOwnProperty, we = Object.prototype.propertyIsEnumerable;
4
+ var K = (e, t, s) => t in e ? be(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, Q = (e, t) => {
5
+ for (var s in t || (t = {}))
6
+ Le.call(t, s) && K(e, s, t[s]);
7
+ if (G)
8
+ for (var s of G(t))
9
+ we.call(t, s) && K(e, s, t[s]);
10
+ return e;
11
+ };
12
+ var P = (e, t, s) => new Promise((r, n) => {
13
+ var o = (l) => {
14
+ try {
15
+ i(s.next(l));
16
+ } catch ($) {
17
+ n($);
18
+ }
19
+ }, a = (l) => {
20
+ try {
21
+ i(s.throw(l));
22
+ } catch ($) {
23
+ n($);
24
+ }
25
+ }, i = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, a);
26
+ i((s = s.apply(e, t)).next());
27
+ });
28
+ const xe = "user-transaction-history", j = (
29
+ /* user-transaction-history */
30
+ { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !1, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !0, hostListenerTarget: !0, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !0, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !1, propString: !0, reflect: !0, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !0, watchCallback: !0 }
31
+ );
32
+ var Te = Object.defineProperty, Pe = (e, t) => {
33
+ for (var s in t)
34
+ Te(e, s, { get: t[s], enumerable: !0 });
35
+ }, F = /* @__PURE__ */ new WeakMap(), b = (e) => F.get(e), Et = (e, t) => F.set(t.$lazyInstance$ = e, t), Ae = (e, t) => {
36
+ const s = {
37
+ $flags$: 0,
38
+ $hostElement$: e,
39
+ $cmpMeta$: t,
40
+ $instanceValues$: /* @__PURE__ */ new Map()
41
+ };
42
+ return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], F.set(e, s);
43
+ }, Y = (e, t) => t in e, L = (e, t) => (0, console.error)(e, t), H = /* @__PURE__ */ new Map(), Oe = (e, t, s) => {
44
+ const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
45
+ if (!n)
46
+ return;
47
+ const o = H.get(n);
48
+ if (o)
49
+ return o[r];
50
+ {
51
+ const a = (i) => (H.set(n, i), i[r]);
52
+ switch (n) {
53
+ case "user-transaction-history":
54
+ return import(
55
+ /* webpackMode: "lazy" */
56
+ "./user-transaction-history-W4vbS2--.js"
57
+ ).then(a, L);
58
+ }
59
+ }
60
+ return import(
61
+ /* @vite-ignore */
62
+ /* webpackInclude: /\.entry\.js$/ */
63
+ /* webpackExclude: /\.system\.entry\.js$/ */
64
+ /* webpackMode: "lazy" */
65
+ `./${n}.entry.js`
66
+ ).then((a) => (H.set(n, a), a[r]), L);
67
+ }, U = /* @__PURE__ */ new Map(), _e = "{visibility:hidden}.hydrated{visibility:inherit}", ae = "slot-fb{display:contents}slot-fb[hidden]{display:none}", J = "http://www.w3.org/1999/xlink", x = typeof window != "undefined" ? window : {}, m = x.document || { head: {} }, p = {
68
+ $flags$: 0,
69
+ $resourcesUrl$: "",
70
+ jmp: (e) => e(),
71
+ raf: (e) => requestAnimationFrame(e),
72
+ ael: (e, t, s, r) => e.addEventListener(t, s, r),
73
+ rel: (e, t, s, r) => e.removeEventListener(t, s, r),
74
+ ce: (e, t) => new CustomEvent(e, t)
75
+ }, je = /* @__PURE__ */ (() => {
76
+ let e = !1;
77
+ try {
78
+ m.addEventListener(
79
+ "e",
80
+ null,
81
+ Object.defineProperty({}, "passive", {
82
+ get() {
83
+ e = !0;
84
+ }
85
+ })
86
+ );
87
+ } catch (t) {
88
+ }
89
+ return e;
90
+ })(), Ue = (e) => Promise.resolve(e), Ce = /* @__PURE__ */ (() => {
91
+ try {
92
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
93
+ } catch (e) {
94
+ }
95
+ return !1;
96
+ })(), D = !1, N = [], le = [], Ie = (e, t) => (s) => {
97
+ e.push(s), D || (D = !0, p.$flags$ & 4 ? R(q) : p.raf(q));
98
+ }, Z = (e) => {
99
+ for (let t = 0; t < e.length; t++)
100
+ try {
101
+ e[t](performance.now());
102
+ } catch (s) {
103
+ L(s);
104
+ }
105
+ e.length = 0;
106
+ }, q = () => {
107
+ Z(N), Z(le), (D = N.length > 0) && p.raf(q);
108
+ }, R = (e) => Ue().then(e), He = /* @__PURE__ */ Ie(le), kt = (e) => {
109
+ const t = new URL(e, p.$resourcesUrl$);
110
+ return t.origin !== x.location.origin ? t.href : t.pathname;
111
+ }, V = {}, De = "http://www.w3.org/2000/svg", qe = "http://www.w3.org/1999/xhtml", ze = (e) => e != null, W = (e) => (e = typeof e, e === "object" || e === "function");
112
+ function ie(e) {
113
+ var t, s, r;
114
+ return (r = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? r : void 0;
115
+ }
116
+ var Be = {};
117
+ Pe(Be, {
118
+ err: () => oe,
119
+ map: () => Fe,
120
+ ok: () => z,
121
+ unwrap: () => Re,
122
+ unwrapErr: () => We
123
+ });
124
+ var z = (e) => ({
125
+ isOk: !0,
126
+ isErr: !1,
127
+ value: e
128
+ }), oe = (e) => ({
129
+ isOk: !1,
130
+ isErr: !0,
131
+ value: e
132
+ });
133
+ function Fe(e, t) {
134
+ if (e.isOk) {
135
+ const s = t(e.value);
136
+ return s instanceof Promise ? s.then((r) => z(r)) : z(s);
137
+ }
138
+ if (e.isErr) {
139
+ const s = e.value;
140
+ return oe(s);
141
+ }
142
+ throw "should never get here";
143
+ }
144
+ var Re = (e) => {
145
+ if (e.isOk)
146
+ return e.value;
147
+ throw e.value;
148
+ }, We = (e) => {
149
+ if (e.isErr)
150
+ return e.value;
151
+ throw e.value;
152
+ }, k = (e, t = "") => () => {
153
+ }, Me = (e, t) => () => {
154
+ }, $e = (e, t, ...s) => {
155
+ let r = null, n = null, o = !1, a = !1;
156
+ const i = [], l = (c) => {
157
+ for (let f = 0; f < c.length; f++)
158
+ r = c[f], Array.isArray(r) ? l(r) : r != null && typeof r != "boolean" && ((o = typeof e != "function" && !W(r)) && (r = String(r)), o && a ? i[i.length - 1].$text$ += r : i.push(o ? C(null, r) : r), a = o);
159
+ };
160
+ if (l(s), t) {
161
+ t.key && (n = t.key);
162
+ {
163
+ const c = t.className || t.class;
164
+ c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((f) => c[f]).join(" "));
165
+ }
166
+ }
167
+ if (typeof e == "function")
168
+ return e(
169
+ t === null ? {} : t,
170
+ i,
171
+ Ke
172
+ );
173
+ const $ = C(e, null);
174
+ return $.$attrs$ = t, i.length > 0 && ($.$children$ = i), $.$key$ = n, $;
175
+ }, C = (e, t) => {
176
+ const s = {
177
+ $flags$: 0,
178
+ $tag$: e,
179
+ $text$: t,
180
+ $elm$: null,
181
+ $children$: null
182
+ };
183
+ return s.$attrs$ = null, s.$key$ = null, s;
184
+ }, Xe = {}, Ge = (e) => e && e.$tag$ === Xe, Ke = {
185
+ forEach: (e, t) => e.map(ee).forEach(t),
186
+ map: (e, t) => e.map(ee).map(t).map(Qe)
187
+ }, ee = (e) => ({
188
+ vattrs: e.$attrs$,
189
+ vchildren: e.$children$,
190
+ vkey: e.$key$,
191
+ vname: e.$name$,
192
+ vtag: e.$tag$,
193
+ vtext: e.$text$
194
+ }), Qe = (e) => {
195
+ if (typeof e.vtag == "function") {
196
+ const s = Q({}, e.vattrs);
197
+ return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), $e(e.vtag, s, ...e.vchildren || []);
198
+ }
199
+ const t = C(e.vtag, e.vtext);
200
+ return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
201
+ }, Ye = (e, t) => e != null && !W(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, bt = (e) => b(e).$hostElement$, Je = (e, t, s) => {
202
+ const r = p.ce(t, s);
203
+ return e.dispatchEvent(r), r;
204
+ }, te = /* @__PURE__ */ new WeakMap(), Ne = (e, t, s) => {
205
+ let r = U.get(e);
206
+ Ce && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, U.set(e, r);
207
+ }, Ze = (e, t, s) => {
208
+ var r;
209
+ const n = ce(t), o = U.get(n);
210
+ if (e = e.nodeType === 11 ? e : m, o)
211
+ if (typeof o == "string") {
212
+ e = e.head || e;
213
+ let a = te.get(e), i;
214
+ if (a || te.set(e, a = /* @__PURE__ */ new Set()), !a.has(n)) {
215
+ {
216
+ i = m.createElement("style"), i.innerHTML = o;
217
+ const l = (r = p.$nonce$) != null ? r : ie(m);
218
+ l != null && i.setAttribute("nonce", l), /**
219
+ * we render a scoped component
220
+ */
221
+ (!(t.$flags$ & 1) || /**
222
+ * we are using shadow dom and render the style tag within the shadowRoot
223
+ */
224
+ t.$flags$ & 1 && e.nodeName !== "HEAD") && e.insertBefore(i, e.querySelector("link"));
225
+ }
226
+ t.$flags$ & 4 && (i.innerHTML += ae), a && a.add(n);
227
+ }
228
+ } else e.adoptedStyleSheets.includes(o) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, o]);
229
+ return n;
230
+ }, Ve = (e) => {
231
+ const t = e.$cmpMeta$, s = e.$hostElement$, r = t.$flags$, n = k("attachStyles", t.$tagName$), o = Ze(
232
+ s.shadowRoot ? s.shadowRoot : s.getRootNode(),
233
+ t
234
+ );
235
+ r & 10 && r & 2 && (s["s-sc"] = o, s.classList.add(o + "-h")), n();
236
+ }, ce = (e, t) => "sc-" + e.$tagName$, se = (e, t, s, r, n, o) => {
237
+ if (s !== r) {
238
+ let a = Y(e, t), i = t.toLowerCase();
239
+ if (t === "class") {
240
+ const l = e.classList, $ = re(s), c = re(r);
241
+ l.remove(...$.filter((f) => f && !c.includes(f))), l.add(...c.filter((f) => f && !$.includes(f)));
242
+ } else if (t === "style") {
243
+ for (const l in s)
244
+ (!r || r[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
245
+ for (const l in r)
246
+ (!s || r[l] !== s[l]) && (l.includes("-") ? e.style.setProperty(l, r[l]) : e.style[l] = r[l]);
247
+ } else if (t !== "key") if (t === "ref")
248
+ r && r(e);
249
+ else if (!a && t[0] === "o" && t[1] === "n") {
250
+ if (t[2] === "-" ? t = t.slice(3) : Y(x, i) ? t = i.slice(2) : t = i[2] + t.slice(3), s || r) {
251
+ const l = t.endsWith(fe);
252
+ t = t.replace(tt, ""), s && p.rel(e, t, s, l), r && p.ael(e, t, r, l);
253
+ }
254
+ } else {
255
+ const l = W(r);
256
+ if ((a || l && r !== null) && !n)
257
+ try {
258
+ if (e.tagName.includes("-"))
259
+ e[t] = r;
260
+ else {
261
+ const c = r == null ? "" : r;
262
+ t === "list" ? a = !1 : (s == null || e[t] != c) && (e[t] = c);
263
+ }
264
+ } catch (c) {
265
+ }
266
+ let $ = !1;
267
+ i !== (i = i.replace(/^xlink\:?/, "")) && (t = i, $ = !0), r == null || r === !1 ? (r !== !1 || e.getAttribute(t) === "") && ($ ? e.removeAttributeNS(J, t) : e.removeAttribute(t)) : (!a || o & 4 || n) && !l && (r = r === !0 ? "" : r, $ ? e.setAttributeNS(J, t, r) : e.setAttribute(t, r));
268
+ }
269
+ }
270
+ }, et = /\s/, re = (e) => e ? e.split(et) : [], fe = "Capture", tt = new RegExp(fe + "$"), ue = (e, t, s) => {
271
+ const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || V, o = t.$attrs$ || V;
272
+ for (const a of ne(Object.keys(n)))
273
+ a in o || se(r, a, n[a], void 0, s, t.$flags$);
274
+ for (const a of ne(Object.keys(o)))
275
+ se(r, a, n[a], o[a], s, t.$flags$);
276
+ };
277
+ function ne(e) {
278
+ return e.includes("ref") ? (
279
+ // we need to sort these to ensure that `'ref'` is the last attr
280
+ [...e.filter((t) => t !== "ref"), "ref"]
281
+ ) : (
282
+ // no need to sort, return the original array
283
+ e
284
+ );
285
+ }
286
+ var O, M, de = !1, y = !1, I = (e, t, s, r) => {
287
+ const n = t.$children$[s];
288
+ let o = 0, a, i;
289
+ if (n.$text$ !== null)
290
+ a = n.$elm$ = m.createTextNode(n.$text$);
291
+ else {
292
+ if (y || (y = n.$tag$ === "svg"), a = n.$elm$ = m.createElementNS(
293
+ y ? De : qe,
294
+ !de && j.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
295
+ ), y && n.$tag$ === "foreignObject" && (y = !1), ue(null, n, y), !!a.getRootNode().querySelector("body") && j.scoped && ze(O) && a["s-si"] !== O && a.classList.add(a["s-si"] = O), n.$children$)
296
+ for (o = 0; o < n.$children$.length; ++o)
297
+ i = I(e, n, o), i && a.appendChild(i);
298
+ n.$tag$ === "svg" ? y = !1 : a.tagName === "foreignObject" && (y = !0);
299
+ }
300
+ return a["s-hn"] = M, a;
301
+ }, ve = (e, t, s, r, n, o) => {
302
+ let a = e, i;
303
+ for (a.shadowRoot && a.tagName === M && (a = a.shadowRoot); n <= o; ++n)
304
+ r[n] && (i = I(null, s, n), i && (r[n].$elm$ = i, _(a, i, t)));
305
+ }, pe = (e, t, s) => {
306
+ for (let r = t; r <= s; ++r) {
307
+ const n = e[r];
308
+ if (n) {
309
+ const o = n.$elm$;
310
+ he(n), o && o.remove();
311
+ }
312
+ }
313
+ }, st = (e, t, s, r, n = !1) => {
314
+ let o = 0, a = 0, i = 0, l = 0, $ = t.length - 1, c = t[0], f = t[$], u = r.length - 1, d = r[0], v = r[u], h, S;
315
+ for (; o <= $ && a <= u; )
316
+ if (c == null)
317
+ c = t[++o];
318
+ else if (f == null)
319
+ f = t[--$];
320
+ else if (d == null)
321
+ d = r[++a];
322
+ else if (v == null)
323
+ v = r[--u];
324
+ else if (A(c, d, n))
325
+ w(c, d, n), c = t[++o], d = r[++a];
326
+ else if (A(f, v, n))
327
+ w(f, v, n), f = t[--$], v = r[--u];
328
+ else if (A(c, v, n))
329
+ w(c, v, n), _(e, c.$elm$, f.$elm$.nextSibling), c = t[++o], v = r[--u];
330
+ else if (A(f, d, n))
331
+ w(f, d, n), _(e, f.$elm$, c.$elm$), f = t[--$], d = r[++a];
332
+ else {
333
+ for (i = -1, l = o; l <= $; ++l)
334
+ if (t[l] && t[l].$key$ !== null && t[l].$key$ === d.$key$) {
335
+ i = l;
336
+ break;
337
+ }
338
+ i >= 0 ? (S = t[i], S.$tag$ !== d.$tag$ ? h = I(t && t[a], s, i) : (w(S, d, n), t[i] = void 0, h = S.$elm$), d = r[++a]) : (h = I(t && t[a], s, a), d = r[++a]), h && _(c.$elm$.parentNode, h, c.$elm$);
339
+ }
340
+ o > $ ? ve(
341
+ e,
342
+ r[u + 1] == null ? null : r[u + 1].$elm$,
343
+ s,
344
+ r,
345
+ a,
346
+ u
347
+ ) : a > u && pe(t, o, $);
348
+ }, A = (e, t, s = !1) => e.$tag$ === t.$tag$ ? s ? !0 : e.$key$ === t.$key$ : !1, w = (e, t, s = !1) => {
349
+ const r = t.$elm$ = e.$elm$, n = e.$children$, o = t.$children$, a = t.$tag$, i = t.$text$;
350
+ i === null ? (y = a === "svg" ? !0 : a === "foreignObject" ? !1 : y, ue(e, t, y), n !== null && o !== null ? st(r, n, t, o, s) : o !== null ? (e.$text$ !== null && (r.textContent = ""), ve(r, null, t, o, 0, o.length - 1)) : (
351
+ // don't do this on initial render as it can cause non-hydrated content to be removed
352
+ !s && j.updatable && n !== null && pe(n, 0, n.length - 1)
353
+ ), y && a === "svg" && (y = !1)) : e.$text$ !== i && (r.data = i);
354
+ }, he = (e) => {
355
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(he);
356
+ }, _ = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), rt = (e, t, s = !1) => {
357
+ const r = e.$hostElement$, n = e.$cmpMeta$, o = e.$vnode$ || C(null, null), a = Ge(t) ? t : $e(null, null, t);
358
+ if (M = r.tagName, n.$attrsToReflect$ && (a.$attrs$ = a.$attrs$ || {}, n.$attrsToReflect$.map(
359
+ ([i, l]) => a.$attrs$[l] = r[i]
360
+ )), s && a.$attrs$)
361
+ for (const i of Object.keys(a.$attrs$))
362
+ r.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (a.$attrs$[i] = r[i]);
363
+ a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = o.$elm$ = r.shadowRoot || r, O = r["s-sc"], de = (n.$flags$ & 1) !== 0, w(o, a, s);
364
+ }, ge = (e, t) => {
365
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
366
+ }, X = (e, t) => {
367
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
368
+ e.$flags$ |= 512;
369
+ return;
370
+ }
371
+ return ge(e, e.$ancestorComponent$), He(() => nt(e, t));
372
+ }, nt = (e, t) => {
373
+ const s = e.$hostElement$, r = k("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
374
+ if (!n)
375
+ throw new Error(
376
+ `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`
377
+ );
378
+ let o;
379
+ return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([a, i]) => B(n, a, i)), e.$queuedListeners$ = void 0), o = B(n, "componentWillLoad")), r(), at(o, () => it(e, n, t));
380
+ }, at = (e, t) => lt(e) ? e.then(t).catch((s) => {
381
+ console.error(s), t();
382
+ }) : t(), lt = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", it = (e, t, s) => P(void 0, null, function* () {
383
+ var r;
384
+ const n = e.$hostElement$, o = k("update", e.$cmpMeta$.$tagName$), a = n["s-rc"];
385
+ s && Ve(e);
386
+ const i = k("render", e.$cmpMeta$.$tagName$);
387
+ ot(e, t, n, s), a && (a.map((l) => l()), n["s-rc"] = void 0), i(), o();
388
+ {
389
+ const l = (r = n["s-p"]) != null ? r : [], $ = () => $t(e);
390
+ l.length === 0 ? $() : (Promise.all(l).then($), e.$flags$ |= 4, l.length = 0);
391
+ }
392
+ }), ot = (e, t, s, r) => {
393
+ try {
394
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, rt(e, t, r);
395
+ } catch (n) {
396
+ L(n, e.$hostElement$);
397
+ }
398
+ return null;
399
+ }, $t = (e) => {
400
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = k("postUpdate", t), n = e.$lazyInstance$, o = e.$ancestorComponent$;
401
+ B(n, "componentDidRender"), e.$flags$ & 64 ? r() : (e.$flags$ |= 64, me(s), r(), e.$onReadyResolve$(s), o || ye()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && R(() => X(e, !1)), e.$flags$ &= -517;
402
+ }, ye = (e) => {
403
+ me(m.documentElement), R(() => Je(x, "appload", { detail: { namespace: xe } }));
404
+ }, B = (e, t, s) => {
405
+ if (e && e[t])
406
+ try {
407
+ return e[t](s);
408
+ } catch (r) {
409
+ L(r);
410
+ }
411
+ }, me = (e) => {
412
+ var t;
413
+ return e.classList.add((t = j.hydratedSelectorName) != null ? t : "hydrated");
414
+ }, ct = (e, t) => b(e).$instanceValues$.get(t), ft = (e, t, s, r) => {
415
+ const n = b(e);
416
+ if (!n)
417
+ throw new Error(
418
+ `Couldn't find host element for "${r.$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).`
419
+ );
420
+ const o = n.$hostElement$, a = n.$instanceValues$.get(t), i = n.$flags$, l = n.$lazyInstance$;
421
+ s = Ye(s, r.$members$[t][0]);
422
+ const $ = Number.isNaN(a) && Number.isNaN(s), c = s !== a && !$;
423
+ if ((!(i & 8) || a === void 0) && c && (n.$instanceValues$.set(t, s), l)) {
424
+ if (r.$watchers$ && i & 128) {
425
+ const f = r.$watchers$[t];
426
+ f && f.map((u) => {
427
+ try {
428
+ l[u](s, a, t);
429
+ } catch (d) {
430
+ L(d, o);
431
+ }
432
+ });
433
+ }
434
+ (i & 18) === 2 && X(n, !1);
435
+ }
436
+ }, Se = (e, t, s) => {
437
+ var r, n;
438
+ const o = e.prototype;
439
+ if (t.$members$ || t.$watchers$ || e.watchers) {
440
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
441
+ const a = Object.entries((r = t.$members$) != null ? r : {});
442
+ if (a.map(([i, [l]]) => {
443
+ (l & 31 || s & 2 && l & 32) && Object.defineProperty(o, i, {
444
+ get() {
445
+ return ct(this, i);
446
+ },
447
+ set($) {
448
+ ft(this, i, $, t);
449
+ },
450
+ configurable: !0,
451
+ enumerable: !0
452
+ });
453
+ }), s & 1) {
454
+ const i = /* @__PURE__ */ new Map();
455
+ o.attributeChangedCallback = function(l, $, c) {
456
+ p.jmp(() => {
457
+ var f;
458
+ const u = i.get(l);
459
+ if (this.hasOwnProperty(u))
460
+ c = this[u], delete this[u];
461
+ else {
462
+ if (o.hasOwnProperty(u) && typeof this[u] == "number" && // cast type to number to avoid TS compiler issues
463
+ this[u] == c)
464
+ return;
465
+ if (u == null) {
466
+ const d = b(this), v = d == null ? void 0 : d.$flags$;
467
+ if (v && !(v & 8) && v & 128 && c !== $) {
468
+ const h = d.$lazyInstance$, S = (f = t.$watchers$) == null ? void 0 : f[l];
469
+ S == null || S.forEach((g) => {
470
+ h[g] != null && h[g].call(h, c, $, l);
471
+ });
472
+ }
473
+ return;
474
+ }
475
+ }
476
+ this[u] = c === null && typeof this[u] == "boolean" ? !1 : c;
477
+ });
478
+ }, e.observedAttributes = Array.from(
479
+ /* @__PURE__ */ new Set([
480
+ ...Object.keys((n = t.$watchers$) != null ? n : {}),
481
+ ...a.filter(
482
+ ([l, $]) => $[0] & 15
483
+ /* HasAttribute */
484
+ ).map(([l, $]) => {
485
+ var c;
486
+ const f = $[1] || l;
487
+ return i.set(f, l), $[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([l, f])), f;
488
+ })
489
+ ])
490
+ );
491
+ }
492
+ }
493
+ return e;
494
+ }, ut = (e, t, s, r) => P(void 0, null, function* () {
495
+ let n;
496
+ if (!(t.$flags$ & 32)) {
497
+ if (t.$flags$ |= 32, s.$lazyBundleId$) {
498
+ const l = Oe(s);
499
+ if (l && "then" in l) {
500
+ const c = Me();
501
+ n = yield l, c();
502
+ } else
503
+ n = l;
504
+ if (!n)
505
+ throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
506
+ n.isProxied || (s.$watchers$ = n.watchers, Se(
507
+ n,
508
+ s,
509
+ 2
510
+ /* proxyState */
511
+ ), n.isProxied = !0);
512
+ const $ = k("createInstance", s.$tagName$);
513
+ t.$flags$ |= 8;
514
+ try {
515
+ new n(t);
516
+ } catch (c) {
517
+ L(c);
518
+ }
519
+ t.$flags$ &= -9, t.$flags$ |= 128, $();
520
+ } else {
521
+ n = e.constructor;
522
+ const l = e.localName;
523
+ customElements.whenDefined(l).then(
524
+ () => t.$flags$ |= 128
525
+ /* isWatchReady */
526
+ );
527
+ }
528
+ if (n && n.style) {
529
+ let l;
530
+ typeof n.style == "string" && (l = n.style);
531
+ const $ = ce(s);
532
+ if (!U.has($)) {
533
+ const c = k("registerStyles", s.$tagName$);
534
+ Ne($, l, !!(s.$flags$ & 1)), c();
535
+ }
536
+ }
537
+ }
538
+ const o = t.$ancestorComponent$, a = () => X(t, !0);
539
+ o && o["s-rc"] ? o["s-rc"].push(a) : a();
540
+ }), dt = (e) => {
541
+ }, vt = (e) => {
542
+ if (!(p.$flags$ & 1)) {
543
+ const t = b(e), s = t.$cmpMeta$, r = k("connectedCallback", s.$tagName$);
544
+ if (t.$flags$ & 1)
545
+ Ee(e, t, s.$listeners$), t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => dt());
546
+ else {
547
+ t.$flags$ |= 1;
548
+ {
549
+ let n = e;
550
+ for (; n = n.parentNode || n.host; )
551
+ if (n["s-p"]) {
552
+ ge(t, t.$ancestorComponent$ = n);
553
+ break;
554
+ }
555
+ }
556
+ s.$members$ && Object.entries(s.$members$).map(([n, [o]]) => {
557
+ if (o & 31 && e.hasOwnProperty(n)) {
558
+ const a = e[n];
559
+ delete e[n], e[n] = a;
560
+ }
561
+ }), ut(e, t, s);
562
+ }
563
+ r();
564
+ }
565
+ }, pt = (e) => {
566
+ }, ht = (e) => P(void 0, null, function* () {
567
+ if (!(p.$flags$ & 1)) {
568
+ const t = b(e);
569
+ t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => pt());
570
+ }
571
+ }), Lt = (e, t = {}) => {
572
+ var s;
573
+ const r = k(), n = [], o = t.exclude || [], a = x.customElements, i = m.head, l = /* @__PURE__ */ i.querySelector("meta[charset]"), $ = /* @__PURE__ */ m.createElement("style"), c = [];
574
+ let f, u = !0;
575
+ Object.assign(p, t), p.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
576
+ let d = !1;
577
+ if (e.map((v) => {
578
+ v[1].map((h) => {
579
+ var S;
580
+ const g = {
581
+ $flags$: h[0],
582
+ $tagName$: h[1],
583
+ $members$: h[2],
584
+ $listeners$: h[3]
585
+ };
586
+ g.$flags$ & 4 && (d = !0), g.$members$ = h[2], g.$listeners$ = h[3], g.$attrsToReflect$ = [], g.$watchers$ = (S = h[4]) != null ? S : {};
587
+ const T = g.$tagName$, ke = class extends HTMLElement {
588
+ // StencilLazyHost
589
+ constructor(E) {
590
+ if (super(E), this.hasRegisteredEventListeners = !1, E = this, Ae(E, g), g.$flags$ & 1) {
591
+ if (!E.shadowRoot)
592
+ E.attachShadow({ mode: "open" });
593
+ else if (E.shadowRoot.mode !== "open")
594
+ throw new Error(
595
+ `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
596
+ );
597
+ }
598
+ }
599
+ connectedCallback() {
600
+ const E = b(this);
601
+ this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, Ee(this, E, g.$listeners$)), f && (clearTimeout(f), f = null), u ? c.push(this) : p.jmp(() => vt(this));
602
+ }
603
+ disconnectedCallback() {
604
+ p.jmp(() => ht(this));
605
+ }
606
+ componentOnReady() {
607
+ return b(this).$onReadyPromise$;
608
+ }
609
+ };
610
+ g.$lazyBundleId$ = v[0], !o.includes(T) && !a.get(T) && (n.push(T), a.define(
611
+ T,
612
+ Se(
613
+ ke,
614
+ g,
615
+ 1
616
+ /* isElementConstructor */
617
+ )
618
+ ));
619
+ });
620
+ }), n.length > 0 && (d && ($.textContent += ae), $.textContent += n.sort() + _e, $.innerHTML.length)) {
621
+ $.setAttribute("data-styles", "");
622
+ const v = (s = p.$nonce$) != null ? s : ie(m);
623
+ v != null && $.setAttribute("nonce", v), i.insertBefore($, l ? l.nextSibling : i.firstChild);
624
+ }
625
+ u = !1, c.length ? c.map((v) => v.connectedCallback()) : p.jmp(() => f = setTimeout(ye, 30)), r();
626
+ }, Ee = (e, t, s, r) => {
627
+ s && s.map(([n, o, a]) => {
628
+ const i = yt(e, n), l = gt(t, a), $ = mt(n);
629
+ p.ael(i, o, l, $), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => p.rel(i, o, l, $));
630
+ });
631
+ }, gt = (e, t) => (s) => {
632
+ var r;
633
+ try {
634
+ e.$flags$ & 256 ? (r = e.$lazyInstance$) == null || r[t](s) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, s]);
635
+ } catch (n) {
636
+ L(n);
637
+ }
638
+ }, yt = (e, t) => t & 8 ? x : e, mt = (e) => je ? {
639
+ passive: (e & 1) !== 0,
640
+ capture: (e & 2) !== 0
641
+ } : (e & 2) !== 0;
642
+ export {
643
+ Xe as H,
644
+ bt as a,
645
+ Lt as b,
646
+ kt as g,
647
+ $e as h,
648
+ Ue as p,
649
+ Et as r
650
+ };