@everymatrix/lottery-program-wof 1.94.114 → 1.94.115

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