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